CVE-2026-137910
Awaiting Analysis Awaiting Analysis - Queue

Out-of-Bounds Read in FFmpeg PCX Encoder

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

Publication date: 2026-11-27

Last updated on: 2026-11-27

Assigner: 1a4f025a-074d-4105-b4e2-52bd8eabe2ea

Description

FFmpeg before 9.1 contains an out-of-bounds read vulnerability in pcx_encode_frame() in libavcodec/pcxenc.c that rounds each row up to an even number of bytes and run-length encodes that many bytes from the input frame. Attackers who control the width of images encoded to PCX by an application that supplies tightly packed frames can make the encoder read past the end of the frame buffer, crashing the application or leaking heap contents into the output image.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

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

Affected Vendors & Products

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

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-125 The product reads data past the end, or before the beginning, of the intended buffer.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This is an out-of-bounds read vulnerability in FFmpeg's PCX image encoder. It occurs in the pcx_encode_frame() function in libavcodec/pcxenc.c. The encoder rounds each image row up to an even number of bytes and then run-length encodes that many bytes from the input frame. Attackers can manipulate the image width to make the encoder read past the end of the frame buffer, causing crashes or leaking heap contents into the output image.

Detection Guidance

To detect this vulnerability, monitor FFmpeg versions before 9.1 for crashes or memory leaks when processing PCX images. Use tools like AddressSanitizer (ASAN) to identify out-of-bounds reads during encoding. Check logs for application crashes when handling PCX files with specific widths.

Impact Analysis

This vulnerability could allow attackers to crash applications using FFmpeg's PCX encoder or leak sensitive memory contents into image files. Since attackers control the image width, they can trigger buffer overflows that may lead to denial of service or information disclosure. The impact depends on how FFmpeg is used in your environment.

Compliance Impact

This vulnerability could potentially impact compliance with GDPR and HIPAA by allowing unauthorized access to memory contents through crafted PCX images. If exploited, it may lead to data leaks or crashes in applications processing sensitive data, violating confidentiality requirements under these regulations.

Mitigation Strategies

Upgrade FFmpeg to version 9.1 or later to apply the patch. If upgrading is not possible, avoid using FFmpeg's PCX encoder with untrusted input files. Implement input validation to reject PCX files with suspicious widths.

Chat Assistant

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