Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft IMC/IAC file with negative bit budget
-
DeliveryDeliver file to victim or decode pipeline
-
ExploitFFmpeg bit_allocation() drives freebits negative
-
ExecutionReduction loop never terminates
-
ImpactDecode thread hangs at 100% CPU
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Loop termination conditions
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 the target to decode an attacker-supplied IMC or IAC audio file using FFmpeg/libavcodec (the vulnerable bit_allocation() path in libavcodec/imc.c); the crafted file must contain audio blocks whose bit budget drives freebits negative. Per the CVSS vector this needs passive user interaction (UI:P) - a victim opening the file or an automated pipeline ingesting it - and no authentication (PR:N). Limiting factors: impact is confined to availability (CPU exhaustion / decode hang) with no code execution, data read, or data modification; the attacker needs the IMC/IAC code path specifically to be reached; and the scored vector is local (AV:L), so a victim or automated decoder must actually process the malicious input. Effective exposure rises for services that auto-decode untrusted uploaded media. |
| Impact | The signals point to a real but moderate-priority issue rather than a top-tier emergency. The input CVSS 4.0 score is 6.8 (medium), driven entirely by availability impact (VA:H) with no confidentiality or integrity effect, a local attack vector (AV:L), low complexity (AC:L), no privileges (PR:N), and passive user interaction (UI:P) - i.e. a victim or pipeline must decode the attacker's file. There is no CISA KEV listing (not actively exploited per available data), no EPSS score supplied to gauge exploitation probability, and no public exploit identified at time of analysis. The vuln.today Decision label is 'this_month', consistent with a serious-but-not-urgent DoS rather than act_now/emergency. One point to verify: the vector is scored AV:L, but in practice IMC/IAC files are often fed to libavcodec by automated/server-side media pipelines that ingest untrusted uploads - in such deployments the realistic exposure behaves closer to remote, so defenders processing untrusted media at scale should weight this higher than the raw AV:L implies. Net: a genuine denial-of-service worth patching on a normal cycle, not a high-CVSS-but-no-real-risk item, but also not a drop-everything flaw since impact is limited to CPU exhaustion with no code execution or data exposure. |
| Exploit ScenarioDerived | An attacker crafts a malicious IMC or IAC audio file whose block data drives the freebits value negative and delivers it to a target that decodes media with FFmpeg - for example an upload-processing service, a transcoding pipeline, or an end user opening the file. When libavcodec's bit_allocation() processes it, the bit-reduction loop never terminates and pins a CPU core at 100%, hanging the decode and denying service. No public exploit code is identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 09, 2026
Decoding a crafted IMC or IAC audio file with FFmpeg through 9.0.2 can pin a CPU core indefinitely, because bit_allocation() in libavcodec/imc.c never terminates once the computed bit budget goes negative. Only availability is affected - there is no memory corruption, code execution, or data exposure - and per the assessed vector the attacker must get the target to process the malicious media with user interaction (UI:R) on a local attack path. No public exploit code was identified at time of analysis, and the issue is triaged as a moderate, this-month priority rather than an emergency; exposure grows for services and pipelines that automatically decode untrusted uploaded media.
RemediationAI
Upstream fix available (PR/commit); released patched version not independently confirmed - apply commit 9b26bb4c9a4457d480899a1bf64ec080eceb1acd (https://github.com/FFmpeg/FFmpeg/commit/9b26bb4c9a4457d480899a1bf64ec080eceb1acd, tracked as https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25696), which rejects negative bit budgets with AVERROR_INVALIDDATA, and move to a tagged FFmpeg release that contains it as soon as one is published; verify with your distribution or product vendor that libavcodec carries the guard, since rebuilding the library is required for linked applications. Until then, treat untrusted IMC/IAC media as hostile: refuse or transcode-off those formats at ingest (trade-off: legitimate .imc/.iac content stops working), and run every decode of user-supplied media with hard resource caps such as CPU-time and wall-clock limits (for example ffmpeg's -timelimit) so a spinning bit_allocation() thread is killed rather than left running (trade-off: long but legitimate transcodes may be truncated, so size limits to real workloads). Sandboxing or containerizing decoder workers with per-process CPU quotas limits the blast radius of a hung decode, at the cost of extra infrastructure, and batch pipelines that auto-decode uploads should cap concurrency so a single malicious file cannot exhaust the worker pool. Full details are in the VulnCheck advisory at https://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-infinite-loop-denial-of-service-via-imc-iac-decoder.
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
IMC (Intel Music Coder) and its sibling IAC (Indeo Audio Codec) are lossy audio formats decoded by libavcodec/imc.c in FFmpeg. During frame decoding, bit_allocation() runs a reduction loop that distributes a fixed bit budget across subbands, removing bits from the least-needed bands until the budget fits. Crafted audio blocks can drive the freebits counter below zero, at which point the loop's termination condition is never satisfied and decoding spins forever, consuming 100% CPU for that thread - the classic CWE-835 Infinite Loop pattern. The upstream fix (commit 9b26bb4c9a4457d480899a1bf64ec080eceb1acd, corresponding to pull request 25696) adds an explicit guard of the form 'if (freebits < 0) return AVERROR_INVALIDDATA;' so malformed input is rejected instead of looping. The trigger is specifically the IMC/IAC decoder path being reached with a negative bit budget; the affected source is identifiable at libavcodec/imc.c in the n9.0.2 tag. Per the authoritative assessment the flaw is locally scored (AV:L) with passive user interaction and no privileges required, and the impact is confined to availability.
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
Local crafted-file trigger requiring victim decode gives AV:L and UI:R; no auth needed (PR:N); availability-only hang yields A:H with C:N/I:N and unchanged scope.
Primary rating from Vendor (vulncheck).
CVSS VectorVendor: vulncheck
DescriptionCVE.org
FFmpeg through 9.0.2 contains an infinite loop vulnerability in bit_allocation() in libavcodec/imc.c that allows attackers to hang decoding by supplying audio blocks with a negative bit budget. Attackers can craft IMC or IAC audio files that drive freebits negative, causing the reduction loop to never terminate and consuming 100% CPU.
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-120248
GHSA-966g-vp32-mvpw
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB