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.
{
"license": "CC-BY-4.0",
"sources": [
{
"affected": {
"ffmpeg:ffmpeg": [
"< 9.1"
]
},
"database_specific": {
"status": "Analyzed"
},
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-137909",
"id": "CVE-2026-137909",
"imported": "2026-12-02T20:13:53.593Z",
"modified": "2026-11-27T15:17:18.417Z",
"published": "2026-11-27T13:17:25.843Z",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-137909"
},
{
"html_url": "https://github.com/advisories/GHSA-47wp-p33q-xrxm",
"id": "GHSA-47wp-p33q-xrxm",
"imported": "2026-12-02T20:14:55.460Z",
"modified": "2026-11-27T15:31:42Z",
"published": "2026-11-27T15:31:36Z",
"url": "https://api.github.com/advisories/GHSA-47wp-p33q-xrxm"
},
{
"affected": {
"FFMPEG:FFmpeg": [
"0 <9.1"
]
},
"html_url": "https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-137204",
"id": "EUVD-2026-137204",
"imported": "2026-12-02T20:13:54.590Z",
"modified": "2026-11-27T12:15:14Z",
"published": "2026-11-27T12:15:14Z",
"url": "https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-137204"
}
]
}