CVE-2026-125228

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

Medium published · updated

5.8
CVSS score out of 10 · NVD (vulncheck.com)

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.

Affected products and versions

Product / packageEcosystem / vendorVersionsFixed inSource
ffmpeg ffmpeg 0 → <8.1.3; 9.0 → <9.0.29.0.2 CVE.org

References