CVE-2026-125209: FFmpeg · Incorrect Calculation of Buffer Size
Affects FFmpegSource CVE Database V5
Not known to be exploited · CVSS 8.5 High : upgrade to 9.0.2 or 8.1.3 soon.
Data as of 9 Nov 2026, 20:21 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 8.5 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 7.8 |
- Patch
- Available – fixed in 9.0.2, 8.1.3
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 9 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 9 Nov 2026.
What to do
Upgrade FFmpeg to 9.0.2 or 8.1.3.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| FFmpegFFmpeg | Affected
| Fixed in
|
| FFmpegFFmpeg | Affected
| Fixed in
|
GitHubFFmpegpkg:github/FFmpegOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Apply the official patches by upgrading FFmpeg to version 8.1.3 or later, or 9.0.2 or later, where this vulnerability is fixed. No other mitigations are specified or required.
Description
CVE-2026-125209 is a heap buffer overflow vulnerability in FFmpeg's DVD subtitle encoder affecting versions before 8.1.3 and 9.x before 9.0.2. The flaw arises from incorrect calculation of the run-length encoding (RLE) output size for odd-width rectangles, allowing crafted bitmap subtitles to cause heap memory corruption during transcoding.
References
- code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24486 (opens in a new tab)
- github.com/FFmpeg/FFmpeg/commit/8702f12c9daa199cc4d7c17164b13c3cdcdc2436 (opens in a new tab)
- github.com/FFmpeg/FFmpeg/blob/n9.0.1/libavcodec/dvdsubenc.c (opens in a new tab)
- github.com/FFmpeg/FFmpeg (opens in a new tab)
- vulncheck.com/advisories/ffmpeg-before-8.1.3-and-9-x-before-9.0.2-heap-buffer-overflow-via-dvdsubenc-c (opens in a new tab)