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.
| Version | Score | Severity | Vector String |
|---|---|---|---|
| 4.0 | 5.7 | Medium | 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 |
| 3.1 | 4.7 | Medium | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H |