CVE-2026-125171

FFmpeg through 9.0.2 Out-of-Bounds Read in Musepack SV7 Decoder via mpc7.c

Published Nov 9, 2026 CVSS 4.0 · 6.9 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

An out‑of‑bounds read occurs in the Musepack SV7 decoder of FFmpeg because the initialization routine does not check the advertised final frame length against the maximum frame size. A crafted Musepack SV7 file that declares an oversized final frame can cause consumers of the decoded data to read past the allocated buffer, leading to either a crash or a disclosure of heap memory.

Affected Systems

FFmpeg builds up to and including version 9.0.2 are affected. The vulnerability is present in the FFmpeg FFmpeg product, all architectures and operating systems that use the vulnerable decoder component.

Risk and Exploitability

The CVSS base score of 6.9 classifies the flaw as moderate severity. The EPSS score is not available, and the vulnerability is not currently listed in the CISA KEV catalog. Based on the description, the likely attack vector is the delivery of a malicious audio file to the affected decoder – the attacker only needs to provide a crafted Musepack SV7 file, which can be done remotely by feeding the file to a media service or locally through any user‑controlled input channel. The impact includes accidental or intentional denial of service when the decoding process crashes, as well as a potential memory disclosure that could leak confidential data if the heap contains sensitive information.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update FFmpeg to version 9.0.3 or later, which includes the Musepack SV7 decoder fix.
  • If an immediate update is not possible, disable Musepack SV7 decoding or switch to an alternate codec so that the vulnerable code path is never executed.
  • Restrict the processing of untrusted audio files and consider sandboxing the decoding process to contain any potential crashes or memory disclosure.

Generated by OpenCVE AI on November 9, 2026 at 22:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title FFmpeg through 9.0.2 Out-of-Bounds Read in Musepack SV7 Decoder via mpc7.c
First Time appeared Ffmpeg
Ffmpeg ffmpeg
Weaknesses CWE-125
CPEs cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*
Vendors & Products Ffmpeg
Ffmpeg ffmpeg
References
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H'}

cvssV4_0

{'score': 6.9, 'vector': '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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 10, 2026, 7:10 PM
Reserved
Nov 9, 2026, 6:15 PM
Status
Analyzed
Published
Nov 9, 2026, 7:16 PM
Modified
Nov 25, 2026, 3:03 PM
Severity
Moderate
Public date
Nov 9, 2026, 7:10 PM