FFmpeg through 9.0.2 Memory Exhaustion DoS via APE Decoder apedec.c

State
Published
Severity
6.8 Medium
Published
Nov 9, 2026
Updated
Nov 9, 2026
Reserved
Nov 9, 2026

Read the record on cve.org

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.

ProductVersions
FFmpeg FFmpeg9.0.2 and earlier Affected

Weaknesses

  • CWE-789 Memory Allocation with Excessive Size Value

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.