CVE-2026-125251 FFmpeg through 9.0.2 VVC Decoder Heap Out-of-Bounds Write via refs.c

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

What is CVE-2026-125251?

CVE-2026-125251 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 the VVC decoder alloc_frame() function in libavcodec/vvc/refs.c that undersizes the reference picture list allocation on 32-bit builds. Attackers can supply a crafted VVC (H.266) file with a very large number of NAL units per access unit to trigger heap out-of-bounds writes and corrupt memory.

Weakness: CWE-190

Which versions are affected by CVE-2026-125251?

How do I fix CVE-2026-125251?

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

Is CVE-2026-125251 being exploited?

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

Sources

Also known as GHSA-cpj2-27gm-mf52, UBUNTU-CVE-2026-125251.

Is CVE-2026-125251 in your software?

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

Check your SBOMs for free