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.
Metrics
CVSS 3.1 5.3/10
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| FFmpeg | FFmpeg | < 8.1.3; >= 9.0, < 9.0.2 |
References
- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24392Issue Tracking, Patch
- https://github.com/FFmpeg/FFmpegProduct
- https://github.com/FFmpeg/FFmpeg/blob/n9.0.1/libavcodec/vorbisenc.c#L915Patch
- https://github.com/FFmpeg/FFmpeg/commit/e33548ad13fd3495466a651792e8206b1c6f7fd7Patch
- https://www.vulncheck.com/advisories/ffmpeg-before-8.1.3-and-9-x-before-9.0.2-out-of-bounds-read-in-vorbis-encoderThird Party Advisory
Timeline
- Published
- Nov 9, 2026
- Last modified
- Nov 30, 2026
- NVD status
- Analyzed