Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSupply crafted JPEG/MJPEG stream
-
ExploitVictim processes via CBS JPEG bitstream filter
-
Execution0xff stuffing bytes miscounted in assemble_fragment
-
Impactav_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). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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 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
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
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.
Primary rating from Vendor (vulncheck).
CVSS VectorVendor: vulncheck
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
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-120196
GHSA-x2v9-wwj2-f83c
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB