CVE-2026-125260
Received Received - Intake

Heap Buffer Overflow in FFmpeg via OpenEXR RLE Encoding

Vulnerability report for CVE-2026-125260, 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 a heap buffer overflow vulnerability in libavcodec/exrenc.c that allows attackers to corrupt heap memory when encode_scanline_rle() processes frames taller than the encoder height. Attackers can supply crafted input whose resolution grows mid-stream, transcoded to OpenEXR with RLE compression, to write pointers past the scanline array and crash the application.

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-122 A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a heap buffer overflow in FFmpeg versions up to 9.0.2. It occurs in the libavcodec/exrenc.c component when processing frames taller than the encoder height. Attackers can exploit this by providing input with a resolution that increases mid-stream, which is then transcoded to OpenEXR with RLE compression. This causes the application to write pointers past the scanline array, leading to heap memory corruption and potential crashes.

Detection Guidance

This vulnerability can be detected by checking the FFmpeg version in use. If you are running FFmpeg through version 9.0.2, you may be affected. Run 'ffmpeg -version' to check the installed version. Additionally, monitor for crashes during OpenEXR encoding with RLE compression, especially when processing frames with dynamic height changes.

Impact Analysis

This vulnerability could allow attackers to crash the FFmpeg application, potentially leading to denial-of-service conditions. If exploited successfully, it may also enable arbitrary code execution, depending on the system's memory layout and protections. Users processing media files with FFmpeg are at risk if they handle crafted input files.

Compliance Impact

This vulnerability could potentially impact compliance with GDPR and HIPAA by enabling unauthorized memory corruption or crashes during media processing. If exploited, it may lead to data integrity issues or denial-of-service, which could violate confidentiality or availability requirements under these regulations.

Mitigation Strategies

Immediately update FFmpeg to the latest patched version. Avoid processing OpenEXR files with RLE compression from untrusted sources. If updating is not possible, disable RLE compression in OpenEXR encoding or restrict FFmpeg to trusted input files.

Chat Assistant

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