Description
FFmpeg through 9.0.2 contains an uncontrolled memory allocation vulnerability in sbg_read_header() in libavformat/sbgdec.c that derives an unbounded default frame size from the script's sample rate. Attackers can supply a crafted SBaGen script declaring a very high -r sample rate so the wavesynth decoder allocates enormous audio frames, exhausting memory and causing denial of service.
Metrics
CVSS 3.1 5.5/10
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:HWeakness enumeration
Affected software
Source: the vendor's advisory (CNA). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| FFmpeg | FFmpeg | <= 9.0.2 |
References
- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25703
- https://github.com/FFmpeg/FFmpeg
- https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavformat/sbgdec.c#L1419
- https://github.com/FFmpeg/FFmpeg/commit/1f4b2e22cfba19f94489ec4a17130f4f0d5d8a0c
- https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-excessive-memory-allocation-via-sbagen-demuxer
Timeline
- Published
- Nov 9, 2026
- Last modified
- Nov 10, 2026
- NVD status
- Undergoing Analysis