CVE-2026-125104

Discovered by AISLEPUBLISHEDCWE-789

Description

FFmpeg through 9.0.2 contains a memory exhaustion vulnerability in ape_decode_frame() in libavcodec/apedec.c that fails to enforce the 73728-sample limit for legacy APE frames. Attackers can supply a crafted legacy Monkey's Audio file declaring an enormous nblocks value to force gigabyte-scale allocations and cause denial of service.

CVSS Base Scores

CVSS v4.06.8

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

CVSS v3.1
5.5

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Affected Products

VendorProductVersionStatus
FFmpegFFmpeg0affected

Credits

  • Joshua Rogers (AISLE Research)(finder)
  • Michael Niedermayer(remediation developer)

References