CVE-2026-66037

FFmpeg IAMF Demuxer Uncontrolled Resource Consumption via mix_presentation_obu()

Published Jul 24, 2026 CVSS 4.0 · 7.1 High EPSS < 1% KEV · Not listed
Description
FFmpeg through 8.1.2, fixed in commit 5d7112c, contains an uncontrolled resource consumption vulnerability in the IAMF demuxer that allows an unauthenticated attacker to cause multi-gigabyte memory allocation from a 17-byte input file by supplying a crafted count_label field. The mix_presentation_obu() function in libavformat/iamf_parse.c calls av_calloc(count_label, sizeof(*language_label)) with an attacker-controlled value before validating available OBU data, enabling an allocation amplification of approximately 126 million bytes per input byte that exhausts process memory or triggers an OOM-kill during format probing.

Analysis

AI-generated

Technical impact

FFmpeg versions prior to 8.1.2 have an IAMF demuxer flaw where the mix_presentation_obu() function allocates memory based on a count_label field before validating the input. An attacker can supply a crafted 17‑byte file that causes an allocation amplification of roughly 126 million bytes for each input byte. The resulting uncontrolled memory usage can exhaust the process’s RAM or trigger an OOM kill, effectively denying service for any application that parses IAMF files.

Affected Systems

All FFmpeg releases up to and including 8.1.2 are affected. The issue was fixed in commit 5d7112c, so any version derived from 8.1.3 or later is safe. The vendor is FFmpeg and the weakness is classified as CWE‑770.

Risk and Exploitability

The CVSS score of 7.1 indicates a moderate‑to‑high severity. The EPSS score of less than 1% suggests that, as of the latest data, exploitation attempts are rare, and the vulnerability is not currently listed in CISA’s KEV catalog. The likely attack surface is a local file or any context where an attacker can supply a crafted IAMF file to an FFmpeg‑based application, such as media players or encoding tools that automatically probe media files.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade FFmpeg to the latest release that includes the commit 5d7112c; e.g., version 8.1.3 or later.
  • If an upgrade is not immediately possible, configure the application or system to reject or limit processing of IAMF files, preventing the misuse of the demuxer during probing.
  • Apply system resource limits (e.g., ulimit or container memory caps) to constrain the maximum memory a single FFmpeg process may consume, mitigating the impact of any residual allocation amplification.

Generated by OpenCVE AI on August 3, 2026 at 19:43 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Ffmpeg
Ffmpeg ffmpeg
Vendors & Products Ffmpeg
Ffmpeg ffmpeg
Type Values Removed Values Added
Description FFmpeg through 8.1.2, fixed in commit 5d7112c, contains an uncontrolled resource consumption vulnerability in the IAMF demuxer that allows an unauthenticated attacker to cause multi-gigabyte memory allocation from a 17-byte input file by supplying a crafted count_label field. The mix_presentation_obu() function in libavformat/iamf_parse.c calls av_calloc(count_label, sizeof(*language_label)) with an attacker-controlled value before validating available OBU data, enabling an allocation amplification of approximately 126 million bytes per input byte that exhausts process memory or triggers an OOM-kill during format probing.
Title FFmpeg IAMF Demuxer Uncontrolled Resource Consumption via mix_presentation_obu()
Weaknesses CWE-770
References
Metrics cvssV3_1

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

cvssV4_0

{'score': 7.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-770

    Allocation of Resources Without Limits or Throttling

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Jul 28, 2026, 1:06 AM
Reserved
Jul 23, 2026, 8:45 PM
Status
Analyzed
Published
Jul 24, 2026, 8:18 PM
Modified
Aug 7, 2026, 12:58 AM
Severity
Moderate
Public date
Jul 24, 2026, 7:36 PM