Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessDeliver crafted HEIF/AVIF file to target
-
ExploitFFmpeg parses tile grid during demux
-
ExecutionAllocation failure hits NULL tile_grid cleanup path
-
ImpactApplication 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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
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
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
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.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
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
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.
Related Vulnerabilities in FFmpeg Memory Corruption and NULL Dereference Flaws
View all 34FFmpeg 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-133625
GHSA-9hxv-xfh8-w694
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB