Home › CVE › Vulnerabilities
CVE-2026-137909 — FFmpeg
One of 7 FFmpeg vulnerabilities published together by NVD: our article covers all of them.
VulnerabilitiesSummary
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.
Severity breakdown
Medium · 5.7
An attacker without an account can exploit this with local access if a user views or visits something, but only under specific conditions.
- Attack from
- local access (a logged-in user, or a malicious file opened on the device)
- Attack complexity
- high (only works under specific conditions)
- Special conditions
- only in some setups or conditions
- Login needed
- no
- User action needed
- yes, a user must view or visit something
- Impact
- high on availability, none on confidentiality and integrity
- Impact on other systems
- none
Weakness
- CWE-476: NULL Pointer Dereference
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| FFmpeg | < 9.1 | 9.1 |
References by type
Patches and fixed releases
Other references
Affected
- FFmpeg
What to do
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-137909?
FFmpeg before 9.1 contains a NULL pointer dereference vulnerability in xsubencode() 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. Weakness type: NULL Pointer Dereference (CWE-476).
How severe is CVE-2026-137909?
CVE-2026-137909 has a CVSS 4.0 base score of 5.7 (medium), from the CNA. An attacker without an account can exploit this with local access if a user views or visits something, but only under specific conditions.
Is CVE-2026-137909 being exploited?
Not as far as is known: CVE-2026-137909 is not in CISA's Known Exploited Vulnerabilities catalog as of November 29, 2026. EPSS estimates a 0.2% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-137909?
FFmpeg < 9.1 (fixed in 9.1).
How do I fix CVE-2026-137909?
Update to a fixed release: FFmpeg 9.1.