Vulnerability 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 Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Ffmpeg | Ffmpeg | < 9.1 |
Related Weaknesses (CWE)
References
- https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25690Issue TrackingPatch
- https://github.com/FFmpeg/FFmpegProduct
- https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/pcxenc.c#L134Patch
- https://github.com/FFmpeg/FFmpeg/commit/b47e96b4eb50fef52cf1a9c7b0100a34cc05cce0Patch
FAQ
What is CVE-2026-137910?
CVE-2026-137910 is a vulnerability with a CVSS score of 5.3 (MEDIUM). 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 fr...
How severe is CVE-2026-137910?
CVE-2026-137910 has been rated MEDIUM with a CVSS base score of 5.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-137910?
Check the references section above for vendor advisories and patch information. Affected products include: Ffmpeg Ffmpeg.