CVE-2026-125259
Received Received - Intake

Integer Overflow in FFmpeg Prores_KS Encoder

Vulnerability report for CVE-2026-125259, 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 integer overflow vulnerability in ff_prores_kostya_encode_init() that miscalculates frame_size_upper_bound using 32-bit arithmetic for large frame dimensions. Attackers can supply a high-resolution video transcoded with the prores_ks encoder, causing encode_frame() to write slices past an undersized packet buffer and corrupt 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-190 The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

FFmpeg through version 9.0.2 has an integer overflow flaw in the prores_ks encoder. When processing high-resolution video frames, it miscalculates the required buffer size using 32-bit arithmetic. This causes the encode_frame function to write data beyond the allocated packet buffer, corrupting heap memory.

Detection Guidance

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

Impact Analysis

An attacker could exploit this by providing a specially crafted high-resolution video file. This may lead to crashes, arbitrary code execution, or denial of service on systems using vulnerable FFmpeg versions for video processing.

Compliance Impact

This vulnerability could lead to unauthorized memory access or corruption, potentially exposing sensitive data processed by FFmpeg. For GDPR, it may violate principles of data integrity and confidentiality if personal data is involved. For HIPAA, it could compromise protected health information if healthcare-related media is processed.

Mitigation Strategies

Update FFmpeg to version 9.0.3 or later to address the integer overflow in prores_ks encoder. Avoid using the prores_ks encoder for high-resolution videos until patched.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-125259. 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...