CVE-2026-125228
FFmpeg before 8.1.3 and 9.x before 9.0.2 contains an out-of-bounds …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24392
- github.com/FFmpeg/FFmpeg
- github.com/FFmpeg/FFmpeg/blob/n9.0.1/libavcodec/vorbisenc.c#L915
- github.com/FFmpeg/FFmpeg/commit/e33548ad13fd3495466a651792e8206b1c6f7fd7
- www.vulncheck.com/advisories/ffmpeg-before-8.1.3-and-9-x-before-9.0.2-out-of-bounds-read-i
- nvd.nist.gov/vuln/detail/CVE-2026-125228
- cve.org/CVERecord?id=CVE-2026-125228
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.