Skip to main content

FFmpeg EUVDEUVD-2026-137204

| CVE-2026-137909 MEDIUM
NULL Pointer Dereference (CWE-476)
2026-11-27 AISLE GHSA-47wp-p33q-xrxm
5.7
CVSS 4.0 · Vendor: AISLE
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft media with empty PGS/DVB subtitle events
  2. Exploit
    Victim transcodes to XSUB subtitle codec
  3. Execution
    Empty subtitle reaches xsub_encode()
  4. Impact
    NULL 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).

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

FFmpeg 0 <9.1

Affected Packages

euvd ffmpeg fix: 9.1

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

Vendor (AISLE) PRIMARY 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
vuln.today AI 4.7 MEDIUM

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.

3.1 AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H
4.0 AV:L/AC:H/AT:P/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (AISLE).

CVSS VectorVendor: AISLE

Attack Vector
Local
Attack Complexity
High
Attack Requirements
Present
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Nov 27, 2026 - 14:01 EUVD
CVE Published
Nov 27, 2026 - 12:15 cve.org
MEDIUM 5.7

DescriptionCVE.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

EPSS Score
0.2%
Top 91% exploitable
Prevalence
Ubiquitous
FFmpeg libraries are embedded across vast numbers of media applications and platforms
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
High

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

More in Ffmpeg

View all
CVE-2016-1897 MEDIUM POC
5.5 Jan 15

FFmpeg 2.x allows remote attackers to conduct cross-origin attacks and read arbitrary files by using the concat protocol

CVE-2017-9993 HIGH
7.5 Jun 28

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

CVE-2016-1898 MEDIUM POC
5.5 Jan 15

FFmpeg 2.x allows remote attackers to conduct cross-origin attacks and read arbitrary files by using the subfile protoco

CVE-2013-4265 CRITICAL POC
10.0 Nov 23

The av_reallocp_array function in libavutil/mem.c in FFmpeg before 2.0.1 has an unspecified impact and remote vectors re

CVE-2020-12284 CRITICAL POC
9.8 Apr 28

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

CVE-2026-58049 HIGH POC
8.8 Jun 28

Out-of-bounds heap write in FFmpeg's RASC video decoder (decode_dlta in libavcodec/rasc.c) allows attackers to corrupt m

CVE-2026-30754 HIGH POC
8.8 Sep 08

Memory corruption in FFmpeg before 8.1 allows an attacker who can supply a crafted H.264/HEVC media file to corrupt heap

CVE-2025-25469 HIGH POC
8.8 Feb 18

Memory exhaustion in FFmpeg git-master builds before commit d5873b can occur when a victim processes attacker-controlled

CVE-2021-38094 HIGH POC
8.8 Sep 20

Integer Overflow vulnerability in function filter_sobel in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attacker

CVE-2021-38093 HIGH POC
8.8 Sep 20

Integer Overflow vulnerability in function filter_robert in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attacke

CVE-2021-38092 HIGH POC
8.8 Sep 20

Integer Overflow vulnerability in function filter_prewitt in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attack

CVE-2021-38091 HIGH POC
8.8 Sep 20

Integer Overflow vulnerability in function filter16_sobel in libavfilter/vf_convolution.c in Ffmpeg 4.2.1, allows attack

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy