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

- Severity: Medium 6.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 9% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 3 links below, marked "exploit"
- Published: 2026-10-08T18:58:29.009Z
- Modified: 2026-12-01T15:00:08.308Z
- Also known as: GHSA-53v6-4h7p-p4gj
- Weaknesses: CWE-789
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- Borewit music-metadata: < 11.16.0; before 11.16.0
- music-metadata (npm): before 11.16.0

## Every score

- GitHub_M: CVSS:3.1 6.2 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 6.2 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/Borewit/music-metadata/security/advisories/GHSA-53v6-4h7p-p4gj> (exploit, vendor-advisory, web)
- <https://github.com/Borewit/music-metadata/pull/2744> (exploit, patch, web)
- <https://github.com/Borewit/music-metadata/commit/b3bf52cb6021b046f33ba47583e19ab8f10dd235> (exploit, patch, web)
- <https://github.com/Borewit/music-metadata/releases/tag/v11.16.0> (patch, release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-107387> (advisory)
- <https://github.com/Borewit/music-metadata> (package)

## Sources

- CVE List: [CVE-2026-107387](https://www.cve.org/CVERecord?id=CVE-2026-107387), CVE Terms of Use, modified 2026-10-08
- GitHub Advisory Database: [GHSA-53v6-4h7p-p4gj](https://github.com/advisories/GHSA-53v6-4h7p-p4gj), CC-BY-4.0, modified 2026-12-01
- NVD: [CVE-2026-107387](https://nvd.nist.gov/vuln/detail/CVE-2026-107387), Public domain, modified 2026-10-13

---

Page: https://cve.day/CVE-2026-107387 · Whole record: https://cve.day/CVE-2026-107387.json · Rebuilt by cve.day 2026-12-01T15:07:25.093Z
