JLSEC-2026-2221: FFmpeg before 9.1 contains a NULL pointer dereference vulnerability in xsub_encode() in...

Published Dec 2, 2026
·
Updated

FFmpeg before 9.1 contains a NULL pointer dereference vulnerability in xsubencode() in libavcodec/xsubenc.c that only warns when a subtitle has no rectangles and then dereferences rects[0]. Attackers can supply crafted PGS or DVB subtitles that decode to empty subtitle events, crashing applications that pass decoded subtitles directly to the XSUB encoder.

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 exposed to a crash from this issue?

Applications using the affected FFmpeg packages are exposed when they decode PGS or DVB subtitles and pass the resulting subtitle events directly to the XSUB encoder. The impact described is a crash caused by a NULL pointer dereference.

2

What must an attacker provide to trigger the issue?

An attacker must supply crafted PGS or DVB subtitle content that decodes into an empty subtitle event with no rectangles. Exploitation also depends on the application forwarding that decoded event to the XSUB encoder.

3

Are all subtitle-processing workflows affected?

No. The described vulnerable path requires use of the XSUB encoder after decoding PGS or DVB subtitles. Workflows that do not encode decoded subtitles as XSUB are not described as affected.

4

What version should be used to address the issue?

The issue affects FFmpeg versions before 9.1. Updating to FFmpeg 9.1 or later addresses the affected version range described.

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