CVE-2026-137910

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 base score
5.3 (v3.1)
Severity
MEDIUM
Attack vector
Local
Weakness
CWE-125
Last modified
December 3, 2026
CVSS vector
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:H

Affected products

ffmpeg ffmpeg

References

View full NVD advisory →

More ffmpeg vulnerabilities

Published the same day

← Back to CVE watch