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

Published Dec 2, 2026
·
Updated

FFmpeg before 9.1 contains an out-of-bounds read vulnerability in xwdencodeframe() in libavcodec/xwdenc.c that copies each RGB24 or BGR24 row using the padded XWD scanline size instead of the pixel row size. Attackers who control the width of video encoded to XWD by an application that supplies tightly packed frames can make the encoder read past 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 the affected Julia FFmpeg packages are exposed when they encode attacker-influenced RGB24 or BGR24 video frames to XWD and provide those frames as tightly packed buffers. The impact can be an application crash or heap data disclosure through the generated XWD image.

2

What must an attacker control to trigger the vulnerability?

The attacker needs to influence the width of video being encoded to XWD. Exploitation also depends on the application supplying tightly packed RGB24 or BGR24 frames to the encoder.

3

Are all XWD encoding workloads affected?

No. The described condition specifically involves RGB24 or BGR24 input frames that are tightly packed. The issue occurs because the encoder copies using the padded XWD scanline size rather than the pixel row size.

4

What can be done if upgrading is not immediately possible?

Avoid encoding attacker-controlled RGB24 or BGR24 frames to XWD, particularly where an attacker can influence frame width. Restricting or validating attacker-controlled dimensions can reduce exposure.

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