CVE-2026-125226
published medium CVSS 4.0 · 6.8FFmpeg through 9.0.2 Excessive Memory Allocation via SBaGen Demuxer
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| FFmpeg | — | FFmpeg0 through 9.0.2 · Other versions: unaffected | Affected | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.8 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.5 | medium | VulnCheck · cna | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| FFmpeg | FFmpeg | 0 through 9.0.2 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-789 Memory Allocation with Excessive Size Value
References
5- 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
- Patch Commit https://github.com/FFmpeg/FFmpeg/commit/1f4b2e22cfba19f94489ec4a17130f4f0d5d8a0c
- VulnCheck Advisory: FFmpeg through 9.0.2 Excessive Memory Allocation via SBaGen Demuxer https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-excessive-memory-allocation-via-sbagen-demuxer
Provider assertions
2VulnCheck · cna
FFmpeg through 9.0.2 Excessive Memory Allocation via SBaGen Demuxer
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- a440aa5a0eba1b72bf81f0c4296d8cc129a6a4fd4b42467cd250bbac2bf14e10
- Ingested
- 09 Nov 2026, 21:16:38 UTC
- Source record
- Official CVE record