CVE-2026-125228 FFmpeg before 8.1.3 and 9.x before 9.0.2 Out-of-Bounds Read in Vorbis Encoder

Medium 5.8 Published Updated
Exploited in the wild
Not known
Fix
None listed

What is CVE-2026-125228?

CVE-2026-125228 is a medium-severity vulnerability in FFmpeg, published on 9 Nov 2026.

Official description

FFmpeg before 8.1.3 and 9.x before 9.0.2 contains an out-of-bounds read vulnerability in put_vector() in libavcodec/vorbisenc.c when NaN samples leave the codebook entry at -1. Attackers can supply audio with NaN float samples to the native Vorbis encoder, causing heap reads before arrays that crash the application or leak adjacent heap memory into output.

Weakness: CWE-125

Which versions are affected by CVE-2026-125228?

How do I fix CVE-2026-125228?

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

Is CVE-2026-125228 being exploited?

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

Sources

Also known as GHSA-fcxc-3rc8-vgxj, UBUNTU-CVE-2026-125228.

Is CVE-2026-125228 in your software?

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

Check your SBOMs for free