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.
Published: 2026-07-24
Score: 7.1 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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 yet.

History

Fri, 31 Jul 2026 00:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Moderate


Tue, 28 Jul 2026 01:30:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:ffmpeg:ffmpeg:*:*:*:*:*:*:*:*

Mon, 27 Jul 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Fri, 24 Jul 2026 23:45:00 +0000

Type Values Removed Values Added
First Time appeared Ffmpeg
Ffmpeg ffmpeg
Vendors & Products Ffmpeg
Ffmpeg ffmpeg

Fri, 24 Jul 2026 19:45:00 +0000

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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-07-28T01:06:28.161Z

Reserved: 2026-07-23T20:45:17.816Z

Link: CVE-2026-66037

cve-icon Vulnrichment

Updated: 2026-07-27T16:15:24.336Z

cve-icon NVD

Status : Analyzed

Published: 2026-07-24T20:18:20.573

Modified: 2026-08-07T00:58:46.967

Link: CVE-2026-66037

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-24T19:36:53Z

Links: CVE-2026-66037 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T19:45:07Z

Weaknesses
  • CWE-770

    Allocation of Resources Without Limits or Throttling