{"id":"CVE-2026-125209","state":"PUBLISHED","title":"FFmpeg before 8.1.3 and 9.x before 9.0.2 Heap Buffer Overflow via dvdsubenc.c","description":"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.","publishedAt":"2026-11-09T19:11:26.674Z","updatedAt":"2026-11-09T19:11:26.674Z","severity":{"score":8.5,"label":"High","version":"4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","source":"VulnCheck"},"assigner":"VulnCheck","products":["FFmpeg FFmpeg"],"affected":[{"vendor":"FFmpeg","product":"FFmpeg","packageURL":"pkg:github/ffmpeg/ffmpeg","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"8.1.3","versionType":"custom"},{"version":"9.0","status":"affected","lessThan":"9.0.2","versionType":"custom"}],"repo":"https://code.ffmpeg.org/FFmpeg/FFmpeg"}],"references":["https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24486","https://github.com/FFmpeg/FFmpeg/commit/8702f12c9daa199cc4d7c17164b13c3cdcdc2436","https://github.com/FFmpeg/FFmpeg/blob/n9.0.1/libavcodec/dvdsubenc.c#L344","https://github.com/FFmpeg/FFmpeg","https://www.vulncheck.com/advisories/ffmpeg-before-8.1.3-and-9-x-before-9.0.2-heap-buffer-overflow-via-dvdsubenc-c"],"weaknesses":["CWE-131"],"ingestedAt":"2026-11-09T19:14:06.399Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/125xxx/CVE-2026-125209.json","commit":"61d6df80db1b12b1399aa01bc455626e606d2471","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-125209","state":"PUBLISHED","datePublished":"2026-11-09T19:11:26.674Z","dateUpdated":"2026-11-09T19:11:26.674Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-11-09T18:15:15.250Z"},"containers":{"cna":{"title":"FFmpeg before 8.1.3 and 9.x before 9.0.2 Heap Buffer Overflow via dvdsubenc.c","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"FFmpeg","product":"FFmpeg","packageURL":"pkg:github/ffmpeg/ffmpeg","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"8.1.3","versionType":"custom"},{"version":"9.0","status":"affected","lessThan":"9.0.2","versionType":"custom"}],"repo":"https://code.ffmpeg.org/FFmpeg/FFmpeg"}],"references":[{"url":"https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24486","tags":["issue-tracking"]},{"url":"https://github.com/FFmpeg/FFmpeg/commit/8702f12c9daa199cc4d7c17164b13c3cdcdc2436","tags":["patch"],"name":"Patch Commit"},{"url":"https://github.com/FFmpeg/FFmpeg/blob/n9.0.1/libavcodec/dvdsubenc.c#L344","tags":["technical-description"]},{"url":"https://github.com/FFmpeg/FFmpeg","tags":["product"]},{"url":"https://www.vulncheck.com/advisories/ffmpeg-before-8.1.3-and-9-x-before-9.0.2-heap-buffer-overflow-via-dvdsubenc-c","name":"VulnCheck Advisory: FFmpeg before 8.1.3 and 9.x before 9.0.2 Heap Buffer Overflow via dvdsubenc.c","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","attackVector":"LOCAL","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"PASSIVE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":8.5,"baseSeverity":"HIGH"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":7.8,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-131","lang":"en","description":"Incorrect Calculation of Buffer Size","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-11-09T19:11:26.674Z"},"datePublic":"2026-09-14T00:00:00.000Z","cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*","versionEndExcluding":"8.1.3"},{"vulnerable":true,"criteria":"cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*","versionStartIncluding":"9.0","versionEndExcluding":"9.0.2"}]}]}],"credits":[{"lang":"en","value":"Zheng Yu @ Depthfirst","type":"finder"},{"lang":"en","value":"Joshua Rogers (AISLE Research)","type":"reporter"},{"lang":"en","value":"Michael Niedermayer","type":"remediation developer"}],"x_generator":{"engine":"vulncheck-endgame"}}}}}