JLSEC-2026-2222: FFmpeg before 9.1 contains an out-of-bounds read vulnerability in pcx_encode_frame() in...

Published Dec 2, 2026
·
Updated

FFmpeg before 9.1 contains an out-of-bounds read vulnerability in pcxencodeframe() 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.

Affected Software

2 affected componentsFixes available
julia/ffmpeg_jll<9.1.0+0
9.1.0+0
julia/ffmpeg_nogpl_jll<9.1.0+0
9.1.0+0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade julia/FFMPEG_jll to a version that resolves this vulnerability.

    Fixed in 9.1.0+0
  2. Upgrade

    Upgrade julia/FFMPEG_nogpl_jll to a version that resolves this vulnerability.

    Fixed in 9.1.0+0

Event History

Dec 2, 2026
Advisory Published
via OSV·09:05 PM
Data Sourced
via OSV·09:05 PM
DescriptionSeverityAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

Which applications are realistically exposed to this issue?

Applications using an affected FFmpeg build are exposed when they encode attacker-controlled images to PCX and supply tightly packed input frames. The vulnerable behavior is in the PCX encoder, so FFmpeg use that does not produce PCX output is not described as affected.

2

What must an attacker control to trigger the vulnerability?

The attacker needs to control the width of an image being encoded to PCX. Exploitation also depends on the application passing a tightly packed frame to the encoder.

3

What is the potential impact of successful exploitation?

The encoder can read beyond the end of the frame buffer. This can crash the application or disclose heap contents in the generated PCX image.

4

Is user interaction required?

The provided severity vector indicates user interaction is required. The description does not specify the particular user action needed in an affected application.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203