Out-of-bounds Read in Ffmpeg

CVE-2026-125228

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.

Vulnerability class: Buffer Overflow

Published .

CVSS v3 metric

CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:H.

EPSS exploit prediction

No EPSS score from FIRST.org yet. New CVEs usually get one within a few days; no score means no signal yet, not low risk. How EPSS works.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-125228?
CVE-2026-125228 is a medium-severity vulnerability in Ffmpeg, classified under Out-of-bounds Read. CVSS score: 5.3/10. Published 2026-11-09.
How severe is CVE-2026-125228?
Medium severity. CVSS v3 base score is 5.3 out of 10.