Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft media with empty PGS/DVB subtitle events
-
ExploitVictim transcodes to XSUB subtitle codec
-
ExecutionEmpty subtitle reaches xsub_encode()
-
ImpactNULL dereference of rects[0] crashes process
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Null pointer safety, defensive checks
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires a deployment that routes decoded PGS or DVB subtitle streams directly into FFmpeg's XSUB encoder (xsub_encode in libavcodec/xsubenc.c) - typically a transcode producing XSUB/DivX-style subtitles. The attacker must craft a subtitle that decodes to an empty event (num_rects == 0), which pre-9.1 code only warns about before dereferencing rects[0]. Limiting factors per the CVSS 4.0 vector: AV:L (local/pipeline-specific reachability), AC:H and AT:P (a specific condition - an empty-rectangle decode plus the XSUB encode path - must be met), and UI:P (a user/process must passively process the malicious input). The XSUB encode path is not a default workflow, so most FFmpeg deployments are not reachable; impact is limited to a crash (availability only). |
| Impact | This is a medium-severity denial-of-service issue (CVSS 4.0 base 5.7) whose real-world priority is modest. The provided CVSS 4.0 vector (AV:L/AC:H/AT:P/PR:N/UI:P/VC:N/VI:N/VA:H) signals a local attack vector, high attack complexity, a present attack requirement, and passive user interaction, with impact limited to availability (a process crash) - no confidentiality or integrity loss. These severity signals are consistent with the mechanism: the flaw is reachable only in the specific pipeline where decoded PGS/DVB subtitles are fed directly into FFmpeg's XSUB encoder, which is a narrow transcoding configuration rather than a default code path. The vuln.today decision label is 'this_month', not 'act_now' or 'emergency', which aligns with the signals. There is NO CISA KEV listing and NO EPSS score in the input, so exploitation probability cannot be quantified from the data provided; absence of EPSS/KEV should be treated as unknown, not as evidence of safety. No public exploit is identified - the only public artifacts are the upstream fix commit and source references, not working exploit code. Net: a genuine but low-urgency bug worth patching on a normal cycle, not a widespread-exploitation emergency. One item to verify: the CVSS vector asserts AV:L, yet crafted PGS/DVB subtitles can arrive inside a remotely supplied media stream - if a deployment auto-transcodes untrusted remote media to XSUB, the practical reachability is closer to remote than the Local vector implies. |
| Exploit ScenarioDerived | A victim application or service uses FFmpeg to transcode media into a format that uses the XSUB subtitle encoder (e.g., DivX/AVI output) while carrying PGS or DVB subtitle tracks. An attacker supplies a media file whose subtitle stream decodes to empty subtitle events (zero rectangles); when that empty subtitle reaches xsub_encode(), the function only logs a warning and then dereferences rects[0], crashing the process. No public exploit is identified at time of analysis, though the fixing commit (c4a4d5f) is public and reveals the trigger condition. Exploitation requires the local/pipeline-specific XSUB encode path and passive user interaction (processing the file). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 27, 2026
NULL pointer dereference in FFmpeg before 9.1 can crash applications that pass crafted PGS or DVB subtitles into the XSUB encoder, causing denial of service. The bug is in xsub_encode() in libavcodec/xsubenc.c: an empty subtitle event (num_rects == 0) is only warned about before rects[0] is dereferenced. Reachability is limited to pipelines that transcode decoded PGS/DVB subtitles directly to XSUB/DivX-style subtitles; CVSS 4.0 base is 5.7, the vuln.today decision label is this_month, and no public exploit code was identified at time of analysis.
RemediationAI
Vendor-released patch: FFmpeg 9.1. Upgrade to FFmpeg 9.1 or later; the fix commit c4a4d5f72a7d89de23043415a0a45090c51c502a adds an early AVERROR(EINVAL) return when h->num_rects is zero and adjusts the single-rectangle check, as shown at https://github.com/FFmpeg/FFmpeg/commit/c4a4d5f72a7d89de23043415a0a45090c51c502a. If upgrading is not immediately possible, limit exposure by not routing decoded PGS or DVB subtitle streams directly into the XSUB encoder, since that deployment pattern is the exploitation prerequisite; the trade-off is loss of XSUB/DivX-style subtitle transcoding for those inputs. The vendor reference for the vulnerable pre-9.1 code is https://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/xsubenc.c#L136.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
FFmpeg is a multimedia framework, and libavcodec/xsubenc.c implements the XSUB subtitle encoder. The flaw is CWE-476 (NULL pointer dereference): when a decoded subtitle event contains zero rectangles, pre-9.1 code logs only a warning and later indexes rects[0], which is invalid. The fix commit adds an early return with AVERROR(EINVAL) when h->num_rects is zero and changes the single-rectangle check to >1. The CPE entry cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:* is wildcard for the FFmpeg product, while the description and the reference to n9.0.2/libavcodec/xsubenc.c#L136 pinpoint pre-9.1 FFmpeg. PGS (Presentation Graphic Stream) and DVB subtitle decoders can produce empty events that trigger the fault when passed directly to the XSUB encoder, typically in a transcode to XSUB/DivX-style subtitles; this is not a default workflow. The assessed vector rates availability impact High only (VC:N/VI:N/VA:H) with scope unchanged, and exploitation requires the empty-rectangle decode plus the XSUB encode path, making it a medium-severity denial-of-service issue (CVSS 4.0 base 5.7).
Know when Ffmpeg gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Reachable only via the specific XSUB-encode pipeline on crafted empty subtitles (AC:H) and requires processing a malicious input (UI:R, AV:L); impact is a crash, so A:H with C/I:N.
Primary rating from Vendor (AISLE).
CVSS VectorVendor: AISLE
Lifecycle Timeline
2DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A null pointer dereference occurs when a program attempts to access memory through a pointer that has been set to NULL (address 0x0).
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
FFmpeg 2.x allows remote attackers to conduct cross-origin attacks and read arbitrary files by using the concat protocol
FFmpeg before 2.8.12, 3.0.x and 3.1.x before 3.1.9, 3.2.x before 3.2.6, and 3.3.x before 3.3.2 does not properly restric
FFmpeg 2.x allows remote attackers to conduct cross-origin attacks and read arbitrary files by using the subfile protoco
The av_reallocp_array function in libavutil/mem.c in FFmpeg before 2.0.1 has an unspecified impact and remote vectors re
cbs_jpeg_split_fragment in libavcodec/cbs_jpeg.c in FFmpeg 4.1 and 4.2.2 has a heap-based buffer overflow during JPEG_MA
Out-of-bounds heap write in FFmpeg's RASC video decoder (decode_dlta in libavcodec/rasc.c) allows attackers to corrupt m
Memory corruption in FFmpeg before 8.1 allows an attacker who can supply a crafted H.264/HEVC media file to corrupt heap
Memory exhaustion in FFmpeg git-master builds before commit d5873b can occur when a victim processes attacker-controlled
Integer Overflow vulnerability in function filter_sobel in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attacker
Integer Overflow vulnerability in function filter_robert in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attacke
Integer Overflow vulnerability in function filter_prewitt in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attack
Integer Overflow vulnerability in function filter16_sobel in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attack
EUVD-2026-137204
GHSA-47wp-p33q-xrxm
NVD
CVE.org
EPSS
Exploit-DB