CVE-2026-125222
FFmpeg through 9.0.2 contains an integer overflow vulnerability in …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25702
- github.com/FFmpeg/FFmpeg
- github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/hapdec.c#L215
- github.com/FFmpeg/FFmpeg/commit/62c308e0416bb701447817fe6f0bff074d206215
- www.vulncheck.com/advisories/ffmpeg-through-9.0.2-heap-buffer-overflow-via-hap-parse-frame
- nvd.nist.gov/vuln/detail/CVE-2026-125222
- cve.org/CVERecord?id=CVE-2026-125222
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.