Skip to content
OpenAdvisories
Medium · 6.2 CVE-2026-107387 EUVD-2026-95167GHSA-53v6-4h7p-p4gj

music-metadata: Uncontrolled memory allocation in APEv2 parser

Published Oct 8, 2026 · Updated Oct 8, 2026 · Assigned by GitHub_M

Description

music-metadata is a metadata parser for audio and video media files. Prior to 11.16.0, the APEv2 parser reads an attacker-controlled tag-item size and allocates a Uint8Array for a binary item before proving that the declared item fits in the remaining tag or file data. A small crafted APE file can therefore trigger a disproportionate allocation, including through cover-art items, and repeated or concurrent parsing can exhaust process memory. The demonstrated impact is availability loss only. This issue is fixed in version 11.16.0.

Affected products

VendorProductAffectedFixed
Borewit music-metadata < 11.16.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm music-metadata < 11.16.0 11.16.0 GHSA-53v6-4h7p-p4gj

References