FFmpeg through 9.0.2 contains an integer overflow vulnerability in hap_parse_frame_header() in libavcodec/hapdec.c that allows attackers to trigger a heap buffer overflow on 32-bit builds. Attackers can craft Hap video frames with Snappy length prefixes that wrap tex_size, causing decompress_chunks_thread() to write outside tex_buf and crash the application or potentially execute code.
{
"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-125222",
"id": "CVE-2026-125222",
"imported": "2026-12-02T20:13:53.429Z",
"modified": "2026-11-30T15:53:48.547Z",
"published": "2026-11-09T19:16:59.640Z",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-125222"
},
{
"html_url": "https://github.com/advisories/GHSA-hhqp-5v24-4hhg",
"id": "GHSA-hhqp-5v24-4hhg",
"imported": "2026-12-02T20:16:00.452Z",
"modified": "2026-11-09T21:32:06Z",
"published": "2026-11-09T21:31:59Z",
"url": "https://api.github.com/advisories/GHSA-hhqp-5v24-4hhg"
},
{
"affected": {
"FFMPEG:FFmpeg": [
"0 ≤9.0.2"
]
},
"html_url": "https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-120311",
"id": "EUVD-2026-120311",
"imported": "2026-12-02T20:13:54.771Z",
"modified": "2026-11-13T13:00:30Z",
"published": "2026-11-09T19:11:35Z",
"url": "https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-120311"
}
]
}