FFmpeg before 9.1 Out-of-Bounds Read via PCX Encoder Odd-Width Rows
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| FFmpegFFmpeg |
< 9.1→ 9.1 |
9.1 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Alpine Linux ALPINE-CVE-2026-137910 ffmpeg Fix available
- Debian DEBIAN-CVE-2026-137910 ffmpeg No fixed version in this record
- Ubuntu UBUNTU-CVE-2026-137910 libav, ffmpeg No fixed version in this record
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- web code.ffmpeg.org
- web github.com
- web github.com