Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft HEVC/VVC file with zero-increment AFGS1 scaling points
-
DeliveryDeliver file to victim or transcoding pipeline
-
ExploitFFmpeg parses T.35 SEI film-grain data
-
ExecutionDivide-by-zero in generate_scaling()
-
ImpactDecoder crash (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 Division safety checks
|
| Exploitation Conditions | Exploitation requires the target to decode an attacker-crafted HEVC or VVC file whose T.35 SEI message carries AFGS1 film-grain scaling points with repeated (zero-increment) x values; parsing that specific malformed film-grain metadata is what drives the division by zero in generate_scaling(). Limiting factors: the victim must actively process the malicious file (UI:P), the attack vector is local decoding (AV:L) rather than a direct network service hit, and impact is confined to a decoder crash (availability only - no code execution, data disclosure, or integrity loss indicated). The realistic exposure concentrates in deployments that decode untrusted media (upload processors, transcoding services, media players). The condition does not depend on a non-default configuration beyond having AFGS1/film-grain-capable HEVC or VVC decoding engaged. |
| Impact | This is a genuine but bounded issue, best characterized as a medium-severity denial-of-service rather than a top-tier emergency. The CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H) scores 6.8 and tells a consistent story: impact is limited to availability (VA:H) with no confidentiality or integrity effect, exploitation requires passive user interaction (UI:P - the victim must decode an attacker-supplied file), and the vector is local (AV:L) because the malicious media must be processed on the target. CWE-369 (divide-by-zero) and the 'Denial Of Service' tag align with the described crash in generate_scaling(). The vuln.today priority is 'this_month', not act_now or emergency, which matches the risk picture. No KEV listing, no EPSS score, and no confirmed exploit code are present in the input, so there is no signal of active exploitation - the only exploitation-related artifact is the upstream fix commit and PR, which is remediation evidence, not an attack tool. The one tension worth flagging: AV:L here reflects that a file must be locally decoded, but in practice FFmpeg frequently decodes untrusted remote/user-supplied media (uploads, streams, transcoding pipelines), so the 'local' label understates reachability in server-side transcoding deployments while still being technically correct about where processing occurs. |
| Exploit ScenarioDerived | An attacker crafts a malicious HEVC or VVC media file containing AFGS1 film-grain scaling points with repeated x values (zero-increment) inside a T.35 SEI message. When a victim or an automated pipeline decodes this file with a vulnerable FFmpeg build, generate_scaling() divides by zero and the decoder crashes, denying service. No public exploit code is identified in the input, but the triggering condition is precisely described and the fixing commit is public. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 09, 2026
Decoding a crafted HEVC or VVC file with FFmpeg through 9.0.2 can crash the process: malformed AFGS1 film-grain scaling points in a T.35 SEI message carry repeated (zero-increment) x values, and generate_scaling() then divides by zero. Affected are builds whose HEVC/VVC decoding path parses AFGS1 film-grain metadata, i.e. any deployment processing untrusted media such as upload validators, transcoding farms and media players. No privileges are required, but the victim must open or process the file (CVSS:4.0 AV:L/PR:N/UI:P, high availability-only impact); there is no confirmed active exploitation (not in CISA KEV) and no public exploit code identified at time of analysis, and the priority label places it in the this-month remediation queue rather than an emergency.
RemediationAI
Upstream fix available (PR/commit); released patched version not independently confirmed: apply commit b8daf520dd03f6139aa053acb768f3c4594599d9 (merge request https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25572) or take an FFmpeg build that includes it, since all releases through 9.0.2 remain vulnerable, and track https://github.com/FFmpeg/FFmpeg for the tagged release that carries the change. Because exploitation requires the decoder to be handed an attacker-crafted HEVC/VVC file (AV:L, UI:P/UI:R, availability impact only), the practical containment until the fixed build is deployed is to keep decoding of untrusted media inside a disposable, restartable worker process with CPU/time limits so a division-by-zero abort costs only that worker, and to treat decoder crashes on uploads as an indicator that malformed AFGS1 film-grain metadata was submitted.
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 flaw sits in FFmpeg's libavcodec film-grain handling for AV1-style metadata: ff_aom_parse_film_grain_sets() in libavcodec/aom_film_grain.c populates AVFilmGrainAFGS1Params from T.35 SEI messages embedded in HEVC or VVC bitstreams, then generate_scaling() in libavcodec/aom_film_grain_template.c computes segment widths from the x-coordinate of consecutive scaling points (the n9.0.2 source points at line 457 of that template). Parsing only bounds-checked each point against UINT8_MAX, so a second point repeating the previous point's x value produced a zero-increment segment and a subsequent division by zero - CWE-369. The upstream fix (commit b8daf520dd03f6139aa053acb768f3c4594599d9, PR 25572) hardens both the luma and chroma loops with i && y_value aom->y_points[i - 1][0] and i && uv_value aom->uv_points[uv][i - 1][0] so duplicate x values are rejected as malformed instead of reaching the scaler. The trigger is a specific malformed film-grain payload; no memory corruption, code execution or data exposure primitive is described.
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:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
A victim must decode an attacker-supplied file (AV:L, UI:R); no privileges needed (PR:N); the deterministic divide-by-zero is reliably triggerable (AC:L); impact is a decoder crash only (A:H, C:N, I:N).
Primary rating from Vendor (vulncheck).
CVSS VectorVendor: vulncheck
DescriptionCVE.org
FFmpeg through 9.0.2 contains a division by zero vulnerability in ff_aom_parse_film_grain_sets() that fails to reject AFGS1 scaling points with repeated x values. Attackers can supply crafted HEVC or VVC files with zero-increment scaling points in T.35 SEI messages, causing generate_scaling() to divide by zero and crash the decoder.
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
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-120274
GHSA-pgwj-4q23-4rrr
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB