Skip to main content

FFmpeg CVE-2026-75141

| EUVDEUVD-2026-62578 HIGH
Heap-based Buffer Overflow (CWE-122)
2026-08-19 VulnCheck GHSA-72cw-2m7j-25c8
8.5
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Deliver crafted HEVC file to target
  2. Delivery
    Trigger FFmpeg muxing operation
  3. Exploit
    NAL unit count overflows in hvcC writer
  4. Execution
    Heap buffer written out-of-bounds
  5. Impact
    Arbitrary code execution in FFmpeg process

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Heap buffer bounds checking
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires FFmpeg to perform an HEVC muxing operation on a crafted input file where the number of NAL units of a single type exceeds the representable range of the hvcC count field. The CVSS 4.0 vector (AV:L/UI:P) confirms a local attack vector with passive user interaction - a user or automated process must invoke FFmpeg's muxer on the malicious file; the attacker cannot trigger this remotely without that processing step. No privileges are required (PR:N). Exploitation is limited by: (1) local file processing is required - the attacker must get the crafted file into the muxing pipeline; (2) the overflow is specific to the HEVC codec path - non-HEVC muxing operations are unaffected; (3) passive user interaction is required, meaning fully unattended server processes with no file ingestion are not exposed. The local-vector limitation is effectively negated in automated transcoding services, video platforms, or CI/CD pipelines that accept user-supplied HEVC files for processing.

Impact

The CVSS 4.0 score of 8.5 with vector AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H reflects high impact across all three CIA pillars but is gated by a local attack vector and passive user interaction. In isolation, AV:L limits direct remote exploitation, but this constraint is significantly weakened in automated media pipelines - video transcoding services, CI thumbnail generators, and media ingest APIs - where FFmpeg routinely processes untrusted user-supplied content programmatically, effectively collapsing the user-interaction barrier. Attack complexity is low (AC:L, AT:N) once a crafted file reaches the muxer: no race conditions, no heap-spray tuning, and no configuration prerequisites. No EPSS data was provided, no public POC has been identified, and the vulnerability does not appear in the CISA KEV catalog, all of which reduce urgency for isolated workstations. However, the CWE-122 class carries well-established code execution potential, and heap overflows in media parsers have historically proven exploitable. Organizations running FFmpeg in server-side or automated contexts should treat this as a genuine priority despite the nominally local vector.

Exploit ScenarioDerived

An attacker uploads a crafted HEVC video file to a media transcoding API that internally invokes FFmpeg to remux the content. During the hvcC box writing phase, the abnormally large NAL unit array causes a count field overflow, corrupting heap metadata adjacent to the write buffer. With low attack complexity and no additional prerequisites, this could allow the attacker to achieve arbitrary code execution in the transcoding service's process context. No public POC has been identified, but the CWE-122 heap overflow class is well-understood and historically exploitable in media processing software.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Aug 19, 2026

Heap buffer overflow in FFmpeg's hvcC box writer exposes any version prior to commit acf5d7c to memory corruption during HEVC muxing. When a crafted HEVC file presents more NAL units of a single type than the count field can encode, integer overflow corrupts heap memory, potentially enabling arbitrary code execution in the FFmpeg process context. No public exploit has been identified at time of analysis and no CISA KEV listing exists, but server-side transcoding pipelines ingesting untrusted HEVC content effectively elevate the local-vector risk to a network-reachable attack surface.

RemediationAI

The upstream fix is available as commit acf5d7cdc1f9ae8752c23e1ea8d7f355ed780781 in the FFmpeg repository (https://code.ffmpeg.org/FFmpeg/FFmpeg/commit/acf5d7cdc1f9ae8752c23e1ea8d7f355ed780781), associated with pull request #24088 (https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24088). Organizations should rebuild FFmpeg from a source tree that includes this commit or upgrade to the next tagged release that incorporates it - the exact patched release version has not been independently confirmed, so monitoring the FFmpeg changelog is advised. As a compensating control for environments that cannot immediately update, restrict FFmpeg muxing pipelines from processing externally-sourced or untrusted HEVC files: configure file-type allowlists at ingestion boundaries to reject unexpected codec profiles before they reach the muxer. Additionally, isolate FFmpeg processes handling untrusted input in containers or sandboxes (e.g., seccomp profiles, namespaced processes) to contain the blast radius of heap exploitation - this adds operational complexity but substantially limits post-exploitation lateral movement.

Affected VersionsENISA

FFmpeg 0 <acf5d7cdc1f9ae8752c23e1ea8d7f355ed780781

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

FFmpeg is a widely-used open-source multimedia processing framework. The hvcC box (HEVC Configuration Record) is a mandatory container structure written during HEVC/H.265 stream muxing; it encodes metadata including NAL unit arrays used by decoders to initialize the bitstream. The NAL unit count field within this box uses a fixed-width integer representation. When the number of NAL units of a single type exceeds the maximum value that field can hold, the count silently wraps (integer overflow), causing the writer to allocate an undersized heap buffer while iterating over the full NAL unit set - a classic CWE-122 heap-based buffer overflow. CPE cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:* confirms all FFmpeg releases before the fix commit are in scope, with no version floor, meaning long-term-support builds and embedded forks are equally affected.

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

Local file-based attack requiring the victim to mux a crafted HEVC input; no privileges needed but user interaction is required, with unchanged scope.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE 8.1 HIGH
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

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
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

FFmpeg before commit acf5d7c contains a heap buffer overflow in the hvcC box writer. When writing an HEVC configuration record with more NAL units of a single type than the count field can represent, the NAL unit count overflows, causing a heap buffer overflow. A crafted HEVC input file triggers the overflow during muxing.

Executive ViewAI

Why It Matters

FFmpeg, deployed across media streaming and transcoding platforms, contains a critical memory corruption vulnerability (CVE-2026-75141) exploitable through malicious HEVC video files. Organizations operating video hosting, transcoding, or content delivery services that accept third-party or user-uploaded video content face direct risk of server compromise and potential lateral movement into backend infrastructure. Rapid patching is essential as untrusted video processing is a routine workflow in media organizations.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.1%
Top 96% exploitable
Prevalence
High
widely deployed open-source multimedia framework across platforms and services
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor CIRCL VulDB

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 HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Scheduled
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

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

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

A heap overflow occurs when a program writes data beyond the bounds of a buffer allocated in the heap memory region.

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

CVE-2021-38090 HIGH POC
8.8 Sep 20

Integer Overflow vulnerability in function filter16_roberts in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows atta

Vendor StatusVendor

SUSE

Severity: Important
Product Status
openSUSE Tumbleweed Fixed
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise Module for Desktop Applications 15 SP7 Affected
SUSE Linux Enterprise Module for Package Hub 15 SP7 Affected

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