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.

CVSS base score
4.7 (v3.1)
Severity
MEDIUM
Attack vector
Local
Weakness
CWE-476
Last modified
December 3, 2026
CVSS vector
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H

Affected products

ffmpeg ffmpeg

References

View full NVD advisory →

More ffmpeg vulnerabilities

Published the same day

← Back to CVE watch