Skip to main content

FFmpeg CVE-2026-125214

| EUVDEUVD-2026-120303 HIGH
Heap-based Buffer Overflow (CWE-122)
2026-11-09 disclosure@vulncheck.com GHSA-fvmw-gfmv-6vpx
7.3
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

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

  1. Access
    Craft malicious M2TS LPCM stream
  2. Delivery
    Deliver media to big-endian FFmpeg host
  3. Exploit
    Victim decodes with vulnerable PCM path
  4. Execution
    Overflow writes attacker bytes past heap buffer
  5. Impact
    Memory corruption, potential code execution or crash

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 a big-endian host (e.g., s390x, PowerPC/POWER big-endian, SPARC, or MIPS-BE builds) - the overflow does not occur on little-endian x86-64 or standard ARM, which excludes the overwhelming majority of deployments. The attacker must supply a crafted Blu-ray/M2TS LPCM stream whose payload length is not a multiple of the sample size, and a victim must decode or transcode that media with FFmpeg (UI:P, AC:H). Limiting factors: local attack vector (no remote network trigger), required user/processing interaction, high attack complexity, and the non-default big-endian platform constraint; these together substantially narrow realistic risk below what the 7.3 score alone implies.

Impact

The CVSS 4.0 base score is 7.3 (High), but the vector itself signals constrained real-world risk: AV:L (local - the attacker supplies a file rather than reaching a network service), AC:H (high complexity), AT:P (a specific attack requirement must hold), and UI:P (the victim must process the malicious media). The single most important limiter is in the description, not the vector: the overflow only occurs on big-endian hosts, and virtually all modern FFmpeg deployments run on little-endian x86-64 and ARM, so the exploitable population is a small fraction of the (otherwise ubiquitous) FFmpeg footprint. No EPSS score was provided, there is no CISA KEV listing (KEV=NO), and no confirmed public exploit - the references are the upstream fix PR/commit and a VulnCheck advisory, not weaponized PoC code. Exploitation status: no public exploit identified at time of analysis. Net: this is a genuine attacker-controlled heap overflow (CWE-122) with high technical impact, but the combination of local vector, required user interaction, high complexity, and the big-endian-only precondition makes it a lower-urgency, non-widespread issue despite the High score. The vuln.today decision label is 'this_week', consistent with scheduled patching rather than emergency action.

Exploit ScenarioDerived

An attacker crafts a Blu-ray (M2TS) file containing an LPCM stream whose payload length is deliberately not a multiple of the sample size, then gets a victim to decode or transcode it with FFmpeg running on a big-endian host. During pcm_bluray_decode_frame(), the decoder copies buf_size bytes instead of the correct samples*2 bytes, writing attacker-controlled bytes past the audio frame buffer on the heap, corrupting adjacent memory and potentially enabling code execution or a crash. No public exploit is identified; exploitation requires local file processing (AV:L), user interaction (UI:P), and high complexity (AC:H).

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.1% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Nov 09, 2026

FFmpeg builds through 9.0.2 contain a heap buffer overflow in pcm_bluray_decode_frame() in libavcodec/pcm-bluray.c that is only reachable on big-endian hosts, where a crafted Blu-ray (M2TS) LPCM stream whose payload length is not a multiple of the sample size causes attacker-controlled bytes to be written past the audio frame buffer. The vulnerable path is the byte-swapping branch used to convert samples to host byte order, so little-endian x86-64 and standard ARM deployments do not hit the overflow; exploitation further requires a victim to decode or transcode the malicious media (AV:L, AC:H, AT:P, UI:P). There is no KEV entry and no public exploit identified at time of analysis; an upstream fix exists as commit a61b32df3fd67f76c1c8c7ea51be2a66efb0f945 (PR 25337), with a released patched version not independently confirmed.

RemediationAI

Apply the upstream fix commit a61b32df3fd67f76c1c8c7ea51be2a66efb0f945 (FFmpeg pull request 25337, https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25337), which changes the destination copy length from buf_size to samples * 2 so the write is bounded by the validated sample count; a released/tagged patched version is not independently confirmed, so verify the fix is present in whatever build or downstream distribution package you deploy. Because the overflow is confined to big-endian hosts, prioritise s390x, big-endian PowerPC/POWER, SPARC and MIPS-BE builds and any packaging derived from them (Linux distributions, embedded/appliance firmware, media servers, CI transcoders); x86-64 and standard ARM deployments are not exposed to this specific code path. Until the fix is in place, the exposure is limited to decoding or transcoding untrusted Blu-ray/M2TS LPCM content on those big-endian systems, so restrict such processing to trusted inputs or route it to little-endian hosts - noting that the trade-off is reduced transcoding capability on the affected platform rather than removal of the vulnerable code itself. Advisory links: https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-heap-buffer-overflow-in-blu-ray-pcm-decoder and https://github.com/FFmpeg/FFmpeg/commit/a61b32df3fd67f76c1c8c7ea51be2a66efb0f945.

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 libavcodec contains a dedicated decoder for Blu-ray LPCM audio carried in M2TS transport streams (libavcodec/pcm-bluray.c). Because LPCM payloads inside Blu-ray streams are big-endian, the decoder contains a host-endianness-dependent branch that byte-swaps each sample into a destination buffer (dst16) before handing the frame to the audio pipeline. The flaw is a CWE-122 heap-based buffer overflow: the copy used bytestream2_get_buffer(&gb, (uint8_t*)dst16, buf_size), sizing the write by the raw source payload length rather than by the number of decoded samples (samples * 2). When a crafted stream declares or supplies a payload length that is not a multiple of the sample size, the copy overruns the allocated audio frame buffer with attacker-controlled bytes. The upstream diff replaces buf_size with samples * 2, tying the write to the validated sample count. The affected code path is only taken on big-endian hosts (for example s390x, PowerPC/POWER big-endian, SPARC, or MIPS-BE builds); on little-endian x86-64 and standard ARM the swapping branch is not used and the overflow is not reached. The trigger requires processing a malicious M2TS file with the Blu-ray PCM decoder enabled in the build.

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

Attacker supplies a file processed locally (AV:L, UI:R); big-endian-only plus crafted length make it AC:H; no privileges needed (PR:N); attacker-controlled heap write supports high C/I/A.

3.1 AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:L/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Red Hat 7.0 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
High
Vulnerable system: Integrity
High
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 heap buffer overflow vulnerability in pcm_bluray_decode_frame() in libavcodec/pcm-bluray.c on big-endian hosts. Attackers can supply a crafted Blu-ray (M2TS) LPCM stream whose payload length is not a multiple of the sample size, writing attacker-controlled bytes past the audio frame buffer.

Executive ViewAI

Why It Matters

A high-severity heap buffer overflow in FFmpeg's Blu-ray audio decoding affects only big-endian systems. Attackers could exploit this by tricking a user into decoding a malicious media file, potentially leading to code execution or crashes. Leadership should prioritize patching big-endian deployments, as standard x86 and ARM systems are not impacted.

Business Impact: Medium
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include avoiding decoding of untrusted Blu-ray (M2TS) LPCM streams on big-endian hosts and restricting FFmpeg usage on such systems to trusted media only.

Threat Intelligence Overview

EPSS Score
0.1%
Top 96% exploitable
Prevalence
Ubiquitous
FFmpeg/libavcodec underpins media decoding across countless apps and platforms
Data Quality
5 sources
Confidence: Medium

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 No
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· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
Medium

Priority Score

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