FFmpeg before 8.1.3 and 9.x before 9.0.2 contains a heap buffer overflow vulnerability in the DVD subtitle encoder that underestimates RLE output size for odd-width rectangles. Attackers can supply files with crafted bitmap subtitles that, when transcoded to the dvdsub encoder, write past the output buffer and corrupt heap memory.
{
"license": "CC-BY-4.0",
"sources": [
{
"affected": {
"ffmpeg:ffmpeg": [
"< 8.1.3",
">= 9.0, < 9.0.2"
]
},
"database_specific": {
"status": "Analyzed"
},
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-125209",
"id": "CVE-2026-125209",
"imported": "2026-12-02T20:13:53.417Z",
"modified": "2026-11-30T16:11:33.997Z",
"published": "2026-11-09T19:16:57.643Z",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-125209"
},
{
"html_url": "https://github.com/advisories/GHSA-w4mp-gp7g-4g8p",
"id": "GHSA-w4mp-gp7g-4g8p",
"imported": "2026-12-02T20:14:22.118Z",
"modified": "2026-11-09T21:32:05Z",
"published": "2026-11-09T21:31:57Z",
"url": "https://api.github.com/advisories/GHSA-w4mp-gp7g-4g8p"
},
{
"affected": {
"FFMPEG:FFmpeg": [
"0 <8.1.3",
"9.0 <9.0.2"
]
},
"html_url": "https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-120298",
"id": "EUVD-2026-120298",
"imported": "2026-12-02T20:13:54.754Z",
"modified": "2026-11-14T02:04:16Z",
"published": "2026-11-09T19:11:26Z",
"url": "https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-120298"
}
]
}