CVE-2026-125226
FFmpeg through 9.0.2 Excessive Memory Allocation via SBaGen Demuxer
6.8
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.
Affected products and versions
| Product / package | Ecosystem / vendor | Versions | Fixed in | Source |
|---|---|---|---|---|
| ffmpeg | ffmpeg | ≤9.0.2 | — | CVE.org |