Skip to content

CVE-2026-107387 music-metadata: Uncontrolled memory allocation in APEv2 parser

MediumCVSS 5.5 EPSS 0.19%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
Borewit music-metadata < 11.16.0; = < 11.16.0 11.16.0 Fixed
npm music-metadata(npm) < 11.16.0; <= 11.12.3 11.16.0 Fixed

Affected products

ProductAffected versionsFixed in
Borewit music-metadata = < 11.16.0 No fix listed
npm music-metadata(npm) <= 11.12.3 No fix listed
Borewit music-metadata < 11.16.0 11.16.0
npm music-metadata(npm) < 11.16.0 11.16.0

References