FFmpeg before 9.1 Out-of-Bounds Read via PCX Encoder Odd-Width Rows
- State
- Published
- Severity
- 5.8 Medium
- Published
- Nov 27, 2026
- Updated
- Nov 27, 2026
- Reserved
- Nov 27, 2026
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.
| Product | Versions |
|---|---|
| FFmpeg FFmpeg | before 9.1 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 5.8 Medium | AISLE | |
| 3.1 | 5.3 Medium | AISLE |
Weaknesses
- CWE-125 Out-of-bounds Read
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.