CVE-2026-125257
Received Received - Intake

Heap Overflow in FFmpeg Nellymoser Encoding

Vulnerability report for CVE-2026-125257, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-09

Last updated on: 2026-11-09

Assigner: VulnCheck

Description

FFmpeg through 9.0.2 contains an off-by-one heap overflow vulnerability in get_exponent_dynamic() in libavcodec/nellymoserenc.c that allows writing one element past the opt and path allocations. Attackers can supply crafted audio to applications encoding Nellymoser with trellis enabled, causing idx to equal OPT_SIZE and overwrite adjacent heap memory.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-09
Last Modified
2026-11-09
Generated
2026-11-10
AI Q&A
2026-11-09
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
FFmpeg FFmpeg From 0 (inc) to 9.0.2 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-193 A product calculates or uses an incorrect maximum or minimum value that is 1 more, or 1 less, than the correct value.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This is an off-by-one heap overflow in FFmpeg 9.0.2. It occurs in the get_exponent_dynamic() function within libavcodec/nellymoserenc.c when encoding Nellymoser audio with trellis enabled. Attackers can exploit this by providing crafted audio, causing idx to equal OPT_SIZE and overwrite adjacent heap memory.

Detection Guidance

To detect this vulnerability, check if your FFmpeg version is 9.0.2 or earlier. Run 'ffmpeg -version' to verify the installed version. If vulnerable, update to a patched version immediately.

Impact Analysis

This vulnerability allows attackers to execute arbitrary code or cause denial of service by corrupting heap memory. It requires user interaction (supplying crafted audio) and local access, but could lead to data breaches, system crashes, or privilege escalation if exploited.

Compliance Impact

This vulnerability could lead to unauthorized code execution or information disclosure, which may violate data protection requirements under GDPR (e.g., integrity and confidentiality of personal data) and HIPAA (e.g., unauthorized access to protected health information).

Mitigation Strategies

Update FFmpeg to version 9.0.3 or later to address the off-by-one heap overflow in get_exponent_dynamic(). Disable trellis encoding in Nellymoser if possible until patched. Monitor for suspicious audio processing activities.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-125257. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...