Technical impact
The vulnerability is an uninitialized memory disclosure in FFmpeg 2.1 through 9.0.2. In the pcx_decode_frame() function within libavcodec/pcx.c, the scanline buffer is left uncleared when an input PCX file ends early. Attackers can supply a crafted truncated RLE-compressed or uncompressed PCX image, causing heap memory contents to be leaked through the decoded pixel data.
Affected Systems
Affected versions are FFmpeg 2.1 through 9.0.2. Any installation of these releases that uses the PCX decoder is vulnerable.
Risk and Exploitability
The CVSS score of 6.8 indicates a medium severity. The EPSS score of < 1% indicates a very low likelihood of exploitation, and the vulnerability is not listed in CISA's KEV catalog. Attackers can exploit the flaw by providing a specially crafted PCX file, which can be distributed locally or potentially delivered to a remote service that processes images. The exploit only leaks data, so it does not provide code execution, but it can compromise confidentiality. The risk level is moderate but mitigation is recommended.