Skip to main content

FFmpeg EUVDEUVD-2026-120248

| CVE-2026-125073 MEDIUM
Loop with Unreachable Exit Condition (Infinite Loop) (CWE-835)
2026-11-09 disclosure@vulncheck.com GHSA-966g-vp32-mvpw
6.8
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

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

  1. Access
    Craft IMC/IAC file with negative bit budget
  2. Delivery
    Deliver file to victim or decode pipeline
  3. Exploit
    FFmpeg bit_allocation() drives freebits negative
  4. Execution
    Reduction loop never terminates
  5. Impact
    Decode 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

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

Alert me

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

FFmpeg 0 ≤9.0.2

Affected Packages

euvd ffmpeg no fix

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

Vendor (vulncheck) PRIMARY 6.8 MEDIUM
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
vuln.today AI 5.5 MEDIUM

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.

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

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
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 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

EPSS Score
0.2%
Top 94% exploitable
Prevalence
Ubiquitous
libavcodec is embedded in most media processing stacks and applications
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor GitHub

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 No
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

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

Attack Technique

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