Skip to main content

FFmpeg CVE-2026-125180

| EUVDEUVD-2026-120269 MEDIUM
Allocation of Resources Without Limits or Throttling (CWE-770)
2026-11-09 disclosure@vulncheck.com GHSA-hgc4-q7h6-33wq
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 EXIF block with overlapping IFD entries
  2. Delivery
    Deliver malicious TIFF/JPEG/PNG/WebP image to decoder
  3. Exploit
    FFmpeg exif.c sums per-entry payload sizes unbounded
  4. Execution
    Quadratic memory allocation exhausts RAM
  5. Impact
    Denial 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).

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

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

FFmpeg 8.1 ≤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

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

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

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.

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

EPSS Score
0.2%
Top 94% exploitable
Prevalence
Ubiquitous
FFmpeg underpies media decoding across countless servers, apps and pipelines
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment MSRC 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