{"id":"JLSEC-2026-2131","summary":"FFmpeg through 9.0.2 contains a heap buffer overflow vulnerability in libavcodec/videotoolboxenc...","details":"FFmpeg through 9.0.2 contains a heap buffer overflow vulnerability in `libavcodec/videotoolboxenc.c` that copies frames larger than encoder dimensions into undersized CVPixelBuffers. Attackers can supply crafted input whose resolution grows mid-stream, transcoded with VideoToolbox encoders without rescaling, to crash the application or corrupt memory.","modified":"2026-12-02T21:28:25.849440274Z","published":"2026-12-02T21:05:33.549Z","upstream":["CVE-2026-125212","EUVD-2026-120301","GHSA-pcv3-vw2j-h73r"],"database_specific":{"license":"CC-BY-4.0","sources":[{"id":"CVE-2026-125212","imported":"2026-12-02T20:13:53.419Z","modified":"2026-11-30T15:24:26.563Z","published":"2026-11-09T19:16:58.100Z","url":"https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-125212","html_url":"https://nvd.nist.gov/vuln/detail/CVE-2026-125212","database_specific":{"status":"Analyzed"},"affected":{"ffmpeg:ffmpeg":["\u003c= 9.0.2"]}},{"published":"2026-11-09T21:31:57Z","url":"https://api.github.com/advisories/GHSA-pcv3-vw2j-h73r","html_url":"https://github.com/advisories/GHSA-pcv3-vw2j-h73r","id":"GHSA-pcv3-vw2j-h73r","imported":"2026-12-02T20:16:39.843Z","modified":"2026-11-09T21:32:05Z"},{"html_url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-120301","affected":{"FFMPEG:FFmpeg":["0 ≤9.0.2"]},"id":"EUVD-2026-120301","imported":"2026-12-02T20:13:54.820Z","modified":"2026-11-10T16:04:40Z","published":"2026-11-09T19:11:28Z","url":"https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-120301"}]},"references":[{"type":"WEB","url":"https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25682"},{"type":"WEB","url":"https://github.com/FFmpeg/FFmpeg"},{"type":"WEB","url":"https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/videotoolboxenc.c#L2360"},{"type":"WEB","url":"https://github.com/FFmpeg/FFmpeg/commit/9b99973b2bbecee0b7e1e57035b95498b42f54a6"},{"type":"WEB","url":"https://github.com/advisories/GHSA-pcv3-vw2j-h73r"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-125212"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-heap-buffer-overflow-via-videotoolbox-encoder"}],"affected":[{"package":{"name":"FFMPEG_jll","ecosystem":"Julia","purl":"pkg:julia/FFMPEG_jll?uuid=b22a6f82-2f65-5046-a5b2-351ab43fb4e5"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"9.1.0+0"}]}],"database_specific":{"source":"https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2026/JLSEC-2026-2131.json"}},{"package":{"name":"FFMPEG_nogpl_jll","ecosystem":"Julia","purl":"pkg:julia/FFMPEG_nogpl_jll?uuid=a6892c6b-5768-548c-b024-ff8dabf482c5"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"9.1.0+0"}]}],"database_specific":{"source":"https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2026/JLSEC-2026-2131.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"NVD"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","source":"CNA"}]}