{"id":"CVE-2026-125226","published":"2026-11-09T19:11:39Z","modified":"2026-11-09T21:06:54Z","title":"FFmpeg through 9.0.2 Excessive Memory Allocation via SBaGen Demuxer","vendor":"FFmpeg","product":"FFmpeg","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00165,"percentile":0.05781,"provenance":"source"},"cwes":[{"id":"CWE-789","name":"Memory Allocation with Excessive Size Value"}],"references":[{"url":"https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25703","tags":["issue-tracking"]},{"url":"https://github.com/FFmpeg/FFmpeg/commit/1f4b2e22cfba19f94489ec4a17130f4f0d5d8a0c","tags":["patch"]},{"url":"https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavformat/sbgdec.c#L1419","tags":["technical-description"]},{"url":"https://github.com/FFmpeg/FFmpeg","tags":["product"]},{"url":"https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-excessive-memory-allocation-via-sbagen-demuxer","tags":["third-party-advisory"]}],"priority":{"score":5.0,"factors":[{"name":"EPSS percentile","points":1.16},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"ffmpeg","affectedVersions":[{"vendor":"FFmpeg","product":"FFmpeg","versions":["<= 9.0.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-11-09T20:58:28.536933Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-120176","exploited":false,"provenance":"source"}}