Skip to main content
← All vulnerabilities
CVE-2026-107388GHSA-JJPR-9CVF-CQ55

music-metadata: ID3v2 tag size not validated before allocation, causing memory exhaustion DoS

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 11.16.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • Borewit music-metadata

    fixed in 11.16.0

  • music-metadatanpm

    fixed in 11.16.0

References 4

GitHub · Borewit/music-metadata