CVE-2026-107388 json
music-metadata: ID3v2 tag size not validated before allocation, causing memory exhaustion DoS
published 2026-10-08 31 d ago modified 2026-10-14 26 d ago also EUVD-2026-95169 , GHSA-jjpr-9cvf-cq55
- cvss
- 6.2
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 9%
- public exploits
- 0
- none known
Summary
music-metadata is a metadata parser for audio and video media files. Prior to 11.16.0, the ID3v2 parser trusts the syncsafe tag-size field and allocates the complete tag body before checking whether the input contains the declared bytes. A truncated file containing only an ID3v2 header can request an allocation approaching 268 MiB; the allocation succeeds, the subsequent read reaches end of stream, the EndOfStreamError is caught internally, and the caller receives a normal metadata object. This issue is fixed in version 11.16.0.
Patch / fix
- npm music-metadata 11.16.0
- borewit music-metadata 11.16.0
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 26 d ago
Exploit prediction
0.19% chance of exploitation in the next 30 days, higher than 9% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/Borewit/music-metadata/commit/b033db675b913a9dba1d29135ec3c10eae7095a7 referenced PoC, tagged "exploit" by a source, unverified
- github.com https://github.com/Borewit/music-metadata/security/advisories/GHSA-jjpr-9cvf-cq55 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.2 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 6.2 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | music-metadata | <11.16.0 |
11.16.0 |
Affected products
- Borewit music-metadata
Classification
- Weakness
-
- CWE-789 Memory Allocation with Excessive Size Value
References
-
github.com
/Borewit/music-metadata/pull/2743
web, patch
-
github.com
/Borewit/music-metadata/commit/b033db675b913a9dba1d29135ec3c10eae7095a7
web, exploit, patch
-
github.com
/Borewit/music-metadata/releases/tag/v11.16.0
web, patch, release-notes
-
github.com
/Borewit/music-metadata/security/advisories/GHSA-jjpr-9cvf-cq55
exploit, web, vendor-advisory
-
github.com
/Borewit/music-metadata
package
Sources
- CVE List CVE-2026-107388
- GitHub Advisory GHSA-jjpr-9cvf-cq55
- NVD CVE-2026-107388
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.