Description
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.
Published: 2026-11-09
Score: 6.8 Medium
EPSS: n/a
KEV: No
Impact: Denial of Service via Infinite Loop
Action: Patch
AI Analysis

Impact

FFmpeg 9.0.2 and earlier contain an infinite loop in the bit_allocation() function of libavcodec/imc.c. The flaw is triggered when decoding IMC or IAC audio blocks that supply a negative bit budget. When the freebits value goes negative the loop that reduces this value never terminates, forcing the CPU to spend 100 % of its cycles in the decoder and rendering the process unresponsive.

Affected Systems

The vulnerability affects the FFmpeg library up to and including version 9.0.2. Any system or application that uses this version of FFmpeg for audio decoding of IMC or IAC files is susceptible. The common platform enumeration identifies the product as ffmpeg:ffmpeg, and affected vendors/products list only FFmpeg.

Risk and Exploitability

The CVSS score of 6.8 indicates a medium severity for disruption. EPSS data is currently unavailable, and the vulnerability is not listed in CISA’s KEV catalog. The likely attack vector is via a maliciously crafted audio file processed by an application that links to the vulnerable FFmpeg library; this inference is based on the description of an attacker supplying such a file to trigger the infinite loop.

Generated by OpenCVE AI on November 9, 2026 at 20:52 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade FFmpeg to a version newer than 9.0.2 that includes the patch for the infinite‑loop defect
  • Reconfigure applications to disable IMC/IAC decoding when those audio formats are not required, either by setting codec‑specific options or compiling FFmpeg without support for those codecs
  • After applying the upgrade or configuration change, restart affected services to clear any cached decoder state and monitor CPU usage for abnormal spikes

Generated by OpenCVE AI on November 9, 2026 at 20:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 09 Nov 2026 19:15:00 +0000

Type Values Removed Values Added
Description 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.
Title FFmpeg through 9.0.2 Infinite Loop Denial of Service via IMC/IAC Decoder
First Time appeared Ffmpeg
Ffmpeg ffmpeg
Weaknesses CWE-835
CPEs cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*
Vendors & Products Ffmpeg
Ffmpeg ffmpeg
References
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'}

cvssV4_0

{'score': 6.8, 'vector': '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-11-09T21:06:58.891Z

Reserved: 2026-11-09T16:44:50.859Z

Link: CVE-2026-125073

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-09T19:16:50.140

Modified: 2026-11-09T19:16:50.140

Link: CVE-2026-125073

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-09T21:00:09Z

Weaknesses
  • CWE-835

    Loop with Unreachable Exit Condition ('Infinite Loop')