CVE-2026-137909
Awaiting Analysis Awaiting Analysis - Queue

NULL Pointer Dereference in FFmpeg XSUB Encoder

Vulnerability report for CVE-2026-137909, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-27

Last updated on: 2026-11-27

Assigner: 1a4f025a-074d-4105-b4e2-52bd8eabe2ea

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-27
Last Modified
2026-11-27
Generated
2026-11-27
AI Q&A
2026-11-27
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
ffmpeg ffmpeg to 9.1 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-476 The product dereferences a pointer that it expects to be valid but is NULL.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a NULL pointer dereference in FFmpeg before version 9.1. It occurs in the xsub_encode() function in libavcodec/xsubenc.c when processing subtitles with no rectangles. The function warns about empty subtitles but then tries to access rects[0], causing a crash. Attackers can exploit this by providing crafted PGS or DVB subtitles that decode to empty events.

Detection Guidance

To detect this vulnerability, check if your FFmpeg version is before 9.1. Run ffmpeg -version to see the installed version. If it is below 9.1, the system is vulnerable. Additionally, monitor for crashes when processing PGS or DVB subtitles.

Impact Analysis

This vulnerability can crash applications that use FFmpeg to process subtitles, especially those passing decoded subtitles directly to the XSUB encoder. It may lead to denial-of-service conditions where affected software becomes unresponsive or terminates unexpectedly.

Compliance Impact

This vulnerability primarily causes application crashes due to NULL pointer dereferencing when processing empty subtitle events. It does not directly impact data confidentiality, integrity, or availability in a way that would violate GDPR or HIPAA compliance requirements. However, crashes could disrupt services handling sensitive data, potentially leading to secondary compliance issues if services fail to process or secure data during outages.

Mitigation Strategies

Upgrade FFmpeg to version 9.1 or later to address the NULL pointer dereference in xsub_encode(). Avoid passing decoded subtitles directly to the XSUB encoder without validation.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-137909. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...