{"id":"JLSEC-2026-2172","summary":"FFmpeg through 9.0.2 contains an integer overflow vulnerability in ff_prores_kostya_encode_init()...","details":"FFmpeg through 9.0.2 contains an integer overflow vulnerability in `ff_prores_kostya_encode_init()` that miscalculates `frame_size_upper_bound` using 32-bit arithmetic for large frame dimensions. Attackers can supply a high-resolution video transcoded with the `prores_ks` encoder, causing `encode_frame()` to write slices past an undersized packet buffer and corrupt heap memory.","modified":"2026-12-02T21:28:23.188347649Z","published":"2026-12-02T21:05:33.549Z","upstream":["CVE-2026-125259","EUVD-2026-120209","GHSA-pr5x-4ggj-w5wj"],"database_specific":{"license":"CC-BY-4.0","sources":[{"affected":{"ffmpeg:ffmpeg":["\u003c= 9.0.2"]},"id":"CVE-2026-125259","imported":"2026-12-02T20:13:53.533Z","modified":"2026-11-25T15:09:07.770Z","published":"2026-11-09T20:18:12.220Z","url":"https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-125259","html_url":"https://nvd.nist.gov/vuln/detail/CVE-2026-125259","database_specific":{"status":"Analyzed"}},{"imported":"2026-12-02T20:14:12.460Z","modified":"2026-11-09T21:32:06Z","published":"2026-11-09T21:32:05Z","url":"https://api.github.com/advisories/GHSA-pr5x-4ggj-w5wj","html_url":"https://github.com/advisories/GHSA-pr5x-4ggj-w5wj","id":"GHSA-pr5x-4ggj-w5wj"},{"url":"https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-120209","html_url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-120209","affected":{"FFMPEG:FFmpeg":["0 ≤9.0.2"]},"id":"EUVD-2026-120209","imported":"2026-12-02T20:13:54.808Z","modified":"2026-11-10T19:08:16Z","published":"2026-11-09T19:12:02Z"}]},"references":[{"type":"WEB","url":"https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25573"},{"type":"WEB","url":"https://github.com/FFmpeg/FFmpeg"},{"type":"WEB","url":"https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/proresenc_kostya_common.c#L286"},{"type":"WEB","url":"https://github.com/FFmpeg/FFmpeg/commit/439b452f9fe916a9f7d8788ab6afee8fac846b0b"},{"type":"WEB","url":"https://github.com/advisories/GHSA-pr5x-4ggj-w5wj"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-125259"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-heap-buffer-overflow-via-prores-prores-ks-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-2172.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-2172.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":"CNA"},{"type":"CVSS_V4","score":"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/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"}]}