Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious Musepack SV7 file
-
ExploitVictim opens file in FFmpeg consumer
-
ExecutionOversized lastframelen bypasses missing bounds check
-
ImpactOut-of-bounds read crashes process or discloses heap memory
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK
1 technique across 1 tactic: Collection 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 victim to open or decode an attacker-crafted Musepack SV7 (.mpc) file using an FFmpeg-based consumer; the file must declare a final-frame length (lastframelen) exceeding MPC_FRAME_SIZE, which the vulnerable mpc7_decode_init() fails to validate. Limiting factors: the vector is local (AV:L) with required passive user interaction (UI:P) - there is no remote network trigger - and the Musepack SV7 codec is a niche format that many deployments never invoke. Impact is bounded to a crash or limited heap disclosure (no code execution/integrity impact), so realistic risk depends on whether the target actually processes untrusted .mpc files. |
| Impact | This is a medium-severity, file-borne memory-safety defect, not an emergency. The CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:P) and score of 6.9 describe a local, low-complexity flaw that still requires passive user interaction - a victim must open or decode a crafted Musepack SV7 file. Impact is split: VA:H reflects a reliable crash (denial of service) while VC:L reflects limited heap memory disclosure, and VI:N means no integrity/code-execution impact is claimed. There is no CISA KEV listing and no EPSS score supplied, and no public exploit is referenced - only the upstream fix PR and commit - so there is no evidence of active or widespread exploitation. The vuln.today decision label is 'this_month' (remediate on a normal patch cadence), consistent with the absence of KEV/EPSS urgency signals. Net: a real but routine-priority bug whose risk is bounded by the need to deliver and have a victim process a malicious audio file; its high nominal reach comes from FFmpeg's ubiquity rather than from this specific, niche codec path. |
| Exploit ScenarioDerived | An attacker crafts a malicious Musepack SV7 (.mpc) file whose header declares an oversized final frame length and distributes it (download, email, media upload). When a victim opens or transcodes the file with any FFmpeg-based consumer, the unvalidated lastframelen drives reads past the audio buffer, crashing the process or leaking adjacent heap contents. No public exploit code is referenced in the provided data; only the upstream fix commit and PR are available. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 09, 2026
An out-of-bounds heap read in FFmpeg's Musepack SV7 decoder (libavcodec/mpc7.c) lets a crafted .mpc file drive the decoder past its audio buffer, crashing the process or leaking adjacent heap memory into the decoded output. Versions through 9.0.2 are affected because mpc7_decode_init() accepts a stream-declared lastframelen larger than MPC_FRAME_SIZE without validation; exploitation requires a victim to open or decode the hostile file locally (AV:L, UI:P/R), so only deployments that actually process untrusted Musepack SV7 content are exposed. No public exploit code and no confirmed active exploitation were identified at time of analysis, and the impact is bounded to denial of service and limited information disclosure with no code execution or integrity impact. Upstream fix code is public in commit 5d59b7c4 (PR 25074), which adds the missing length check and rejects the file with AVERROR_INVALIDDATA.
RemediationAI
Apply the upstream fix in commit 5d59b7c45d7142bddd13ddc8891e72c5c7dc991b (tracked via merge request https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25074), which adds a check in mpc7_decode_init() that logs 'Invalid last frame length' and returns AVERROR_INVALIDDATA whenever lastframelen exceeds MPC_FRAME_SIZE; note that this is an upstream commit/PR, so a tagged release containing it is not independently confirmed - verify the shipped version of your FFmpeg or libavcodec build postdates 9.0.2 and includes the check before considering the issue closed. Where an immediate rebuild is not possible, the most direct mitigation is to remove the attack surface: build with --disable-decoder=mpc7, or restrict your application's allowed-decoder/demuxer whitelist so the mpc7 decoder is never selected, at the cost of losing Musepack SV7 playback and transcoding support. Additionally, quarantine or reject untrusted .mpc uploads and avoid batch-transcoding untrusted Musepack files on production hosts until the fix is in place; this reduces but does not eliminate risk because the same decoder can be reached through any container or stream that embeds SV7 audio. Keep the patch advisory pages referenced above on watch for the release that formally carries the fix.
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
Musepack SV7 is a legacy lossy audio format decoded by FFmpeg's libavcodec mpc7 decoder. During mpc7_decode_init(), the decoder reads the SV7 stream header, which carries a lastframelen field describing the size of the final frame. The vulnerable code (mpc7.c, around line 281 in the n9.0.2 tag) assigns that attacker-controlled value without comparing it against MPC_FRAME_SIZE, the fixed maximum frame size the decoder's buffers and downstream frame consumers are sized for. Because the oversized value is accepted, the frame produced is short while consumers of the decoded audio - the filter graph, resamplers, sample-format converters, or the embedding application copying planar samples - read past the end of the audio buffer. This is CWE-125 (out-of-bounds read): the root cause is a missing input-validation check on a length field parsed from the bitstream, not a flaw in the decoding math itself. Impact is memory disclosure of adjacent heap contents and/or a crash from the invalid read; the assessed vector (AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H) reflects a local, file-borne trigger with required user interaction, low confidentiality impact and high availability impact, and no scope change.
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:L/VI:N/VA:H/SC:N/SI:N/SA:N
File must be opened by the victim, so AV:L with UI:R; low-complexity trigger (AC:L); heap disclosure is limited (C:L), crash gives A:H, and no integrity impact (I:N).
Primary rating from Vendor (vulncheck).
CVSS VectorVendor: vulncheck
DescriptionCVE.org
FFmpeg through 9.0.2 contains an out-of-bounds read vulnerability in the Musepack SV7 decoder because mpc7_decode_init() does not validate lastframelen against MPC_FRAME_SIZE. Attackers can supply a crafted Musepack SV7 file declaring an oversized final frame, causing consumers of decoded frames to read past the audio buffer, leading to crashes or heap memory disclosure.
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.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
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-120260
GHSA-232q-ggmr-68x2
NVD
CVE.org
EPSS
Exploit-DB