Skip to main content

FFmpeg CVE-2026-125246

| EUVDEUVD-2026-120196 MEDIUM
Reachable Assertion (CWE-617)
2026-11-09 disclosure@vulncheck.com GHSA-x2v9-wwj2-f83c
5.7
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

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

  1. Access
    Supply crafted JPEG/MJPEG stream
  2. Exploit
    Victim processes via CBS JPEG bitstream filter
  3. Execution
    0xff stuffing bytes miscounted in assemble_fragment
  4. Impact
    av_assert0 abort crashes process

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V16 - Security Logging and Error Handling Reachable assertion handling
Exploitation Conditions

Exploitation requires an FFmpeg pipeline that routes a JPEG/MJPEG stream through CBS-based bitstream filters; the crafted input must place 0xff bytes in the JPEG scan header so cbs_jpeg_assemble_fragment() miscounts the 0xff stuffing bytes. Limiting factors: this is not a default decode path (the CBS JPEG bitstream-filter stage must be invoked), the attack vector is local (AV:L), complexity is high with a specific attack requirement (AC:H/AT:P), and the victim must actively process the malicious stream (UI:P). Impact is limited to a clean av_assert0 abort (denial of service only) - no code execution, data disclosure, or integrity impact. The only complete fix is updating to a build containing commit ee457fd; the input lists no other mitigation.

Impact

This is a medium-severity, availability-only denial of service (CWE-617 reachable assertion). All signals point to limited real-world urgency rather than a top priority. The CVSS 4.0 vector (AV:L/AC:H/AT:P/PR:N/UI:P/VC:N/VI:N/VA:H) describes a local attack vector, high complexity, a present attack requirement, and passive user interaction, with impact confined to availability (process abort) - no confidentiality or integrity loss. The vuln.today decision label is 'this_month', not act_now or emergency. The CVE is NOT in CISA KEV, so there is no confirmed active exploitation. No EPSS score was provided in the input, so exploitation probability cannot be quantified. No public exploit identified at time of analysis - the references are the fix commit, the FFmpeg repository, the vulnerable source line, and a VulnCheck advisory, none of which are exploit code. The main tension is between FFmpeg's ubiquitous deployment (which raises the population of potentially affected systems) and the narrow, non-default trigger path: the flaw is only reachable when CBS-based bitstream filters process a JPEG/MJPEG stream, which most FFmpeg deployments do not routinely invoke. Net assessment: a legitimate bug worth patching on a normal cadence, but not a high-real-risk emergency given local vector, high complexity, required victim interaction, availability-only impact, and absence of KEV/EPSS/exploit signals.

Exploit ScenarioDerived

An attacker crafts a JPEG or MJPEG stream containing 0xff bytes in the scan header so that cbs_jpeg_assemble_fragment() miscounts the 0xff stuffing bytes. When a victim processes this input through an FFmpeg pipeline that uses CBS-based JPEG bitstream filters, the miscount triggers an av_assert0 abort, crashing the process. No public exploit code was identified; the attack requires the victim to actively process the malicious stream (UI:P) and local delivery (AV:L).

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

A crafted JPEG/MJPEG stream containing 0xff bytes in the scan header can trigger an av_assert0 abort inside FFmpeg's CBS JPEG fragment assembly code, crashing the process and denying service to whatever application embeds the library. Only pipelines that explicitly route JPEG/MJPEG data through CBS-based bitstream filters (cbs_jpeg) reach the flawed code, so ordinary decoding of JPEG files is not the exposed path; the vector is local with high complexity and requires the user to process the malicious stream. The issue affects FFmpeg through 9.0.2 and is fixed by upstream commit ee457fdcdb3a069ef35910a2e1cacff10906b131 (PR 25232); no public exploit code was identified at time of analysis and CISA KEV does not list the issue.

RemediationAI

Upstream fix available (PR/commit); released patched version not independently confirmed - the only complete remediation per the supplied data is to build or update to a revision containing commit ee457fdcdb3a069ef35910a2e1cacff10906b131 (PR 25232), which changes the fragment loop to begin at AV_RB16(unit->data). Because FFmpeg 0 through 9.0.2 is identified as the affected range and no tagged release containing the fix is confirmed in the input, distributors and embedders should verify that their 9.0.x build backports this commit. No alternative mitigation is stated in the available sources; in practice, the exposure is removed for a given deployment only when it stops passing untrusted JPEG/MJPEG streams into CBS-based bitstream filters, and that is a narrowing of functionality rather than a vendor-endorsed workaround. Advisory references to track are https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25232 and the VulnCheck advisory at https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-assertion-failure-dos-via-cbs-jpeg-assemble-fragment.

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 Coded Bitstream (CBS) framework provides structured read/write access to coded bitstreams so that bitstream filters can rewrite fields without full decoding. cbs_jpeg.c implements this for JPEG, splitting the stream into header units and scan data fragments; when reassembling a fragment in cbs_jpeg_assemble_fragment(), the code iterates over the scan payload starting at index 0 rather than at the value encoded in the two-byte big-endian field at the start of the unit data. The corrected loop condition uses AV_RB16(unit->data) as its start offset. Because the offset was miscomputed, 0xff byte-stuffing sequences inside the JPEG scan header are miscounted, the internal consistency check fails, and the av_assert0() guard aborts the process - a CWE-617 reachable assertion. The downstream effect is process termination only: the supplied assessment records no confidentiality or integrity impact, and the abort gives an attacker no control over memory or execution flow.

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 5.7 MEDIUM
CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
vuln.today AI 4.7 MEDIUM

Local processing of a crafted stream (AV:L) through a non-default CBS filter path with a specific trigger condition (AC:H) requires victim interaction (UI:R); only a process abort results, so C:N/I:N/A:H.

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

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

Attack Vector
Local
Attack Complexity
High
Attack Requirements
Present
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 a denial of service vulnerability in cbs_jpeg_assemble_fragment() that miscounts 0xff stuffing bytes in JPEG scan headers. Attackers can supply a crafted JPEG/MJPEG stream with 0xff in the scan header, triggering an av_assert0 abort when CBS-based bitstream filters process it.

Threat Intelligence Overview

EPSS Score
0.2%
Top 95% exploitable
Prevalence
Ubiquitous
FFmpeg/libavcodec is pervasive media tooling embedded across countless applications and servers
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

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
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