FFmpeg before 9.1 NULL Pointer Dereference via XSUB Encoder Empty Subtitles

State
Published
Severity
5.7 Medium
Published
Nov 27, 2026
Updated
Nov 27, 2026
Reserved
Nov 27, 2026

Read the record on cve.org

Description

FFmpeg before 9.1 contains a NULL pointer dereference vulnerability in xsub_encode() 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.

ProductVersions
FFmpeg FFmpegbefore 9.1 Affected

Weaknesses

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.