---
title: "FFmpeg/FFmpeg: functions and files changed by CVE fixes"
url: https://radicalnotion.ai/fixes/ffmpeg/ffmpeg
type: fixes-repository
description: "244 CVE fixes in FFmpeg/FFmpeg changed 335 functions across 228 files."
updated: 2026-11-09
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# FFmpeg/FFmpeg: patched functions

- **CVEs with a located fix:** 244
- **Functions patched:** 335
- **Files patched:** 228
- **Diff hunks:** 1,098
- **Languages:** c, assembly
- **Rank by CVE fixes:** 8 of 12,140
- **First fix:** 2011-05-20
- **Latest fix:** 2026-11-09
- **Repository:** [https://github.com/FFmpeg/FFmpeg](https://github.com/FFmpeg/FFmpeg)

## Typical fix size

- Median lines changed per fix: 5
- Fixes touching a single function: 77%
- Fixes under 20 changed lines: 84%

## Most-patched functions

| Function | File | CVEs | Patches | Last fixed |
| --- | --- | --- | --- | --- |
| [flic\_decode\_frame\_15\_16BPP](https://radicalnotion.ai/fixes/ffmpeg/ffmpeg/flic_decode_frame_15_16BPP) | libavcodec/flicvideo.c | 2 | 4 | 2026-11-09 |
| [ff\_mjpeg\_decode\_sof](https://radicalnotion.ai/fixes/ffmpeg/ffmpeg/ff_mjpeg_decode_sof) | libavcodec/mjpegdec.c | 3 | 3 | 2026-11-09 |
| [libxevd\_receive\_frame](https://radicalnotion.ai/fixes/ffmpeg/ffmpeg/libxevd_receive_frame) | libavcodec/libxevd.c | 3 | 3 | 2026-11-09 |
| [parse\_playlist](https://radicalnotion.ai/fixes/ffmpeg/ffmpeg/parse_playlist) | libavformat/hls.c | 3 | 3 | 2026-10-08 |
| [ff\_mpeg4\_decode\_picture\_header](https://radicalnotion.ai/fixes/ffmpeg/ffmpeg/ff_mpeg4_decode_picture_header) | libavcodec/mpeg4videodec.c | 3 | 3 | 2018-07-05 |
| [read\_header](https://radicalnotion.ai/fixes/ffmpeg/ffmpeg/read_header) | libavcodec/ffv1dec.c | 3 | 3 | 2017-11-06 |
| [ape\_decode\_frame](https://radicalnotion.ai/fixes/ffmpeg/ffmpeg/ape_decode_frame) | libavcodec/apedec.c | 2 | 3 | 2026-11-09 |
| [decode\_frame](https://radicalnotion.ai/fixes/ffmpeg/ffmpeg/decode_frame) | libavcodec/exr.c | 2 | 3 | 2026-11-09 |
| [handle\_eac3](https://radicalnotion.ai/fixes/ffmpeg/ffmpeg/handle_eac3) | libavformat/movenc.c | 2 | 3 | 2018-07-05 |
| [ff\_mjpeg\_decode\_frame\_from\_buf](https://radicalnotion.ai/fixes/ffmpeg/ffmpeg/ff_mjpeg_decode_frame_from_buf) | libavcodec/mjpegdec.c | 2 | 2 | 2026-11-09 |
| [ff\_mjpeg\_decode\_end](https://radicalnotion.ai/fixes/ffmpeg/ffmpeg/ff_mjpeg_decode_end) | libavcodec/mjpegdec.c | 2 | 2 | 2026-11-09 |
| [alloc\_frame](https://radicalnotion.ai/fixes/ffmpeg/ffmpeg/alloc_frame) | libavcodec/vvc/refs.c | 2 | 2 | 2026-11-09 |
| [vp9\_decode\_frame](https://radicalnotion.ai/fixes/ffmpeg/ffmpeg/vp9_decode_frame) | libavcodec/vp9.c | 2 | 2 | 2026-11-09 |
| [cook\_decode\_init](https://radicalnotion.ai/fixes/ffmpeg/ffmpeg/cook_decode_init) | libavcodec/cook.c | 2 | 2 | 2026-11-09 |
| [vqa\_decode\_init](https://radicalnotion.ai/fixes/ffmpeg/ffmpeg/vqa_decode_init) | libavcodec/vqavideo.c | 2 | 2 | 2026-11-09 |

## Most-patched files

| File | CVEs | Functions |
| --- | --- | --- |
| libavformat/hls.c | 5 | 6 |
| libavcodec/mpeg4videodec.c | 5 | 5 |
| libavcodec/jpeg2000dec.c | 5 | 4 |
| libavcodec/g2meet.c | 4 | 3 |
| libavcodec/vvc/refs.c | 4 | 3 |
| libavformat/movenc.c | 4 | 3 |
| libavcodec/mjpegdec.c | 3 | 4 |
| libavcodec/cbs\_jpeg.c | 3 | 3 |
| libavcodec/flashsv.c | 3 | 3 |
| libavcodec/jpegxl\_parser.c | 3 | 3 |

## Latest CVE fixes

| CVE | Title | Severity | CVSS | CISA KEV | Functions changed | Published |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2026-125270 | FFmpeg through 9.0.2 Heap Out-of-Bounds Read in V4L2 M2M Encoder | medium | 5.8 | No | v4l2\_buffer\_swframe\_to\_single\_buffer, v4l2\_buffer\_swframe\_to\_buf | 2026-11-09 |
| CVE-2026-125269 | FFmpeg through 9.0.2 Double Free via cbs\_sei\_delete\_message in cbs\_sei.c | high | 7.3 | No | ff\_cbs\_sei\_list\_add | 2026-11-09 |
| CVE-2026-125268 | FFmpeg through 9.0.2 Uninitialized Heap Memory Disclosure in CFHD Decoder | medium | 4.8 | No | alloc\_buffers | 2026-11-09 |
| CVE-2026-125267 | FFmpeg before 8.1.3 and 9.x before 9.0.2 Heap Out-of-Bounds Write via APAC Decoder | high | 8.5 | No | apac\_decode | 2026-11-09 |
| CVE-2026-125266 | FFmpeg through 9.0.2 Uninitialized Stack Memory Disclosure via SANM Codec 23 | medium | 4.8 | No | old\_codec23 | 2026-11-09 |
| CVE-2026-125265 | FFmpeg through 9.0.2 Use-After-Free via NVDEC Stale Bitstream Pointer | medium | 5.8 | No | ff\_nvdec\_start\_frame | 2026-11-09 |
| CVE-2026-125264 | FFmpeg through 9.0.2 CPU Exhaustion via JPEG XL Parser TOC Count | medium | 6.8 | No | parse\_frame\_header | 2026-11-09 |
| CVE-2026-125263 | FFmpeg 9.0 through 9.0.2 Memory Exhaustion via LCEVC Enhancement Dimensions | medium | 5.7 | No | lcevc\_parse\_frame | 2026-11-09 |
| CVE-2026-125262 | FFmpeg through 9.0.2 Heap Buffer Overflow via LCEVC Enhancement Decoding | high | 8.5 | No | lcevc\_send\_frame, alloc\_base\_frame | 2026-11-09 |
| CVE-2026-125261 | FFmpeg through 9.0.2 SGI Encoder Out-of-Bounds Read via sgienc.c | medium | 6.9 | No | encode\_frame | 2026-11-09 |
| CVE-2026-125259 | FFmpeg through 9.0.2 Heap Buffer Overflow via ProRes prores\_ks Encoder | high | 8.5 | No | ff\_prores\_kostya\_encode\_init, encode\_frame, ProresContext | 2026-11-09 |
| CVE-2026-125258 | FFmpeg through 9.0.2 Division by Zero via dovi\_configure\_ext() in dovi\_rpuenc.c | medium | 5.7 | No | dovi\_configure\_ext | 2026-11-09 |

## Frequently asked questions

### How many CVEs have a located fix in FFmpeg/FFmpeg?

244 published CVEs have a fix traced to functions in FFmpeg/FFmpeg, touching 335 functions across 228 files.

### Which function in FFmpeg/FFmpeg has been patched most often?

flic\_decode\_frame\_15\_16BPP in libavcodec/flicvideo.c has been changed by 4 distinct patches, fixing 2 CVEs, from 2026 to 2026.

### How large is a typical CVE fix in FFmpeg/FFmpeg?

The median fix changes 5 lines. 84% of fixes change 20 lines or fewer, and 77% change a single function.

### How is a fix located to a function?

The upstream fix commit for each CVE is fetched and its diff is split into hunks. Each hunk is attributed to the function, method or type it changes, using the definition the diff itself names. Backports of the same fix to stable branches are counted once.

## Similar repositories

- [zephyrproject-rtos/zephyr](https://radicalnotion.ai/fixes/zephyrproject-rtos/zephyr) (250 CVEs)
- [moodle/moodle](https://radicalnotion.ai/fixes/moodle/moodle) (259 CVEs)
- [gpac/gpac](https://radicalnotion.ai/fixes/gpac/gpac) (229 CVEs)
- [chakra-core/ChakraCore](https://radicalnotion.ai/fixes/chakra-core/chakracore) (225 CVEs)
- [apache/airflow](https://radicalnotion.ai/fixes/apache/airflow) (224 CVEs)
- [vim/vim](https://radicalnotion.ai/fixes/vim/vim) (222 CVEs)
- [go-gitea/gitea](https://radicalnotion.ai/fixes/go-gitea/gitea) (217 CVEs)
- [android.googlesource.com/platform-frameworks-av](https://radicalnotion.ai/fixes/android.googlesource.com/platform-frameworks-av) (176 CVEs)

---

Source: [RadicalNotion.AI](https://radicalnotion.ai/fixes/ffmpeg/ffmpeg). Licensed CC BY-NC 4.0; attribute RadicalNotion.AI and link the source page when you reuse this data.
