Skip to main content

FFmpeg EUVDEUVD-2026-120176

| CVE-2026-125226 MEDIUM
Memory Allocation with Excessive Size Value (CWE-789)
2026-11-09 disclosure@vulncheck.com GHSA-4rr8-hwwq-wfvq
6.8
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft SBaGen .sbg script with huge -r sample rate
  2. Exploit
    Victim or pipeline processes file via FFmpeg
  3. Execution
    sbg_read_header derives unbounded frame size
  4. Impact
    wavesynth 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

FFmpeg 0 ≤9.0.2

Affected Packages

euvd ffmpeg no fix

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

Vendor (vulncheck) PRIMARY 6.8 MEDIUM
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
vuln.today AI 5.5 MEDIUM

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.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Red Hat 5.5 MEDIUM

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

EPSS Score
0.2%
Top 94% exploitable
Prevalence
Ubiquitous
FFmpeg is a near-universal media library embedded across countless systems and services
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor GitHub

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

More in Ffmpeg

View all
CVE-2016-1897 MEDIUM POC
5.5 Jan 15

FFmpeg 2.x allows remote attackers to conduct cross-origin attacks and read arbitrary files by using the concat protocol

CVE-2017-9993 HIGH
7.5 Jun 28

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

CVE-2016-1898 MEDIUM POC
5.5 Jan 15

FFmpeg 2.x allows remote attackers to conduct cross-origin attacks and read arbitrary files by using the subfile protoco

CVE-2013-4265 CRITICAL POC
10.0 Nov 23

The av_reallocp_array function in libavutil/mem.c in FFmpeg before 2.0.1 has an unspecified impact and remote vectors re

CVE-2020-12284 CRITICAL POC
9.8 Apr 28

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

CVE-2026-58049 HIGH POC
8.8 Jun 28

Out-of-bounds heap write in FFmpeg's RASC video decoder (decode_dlta in libavcodec/rasc.c) allows attackers to corrupt m

CVE-2026-30754 HIGH POC
8.8 Sep 08

Memory corruption in FFmpeg before 8.1 allows an attacker who can supply a crafted H.264/HEVC media file to corrupt heap

CVE-2025-25469 HIGH POC
8.8 Feb 18

Memory exhaustion in FFmpeg git-master builds before commit d5873b can occur when a victim processes attacker-controlled

CVE-2021-38094 HIGH POC
8.8 Sep 20

Integer Overflow vulnerability in function filter_sobel in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attacker

CVE-2021-38093 HIGH POC
8.8 Sep 20

Integer Overflow vulnerability in function filter_robert in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attacke

CVE-2021-38092 HIGH POC
8.8 Sep 20

Integer Overflow vulnerability in function filter_prewitt in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attack

CVE-2021-38091 HIGH POC
8.8 Sep 20

Integer Overflow vulnerability in function filter16_sobel in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attack

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy