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.
{
"license": "CC-BY-4.0",
"sources": [
{
"affected": {
"ffmpeg:ffmpeg": [
"<= 9.0.2"
]
},
"database_specific": {
"status": "Analyzed"
},
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-125259",
"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://github.com/advisories/GHSA-pr5x-4ggj-w5wj",
"id": "GHSA-pr5x-4ggj-w5wj",
"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"
},
{
"affected": {
"FFMPEG:FFmpeg": [
"0 ≤9.0.2"
]
},
"html_url": "https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-120209",
"id": "EUVD-2026-120209",
"imported": "2026-12-02T20:13:54.808Z",
"modified": "2026-11-10T19:08:16Z",
"published": "2026-11-09T19:12:02Z",
"url": "https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-120209"
}
]
}