CVE-2026-125228

NameCVE-2026-125228
DescriptionFFmpeg 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
ffmpeg (PTS)bookworm, bookworm (security)7:5.1.9-0+deb12u1vulnerable
trixie (security), trixie7:7.1.5-0+deb13u1vulnerable
forky7:9.0.2-6fixed
sid7:9.1-3fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
ffmpegsource(unstable)7:9.0.2-1

Notes

[trixie] - ffmpeg <postponed> (Wait until fixed in 7.1.x upstream branch)
https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24392
https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/e33548ad13fd3495466a651792e8206b1c6f7fd7 (master)
https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/5726879312828736364cb1928440dab84c00f311 (n9.0.2)

Search for package or bug name: Reporting problems