FFmpeg before 9.1 Out-of-Bounds Read via PCX Encoder Odd-Width Rows
- CVE-2026-137910
- GHSA-3wrg-xc52-xf53
- EUVD-2026-137205
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.
Text from the CVE.org record.
Recommendation
ffmpeg
- If you run a version before 9.1update to 9.1 or later
Taken from the version ranges of the NVD record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
ffmpeg
Affected versions Fixed in before 9.1 9.1
Product versions from the NVD record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.