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
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.
| Product | Versions |
|---|---|
| FFmpeg FFmpeg | before 9.1 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 5.7 Medium | AISLE | |
| 3.1 | 4.7 Medium | AISLE |
Weaknesses
- CWE-476 NULL Pointer Dereference
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.