{"id":"CVE-2026-125222","published":"2026-11-09T19:16:59.640","lastModified":"2026-11-10T21:46:30.220","description":"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.","cvssScore":7,"cvssSeverity":"HIGH","cvssVector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","cwes":["CWE-190"],"vendors":[],"products":[],"references":[{"url":"https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25702","tags":[]},{"url":"https://github.com/FFmpeg/FFmpeg","tags":[]},{"url":"https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/hapdec.c#L215","tags":[]},{"url":"https://github.com/FFmpeg/FFmpeg/commit/62c308e0416bb701447817fe6f0bff074d206215","tags":[]},{"url":"https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-heap-buffer-overflow-via-hap-parse-frame-header","tags":[]}],"exploitRefs":[{"url":"https://github.com/FFmpeg/FFmpeg","tags":[]},{"url":"https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/hapdec.c#L215","tags":[]},{"url":"https://github.com/FFmpeg/FFmpeg/commit/62c308e0416bb701447817fe6f0bff074d206215","tags":[]}],"hasPoc":true,"ai":null}