{"id":"JLSEC-2026-2145","summary":"FFmpeg through 9.0.2 contains an uncontrolled memory allocation vulnerability in sbg_read_header(...","details":"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.","modified":"2026-12-02T21:28:27.057832671Z","published":"2026-12-02T21:05:33.549Z","upstream":["CVE-2026-125226","EUVD-2026-120176","GHSA-4rr8-hwwq-wfvq"],"database_specific":{"license":"CC-BY-4.0","sources":[{"url":"https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-125226","html_url":"https://nvd.nist.gov/vuln/detail/CVE-2026-125226","database_specific":{"status":"Analyzed"},"affected":{"ffmpeg:ffmpeg":["\u003c= 9.0.2"]},"id":"CVE-2026-125226","imported":"2026-12-02T20:13:53.433Z","modified":"2026-11-30T15:49:26.457Z","published":"2026-11-09T19:17:00.247Z"},{"html_url":"https://github.com/advisories/GHSA-4rr8-hwwq-wfvq","id":"GHSA-4rr8-hwwq-wfvq","imported":"2026-12-02T20:16:15.368Z","modified":"2026-11-09T21:32:06Z","published":"2026-11-09T21:31:59Z","url":"https://api.github.com/advisories/GHSA-4rr8-hwwq-wfvq"},{"imported":"2026-12-02T20:13:54.940Z","modified":"2026-11-09T21:06:54Z","published":"2026-11-09T19:11:39Z","url":"https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-120176","html_url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-120176","affected":{"FFMPEG:FFmpeg":["0 ≤9.0.2"]},"id":"EUVD-2026-120176"}]},"references":[{"type":"WEB","url":"https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25703"},{"type":"WEB","url":"https://github.com/FFmpeg/FFmpeg"},{"type":"WEB","url":"https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavformat/sbgdec.c#L1419"},{"type":"WEB","url":"https://github.com/FFmpeg/FFmpeg/commit/1f4b2e22cfba19f94489ec4a17130f4f0d5d8a0c"},{"type":"WEB","url":"https://github.com/advisories/GHSA-4rr8-hwwq-wfvq"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-125226"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-excessive-memory-allocation-via-sbagen-demuxer"}],"affected":[{"package":{"name":"FFMPEG_jll","ecosystem":"Julia","purl":"pkg:julia/FFMPEG_jll?uuid=b22a6f82-2f65-5046-a5b2-351ab43fb4e5"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"9.1.0+0"}]}],"database_specific":{"source":"https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2026/JLSEC-2026-2145.json"}},{"package":{"name":"FFMPEG_nogpl_jll","ecosystem":"Julia","purl":"pkg:julia/FFMPEG_nogpl_jll?uuid=a6892c6b-5768-548c-b024-ff8dabf482c5"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"9.1.0+0"}]}],"database_specific":{"source":"https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2026/JLSEC-2026-2145.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","source":"CNA"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","source":"CNA"}]}