Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft EXIF block with overlapping IFD entries
-
DeliveryDeliver malicious TIFF/JPEG/PNG/WebP image to decoder
-
ExploitFFmpeg exif.c sums per-entry payload sizes unbounded
-
ExecutionQuadratic memory allocation exhausts RAM
-
ImpactDenial of service in decoding application
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource allocation limits
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The target must use FFmpeg 8.1 through 9.0.2 and decode an attacker-supplied image in TIFF, JPEG, PNG, or WebP format containing a crafted EXIF block whose many IFD entries point at overlapping payloads; this triggers quadratic allocation in libavcodec/exif.c. Limiting factors: exploitation requires the victim application or user to actually process the malicious file (UI:P), the vendor models the vector as local (AV:L), and impact is confined to availability (memory exhaustion / DoS) - there is no code execution, data disclosure, or integrity impact. Risk rises for any service that automatically decodes uploaded or received images, where the same flaw becomes remotely reachable. |
| Impact | This is a medium-severity, availability-only denial-of-service issue (vendor CVSS 4.0 base 6.8). The supplied 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:P/VA:H, with VC:N/VI:N) describes an unauthenticated, low-complexity attack that nonetheless requires the target application to process an attacker-supplied file (UI:P) and yields only memory exhaustion - no confidentiality or integrity impact and no code execution. The priority signals are mixed-to-moderate: vuln.today assigns 'this_month' (not act_now/emergency), there is no CISA KEV listing, no EPSS probability was provided in the input, and no public exploit was supplied - only the fix commit and a VulnCheck advisory. Weighed against this, FFmpeg's ubiquity across media pipelines substantially widens real-world exposure, so this is a genuine but not emergency priority: patch within a normal maintenance cycle. One signal to verify: the vendor scored this AV:L (local), yet the described abuse - embedding a crafted EXIF block in an image that a 'decoding application' processes - would be remotely reachable (effectively AV:N) for any server-side service that decodes uploaded TIFF/JPEG/PNG/WebP images, raising risk materially for those deployments; confirm the intended exposure model with the vendor. |
| Exploit ScenarioDerived | An attacker crafts an image (TIFF, JPEG, PNG, or WebP) embedding a small EXIF block whose many IFD entries point at overlapping payloads, then gets a victim application built on FFmpeg 8.1-9.0.2 to decode it. Because exif.c multiplies per-entry payload sizes without a shared byte budget, the overlapping entries drive quadratic memory allocation, exhausting RAM and causing the decoding process to crash or hang. No public exploit identified at time of analysis; a user or service must process the malicious file (UI:P). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 09, 2026
Quadratic memory allocation in FFmpeg's EXIF parser (libavcodec/exif.c) lets a small crafted EXIF block embedded in a TIFF, JPEG, PNG, or WebP image drive memory consumption far beyond the input size, exhausting memory and denying service to whatever decodes the file. All builds of FFmpeg 8.1 through 9.0.2 are exposed, and the attack is reachable by unauthenticated remote attackers wherever images are processed automatically (upload pipelines, thumbnailers, media scanners), though it requires the victim application or user to actually decode the malicious file; impact is confined to availability with no code execution, data disclosure, or integrity impact. No public exploit has been identified at time of analysis and the issue is not in CISA KEV; an upstream fix commit and pull request exist, but a tagged release containing the fix was not independently confirmed.
RemediationAI
The fix is upstream commit 30fff47764e59f02ac7868bb832ed51a88f949fd (pull request 25408), which adds a cumulative byte budget to the EXIF IFD parser so overlapping entries can no longer multiply allocations; it is an upstream fix available as a PR/commit, and a released patched version beyond 9.0.2 was not independently confirmed at time of analysis, so administrators should either build FFmpeg from a revision containing that commit or track the FFmpeg repository and distribution packages until a tagged release ships it. Because the flaw is availability-only and triggered at decode time, the practical interim controls are to cap memory and CPU on any process that decodes untrusted images (RLIMIT_AS / ulimit -v or a cgroup memory limit, plus a decode timeout) so an exhausted allocation kills only the sandboxed worker rather than the host service - accepting that legitimate very large images may then fail; and to strip or reject EXIF metadata before decoding untrusted uploads, which removes the attack surface entirely at the cost of losing metadata such as EXIF orientation, timestamps, and camera fields that some workflows depend on. Advisory and tracking references: https://www.vulncheck.com/advisories/ffmpeg-8.1-through-9.0.2-exif-parser-memory-exhaustion-via-overlapping-tags, https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25408, https://github.com/FFmpeg/FFmpeg/commit/30fff47764e59f02ac7868bb832ed51a88f949fd.
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
The flaw is CWE-770 (Allocation of Resources Without Limits or Throttling) in FFmpeg's EXIF/TIFF metadata reader, libavcodec/exif.c, reachable through av_exif_parse_buffer(). EXIF IFD entries each declare a type and count, and exif_read_values() computes payload_size = exif_sizes[entry->type] * entry->count; before the fix that size was only checked against the bytes remaining in the GetByteContext, so each entry was validated in isolation. Because many IFD entries can be pointed at the same or overlapping payload offsets, an attacker can pack a tiny EXIF block with a large number of entries whose declared payloads overlap, causing the parser to re-read and re-buffer essentially the same bytes once per entry and producing allocation work that grows quadratically with entry count rather than linearly with file size. Existing guards on recursion depth and entries_left bounded nesting and entry counts but not cumulative byte consumption. The upstream commit 30fff47764e59f02ac7868bb832ed51a88f949fd threads a size_t *bytes_left budget through exif_parse_ifd_list(), exif_decode_tag() and exif_read_values(), subtracting each payload_size from the budget and rejecting an entry when payload_size exceeds either the remaining buffer or the remaining budget; av_exif_parse_buffer() initialises a two-element bytes_left[2] = { size, size } array so the primary IFD pass and the 'guess' IFD pass are accounted against separate budgets (the diff indexes &bytes_left[guess]). The affected code path is confirmed at libavcodec/exif.c line 274 in tag n9.0.2.
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
File-processing trigger with no auth gives AV:L/PR:N but requires the victim to decode the image (UI:R); impact is memory-exhaustion DoS only, so C:N/I:N/A:H.
Primary rating from Vendor (vulncheck).
CVSS VectorVendor: vulncheck
DescriptionCVE.org
FFmpeg 8.1 through 9.0.2 contains a memory exhaustion vulnerability in the libavcodec/exif.c parser that allows attackers to amplify allocations by pointing many IFD entries at overlapping payloads. Attackers can embed a small crafted EXIF block in TIFF, JPEG, PNG or WebP images to trigger quadratic memory allocation, causing denial of service in decoding applications.
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-120269
GHSA-hgc4-q7h6-33wq
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB