FFmpeg before 9.1 NULL Pointer Dereference via XSUB Encoder Empty Subtitles
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| FFmpegFFmpeg |
< 9.1→ 9.1 |
9.1 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Alpine Linux ALPINE-CVE-2026-137909 ffmpeg Fix available
- Debian DEBIAN-CVE-2026-137909 ffmpeg No fixed version in this record
- Ubuntu UBUNTU-CVE-2026-137909 libav, ffmpeg No fixed version in this record
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- web github.com
- web github.com