CVE-2026-125222 FFmpeg through 9.0.2 Heap Buffer Overflow via hap_parse_frame_header()

High 7.3 Published Updated
Exploited in the wild
Not known
Fix
None listed

What is CVE-2026-125222?

CVE-2026-125222 is a high-severity vulnerability in FFmpeg, published on 9 Nov 2026.

Official 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.

Weakness: CWE-190

Which versions are affected by CVE-2026-125222?

How do I fix CVE-2026-125222?

No fix has been published for CVE-2026-125222 yet. Limit exposure of the affected software until one is available.

Is CVE-2026-125222 being exploited?

There is no known exploitation of CVE-2026-125222 in the wild and no public exploit code.

Sources

Also known as GHSA-hhqp-5v24-4hhg, UBUNTU-CVE-2026-125222.

Is CVE-2026-125222 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free