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.
References
| Link | Resource |
|---|---|
| https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25690 | Issue Tracking Patch |
| https://github.com/FFmpeg/FFmpeg | Product |
| https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/pcxenc.c#L134 | Patch |
| https://github.com/FFmpeg/FFmpeg/commit/b47e96b4eb50fef52cf1a9c7b0100a34cc05cce0 | Patch |
Configurations
History
27 Nov 2026, 17:20
| Type | Values Removed | Values Added |
|---|---|---|
| CPE | cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:* | |
| First Time |
Ffmpeg ffmpeg
Ffmpeg |
|
| References | () https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25690 - Issue Tracking, Patch | |
| References | () https://github.com/FFmpeg/FFmpeg - Product | |
| References | () https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/pcxenc.c#L134 - Patch | |
| References | () https://github.com/FFmpeg/FFmpeg/commit/b47e96b4eb50fef52cf1a9c7b0100a34cc05cce0 - Patch |
27 Nov 2026, 13:17
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-11-27 13:17
Updated : 2026-11-27 17:20
NVD link : CVE-2026-137910
Mitre link : CVE-2026-137910
CVE.ORG link : CVE-2026-137910
JSON object : View
Products Affected
ffmpeg
- ffmpeg
CWE
CWE-125
Out-of-bounds Read
