CVE-2026-137909
MEDIUM 5.7CVSS 4.0FFmpeg before 9.1 NULL Pointer Dereference via XSUB Encoder Empty Subtitles
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.
- Published
- 27 Nov 2026
- Last modified
- 3 Dec 2026
- Assigned by
- 1a4f025a-074d-4105-b4e2-52bd8eabe2ea
- NVD status
- Analyzed
- Weakness
- CWE-476
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 1a4f025a-074d-4105-b4e2-52bd8eabe2ea (Secondary) | CVSS 4.0 | MEDIUM 5.7 | CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| CVE List | AISLE | CVSS 4.0 | MEDIUM 5.7 | CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
| NVD | 1a4f025a-074d-4105-b4e2-52bd8eabe2ea (Secondary) | CVSS 3.1 | MEDIUM 4.7 | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H |
| CVE List | AISLE | CVSS 3.1 | MEDIUM 4.7 | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H |
| CVE List | CISA-ADP | SSVC | Exploitation: none; Automatable: no; Technical Impact: partial |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | ffmpeg | ffmpegcpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:* |
< 9.1 | 9.1 |
| CVE List | FFmpeg | FFmpeg | < 9.1 | 9.1 |
References
- https://github.com/FFmpeg/FFmpeg · Product
- https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/xsubenc.c#L136 · Product
- https://github.com/FFmpeg/FFmpeg/commit/c4a4d5f72a7d89de23043415a0a45090c51c502a · Patch
History
- 3 Dec 2026 21:56 UTC · NVD: updated (other details)
- 3 Dec 2026 19:56 UTC · CVE List: updated (other details)
- 27 Nov 2026 16:57 UTC · NVD: status Undergoing Analysis → Analyzed; affected list changed (1 entry)
- 27 Nov 2026 14:57 UTC · NVD: first stored (published 27 Nov 2026)
- 27 Nov 2026 12:39 UTC · CVE List: first stored (published 27 Nov 2026)