Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft SBaGen .sbg script with huge -r sample rate
-
ExploitVictim or pipeline processes file via FFmpeg
-
Executionsbg_read_header derives unbounded frame size
-
Impactwavesynth allocates enormous frames, memory exhausted (DoS)
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory allocation limits
|
| Exploitation Conditions | Exploitation requires FFmpeg/libavformat to parse an attacker-controlled SBaGen script file (.sbg) through the sbg demuxer, where the script declares an abnormally high '-r' sample rate; sbg_read_header() then derives an unbounded frame size that the wavesynth decoder uses to allocate oversized audio frames. The CVSS 4.0 vector's UI:P means a victim or an automated workflow must actually open/process the malicious file, and AV:L means the file is handled locally - there is no network-service listener exposed by this flaw. Limiting factors: the attack reaches only deployments that feed untrusted .sbg input to FFmpeg (a niche, rarely-enabled format), no authentication is bypassed but no privileges are needed either (PR:N), and the impact is confined to availability (memory-exhaustion DoS) with no confidentiality, integrity, or code-execution consequence. |
| Impact | This is a moderate-severity, availability-only issue, not an emergency. The supplied CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H, base 6.8) tells a consistent story: the vulnerable system's availability can be fully lost (VA:H) but there is no confidentiality or integrity impact (VC:N/VI:N), the attack vector is local (AV:L), and passive user interaction is required (UI:P) - i.e. a victim or application must process an attacker-supplied file. The vuln.today decision label is 'this_month' (not act_now/emergency), which aligns with the DoS-only impact. No CISA KEV listing is present, no EPSS score was provided in the input, and the references contain only the upstream fix commit, the source line, the FFmpeg repo, a pull request, and the VulnCheck advisory - none is a working PoC/exploit reference, so this is best treated as 'no public exploit identified at time of analysis.' The one cross-signal tension worth flagging: FFmpeg itself is ubiquitous, but the affected code path (the SBaGen/wavesynth demuxer) is a rarely-used format, so real-world reachability depends entirely on whether a deployment feeds untrusted .sbg input to libavformat - verify this against your actual pipeline rather than assuming the ubiquity of FFmpeg equals ubiquity of exposure. Net: a legitimate patch-this-month item for systems that process untrusted media, not a drop-everything critical. |
| Exploit ScenarioDerived | An attacker crafts a malicious SBaGen script (.sbg) that declares a very high '-r' sample rate and gets a victim or an automated media pipeline to process it with FFmpeg. During sbg_read_header(), FFmpeg derives an unbounded default frame size from that sample rate, so the wavesynth decoder attempts to allocate enormous audio frames and exhausts memory, causing denial of service. No public working exploit code is identified in the provided data, though the fixing commit and the trivial trigger (a single oversized -r value) make the mechanism straightforward. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 09, 2026
Denial of service in FFmpeg through 9.0.2 occurs when the sbg demuxer parses a crafted SBaGen script that declares an excessive -r sample rate; sbg_read_header() derives an unbounded frame size and the wavesynth decoder allocates oversized audio frames until memory is exhausted. The issue is local and user-assisted: a victim or automated workflow must open or process the malicious .sbg file, and impact is availability-only with no confidentiality, integrity, or code-execution consequence. It is a moderate-severity issue, not an emergency, and no public exploit was identified at time of analysis.
RemediationAI
Apply upstream fix commit 1f4b2e22cfba19f94489ec4a17130f4f0d5d8a0c, which clips the derived frame size to the range 1-19200, or use a vendor build that includes that change; a released patched FFmpeg version was not independently confirmed, so confirm the first fixed release via https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25703 and the advisory. Until then, prevent untrusted .sbg SBaGen scripts from reaching FFmpeg's sbg demuxer-process only trusted scripts or disable that demuxer in deployments that do not need SBaGen support, accepting that .sbg handling is lost. Additionally, run FFmpeg jobs that process untrusted media under memory limits such as ulimit or cgroup constraints to contain allocation blowups, with the trade-off that legitimate large jobs may be terminated. Advisory: https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-excessive-memory-allocation-via-sbagen-demuxer .
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
FFmpeg's libavformat includes an SBaGen script demuxer (sbgdec.c) used with the wavesynth decoder. In sbg_read_header(), the default frame size was calculated as FFMAX(1, sample_rate / 10), where sample_rate comes from the script's -r directive; a crafted .sbg file can set an extremely high sample rate, so the derived frame size is unbounded and downstream audio-frame allocation can exhaust memory. This is CWE-789 (uncontrolled memory allocation), and the supplied source diff confirms the trigger: the upstream fix replaces the calculation with av_clip(sample_rate / 10, 1, 19200), bounding the frame size. The flaw is in local file parsing, not a network service, and the CVSS vector's UI:P/UI:R reflects that a user or automated workflow must actually process the malicious file.
Know when Ffmpeg gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Local processing of an attacker-supplied file (AV:L) requires the victim to open it (UI:R) with no privileges (PR:N); impact is DoS-only, so C:N/I:N/A:H.
Primary rating from Vendor (vulncheck).
CVSS VectorVendor: vulncheck
DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
FFmpeg 2.x allows remote attackers to conduct cross-origin attacks and read arbitrary files by using the concat protocol
FFmpeg before 2.8.12, 3.0.x and 3.1.x before 3.1.9, 3.2.x before 3.2.6, and 3.3.x before 3.3.2 does not properly restric
FFmpeg 2.x allows remote attackers to conduct cross-origin attacks and read arbitrary files by using the subfile protoco
The av_reallocp_array function in libavutil/mem.c in FFmpeg before 2.0.1 has an unspecified impact and remote vectors re
cbs_jpeg_split_fragment in libavcodec/cbs_jpeg.c in FFmpeg 4.1 and 4.2.2 has a heap-based buffer overflow during JPEG_MA
Out-of-bounds heap write in FFmpeg's RASC video decoder (decode_dlta in libavcodec/rasc.c) allows attackers to corrupt m
Memory corruption in FFmpeg before 8.1 allows an attacker who can supply a crafted H.264/HEVC media file to corrupt heap
Memory exhaustion in FFmpeg git-master builds before commit d5873b can occur when a victim processes attacker-controlled
Integer Overflow vulnerability in function filter_sobel in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attacker
Integer Overflow vulnerability in function filter_robert in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attacke
Integer Overflow vulnerability in function filter_prewitt in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attack
Integer Overflow vulnerability in function filter16_sobel in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attack
EUVD-2026-120176
GHSA-4rr8-hwwq-wfvq
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB