CVE-2026-137909

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*

History

27 Nov 2026, 15:17

Type Values Removed Values Added
References () https://github.com/FFmpeg/FFmpeg - () https://github.com/FFmpeg/FFmpeg - Product
References () https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/xsubenc.c#L136 - () https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/xsubenc.c#L136 - Product
References () https://github.com/FFmpeg/FFmpeg/commit/c4a4d5f72a7d89de23043415a0a45090c51c502a - () https://github.com/FFmpeg/FFmpeg/commit/c4a4d5f72a7d89de23043415a0a45090c51c502a - Patch
CPE cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*
First Time Ffmpeg ffmpeg
Ffmpeg

27 Nov 2026, 13:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-11-27 13:17

Updated : 2026-11-27 15:17


NVD link : CVE-2026-137909

Mitre link : CVE-2026-137909

CVE.ORG link : CVE-2026-137909


JSON object : View

Products Affected

ffmpeg

  • ffmpeg
CWE
CWE-476

NULL Pointer Dereference