Skip to main content

FFmpeg EUVDEUVD-2026-133625

| CVE-2026-135724 MEDIUM
NULL Pointer Dereference (CWE-476)
2026-11-24 VulnCheck GHSA-9hxv-xfh8-w694
5.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Deliver crafted HEIF/AVIF file to target
  2. Exploit
    FFmpeg parses tile grid during demux
  3. Execution
    Allocation failure hits NULL tile_grid cleanup path
  4. Impact
    Application crashes (denial of service)

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 an application using FFmpeg before 9.1 to parse an attacker-supplied crafted HEIF/AVIF file AND a memory allocation failure to occur during tile grid parsing - the crash manifests on the error/cleanup path in ff_free_stream_group() when stg->type was set before the tile_grid parameters were allocated, so a NULL tile_grid is dereferenced. Key limiting factors: the vector is local (AV:L) and demands that the victim or application actually process the malicious file (UI:P); the impact is availability-only (a crash, no code execution or data exposure); and triggering depends on an out-of-memory condition the attacker does not reliably control (reflected as AT:P and AC:H), which makes dependable exploitation difficult. The complete fix is upgrading to FFmpeg 9.1 (or applying commit 403b3c29).

Impact

This is a medium-severity denial-of-service issue (vendor CVSS 4.0 base 5.7), and the signals consistently point to limited real-world urgency rather than a top-tier emergency. The CVSS 4.0 vector (AV:L/AC:H/AT:P/PR:N/UI:P/VC:N/VI:N/VA:H) describes a local, availability-only crash requiring user interaction and carrying an explicit attack requirement (AT:P) plus high complexity (AC:H) - the description confirms the NULL dereference only manifests during tile grid parsing 'under allocation failure,' an out-of-memory condition the attacker does not reliably control, which is the mechanism behind AT:P/AC:H. There is no code execution, no confidentiality or integrity impact - only a crash (CWE-476). No EPSS score is provided in the input, and there is no CISA KEV listing, so exploitation probability cannot be quantified and active exploitation is not indicated. The provided references are a fix pull request (#24932) and the patch commit, not exploit code, so no public working exploit is identified. The vuln.today decision label is 'this_month' (routine patch cadence), which aligns with the picture: a widely deployed library (FFmpeg) but a low-impact, hard-to-reliably-trigger DoS. Net: real but low-priority - schedule the patch in normal cycles; it is not an emergency.

Exploit ScenarioDerived

An attacker crafts a malformed HEIF/AVIF file and gets a victim application built on FFmpeg to parse it (for example a media transcoding or thumbnailing service). If a memory allocation failure occurs during tile grid parsing, the premature setting of the stream-group type causes ff_free_stream_group() to dereference a NULL tile_grid on the cleanup path, crashing the process. No public exploit code is identified; successful triggering also depends on an allocation-failure condition the attacker does not directly control, consistent with the local vector and user-interaction requirement.

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 24, 2026

Denial of service in FFmpeg before 9.1 allows crafted HEIF/AVIF files to crash applications that decode them via libavformat, once a memory allocation failure occurs during tile grid parsing. The flaw is a NULL pointer dereference in avformat_stream_group_create(), which assigns the stream group type before the tile_grid parameters are allocated, so the cleanup routine ff_free_stream_group() later follows a NULL tile_grid pointer. The CVSS 4.0 vector is local with high attack complexity and a prerequisite attacker-controlled-conditions flag (AT:P), reflecting that exploitation hinges on an out-of-memory condition the attacker does not reliably control; impact is availability-only (crash, no code execution or data disclosure). No public exploit code and no confirmed active exploitation were identified at time of analysis, and the vendor-released fix is FFmpeg 9.1.

RemediationAI

Vendor-released patch: upgrade to FFmpeg 9.1, the first release containing the corrected ordering in avformat_stream_group_create(). Distributions and integrators that cannot move to 9.1 immediately can backport upstream commit 403b3c294f765a0a3395cb3ffb72e23d8633cb56 (merge request https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24932), which relocates the stg->type assignment after the tile_grid allocation; the change is small but must be applied to every shipped libavformat build, including those statically linked into media servers, thumbnailers and image converters. The vendor's complete fix is the version upgrade or that commit, and there is no parameter-level configuration switch that removes the bug. Until a patched build is deployed, the practical compensating control is to stop feeding untrusted HEIF/AVIF input to FFmpeg-based components - disable those decoders/demuxers or sandbox and cap memory for the parsing process - accepting the trade-off that legitimate HEIF/AVIF handling is lost or that the crash may still occur under genuine memory exhaustion inside the sandbox. Advisory details are at https://www.vulncheck.com/advisories/ffmpeg-before-9-1-null-pointer-dereference-via-avformat-stream-group-create.

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

The defect is a classic CWE-476 NULL pointer dereference in FFmpeg's libavformat/options.c. In avformat_stream_group_create(), the group type (stg->type) was written before the parameters for the group were allocated. When parsing a HEIF/AVIF container that uses tile grids, an allocation failure partway through leaves stg->type populated while the tile_grid pointer is still NULL; the error/cleanup path calls ff_free_stream_group(), which dispatches on the already-set type and dereferences the missing tile_grid, terminating the process. The upstream fix (commit 403b3c294f765a0a3395cb3ffb72e23d8633cb56) simply moves the stg->type assignment after the parameter allocation, so a partially constructed group cannot be mistaken for a fully initialised one during teardown. CPE data (cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*) covers all FFmpeg releases before 9.1; the referenced source line sits in the n9.0.2 tree, confirming 9.0.x is affected. Because the crash requires an allocation failure, exploitation is not deterministic and depends on memory pressure at the moment the crafted container is parsed - consistent with the assessed CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H and the CVSS 4.0 AT:P/AC:H ratings. Impact is limited to availability of the parsing application; there is no memory corruption, code execution or data exposure described in any source.

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 (VulnCheck) 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

Local file-parsing crash requiring the app to process the file (UI:R) and dependent on an uncontrolled allocation failure (AC:H); availability-only NULL dereference, so C:N/I:N/A:H.

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
Red Hat 4.7 MEDIUM

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

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

DescriptionCVE.org

FFmpeg before 9.1 contains a NULL pointer dereference vulnerability in avformat_stream_group_create() in libavformat/options.c that sets the group type before allocating parameters. Attackers can supply crafted HEIF/AVIF files whose tile grid parsing under allocation failure makes ff_free_stream_group() dereference a NULL tile_grid, crashing the application.

Threat Intelligence Overview

EPSS Score
0.2%
Top 96% exploitable
Prevalence
Ubiquitous
core multimedia library embedded in countless applications, platforms, and services
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor CIRCL GitHub VulDB

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
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

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

Vendor StatusVendor

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