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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*
cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*

History

30 Nov 2026, 15:48

Type Values Removed Values Added
CPE cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*
First Time Ffmpeg ffmpeg
Ffmpeg
References () https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24392 - () https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24392 - Issue Tracking, Patch
References () https://github.com/FFmpeg/FFmpeg - () https://github.com/FFmpeg/FFmpeg - Product
References () https://github.com/FFmpeg/FFmpeg/blob/n9.0.1/libavcodec/vorbisenc.c#L915 - () https://github.com/FFmpeg/FFmpeg/blob/n9.0.1/libavcodec/vorbisenc.c#L915 - Patch
References () https://github.com/FFmpeg/FFmpeg/commit/e33548ad13fd3495466a651792e8206b1c6f7fd7 - () https://github.com/FFmpeg/FFmpeg/commit/e33548ad13fd3495466a651792e8206b1c6f7fd7 - Patch
References () https://www.vulncheck.com/advisories/ffmpeg-before-8.1.3-and-9-x-before-9.0.2-out-of-bounds-read-in-vorbis-encoder - () https://www.vulncheck.com/advisories/ffmpeg-before-8.1.3-and-9-x-before-9.0.2-out-of-bounds-read-in-vorbis-encoder - Third Party Advisory

09 Nov 2026, 19:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-11-09 19:17

Updated : 2026-11-30 15:48


NVD link : CVE-2026-125228

Mitre link : CVE-2026-125228

CVE.ORG link : CVE-2026-125228


JSON object : View

Products Affected

ffmpeg

  • ffmpeg
CWE
CWE-125

Out-of-bounds Read