Cloudanix VulnDB

CVE-2026-66037

Medium · 6.5

CVSS

6.5

EPSS

0.3%

Published

Jul 24, 2026

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A media-processing program can be made to crash by feeding it an extremely small file that forces the program to reserve enormous amounts of memory.

Exploitation
Requires User Interaction
Attacker needs
User Interaction
Complexity
Low
Impact
Denial Of Service
Component
Library
Class
Denial of service
Remediation
Patch
Effort
Medium
Patch risk
Low

What it actually does

The vulnerability permits an attacker-controlled count_label value in an IAMF file to trigger av_calloc(count_label, sizeof(*language_label)) in mix_presentation_obu() before OBU data validation, producing an allocation amplification of ~126 MB per input byte and exhausting process memory during format probing.

Why it matters to the business

Applications that ingest or probe untrusted media files may experience abrupt crashes or OOM termination, interrupting media pipelines, transcoding jobs, and any downstream services that rely on FFmpeg.

How an attack unfolds

An attacker supplies a 17-byte crafted IAMF file containing an oversized count_label field; when FFmpeg performs format detection the vulnerable demuxer path allocates multi-gigabyte memory before any size check, resulting in memory exhaustion.

How to fix it

Apply the patch from commit 5d7112c or upgrade FFmpeg beyond version 8.1.2 so that count_label validation occurs before the av_calloc call; rebuild any dependent applications against the fixed library.

How to confirm the fix worked

Verify the installed FFmpeg version incorporates commit 5d7112c; recompile with the updated source and confirm that a crafted test file no longer produces excessive allocations during probing.

Typical attack path

  1. Construct a minimal IAMF file embedding an attacker-chosen count_label value
  2. Deliver the file to any FFmpeg instance that performs format probing or decoding
  3. Trigger the IAMF demuxer path in libavformat/iamf_parse.c
  4. Induce uncontrolled allocation that exhausts available memory or triggers OOM-kill

How to detect it

Monitor system and application logs for FFmpeg processes that terminate with out-of-memory signals or abrupt high-memory spikes while processing media files; inspect any recent IAMF-containing inputs that coincide with those events.

What your security team should do

  • Upgrade all FFmpeg installations to a version containing commit 5d7112c as soon as packages are available
  • Disable IAMF demuxer support via build-time configuration where the feature is not required
  • Add memory-usage monitoring and restart policies for FFmpeg worker processes that handle untrusted input

The record

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.

Affected packages

Ecosystem Package Introduced Fixed

Related vulnerabilities