Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious M2TS LPCM stream
-
DeliveryDeliver media to big-endian FFmpeg host
-
ExploitVictim decodes with vulnerable PCM path
-
ExecutionOverflow writes attacker bytes past heap buffer
-
ImpactMemory 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). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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 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
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
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.
Primary rating from Vendor (vulncheck).
CVSS VectorVendor: vulncheck
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
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.
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
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
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.
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-120303
GHSA-fvmw-gfmv-6vpx
NVD
CVE.org
EPSS
VulDB
Exploit-DB