Skip to content
Heist/ feed
Medium

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

Type: advisorySource: Official CVE List1 source record

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.

Announced Group revision 1
Original source ↗

CVE-2026-107388

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-107388

music-metadata

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "vendor": "Borewit",
    "product": "music-metadata",
    "versions": [
      {
        "status": "affected",
        "version": "< 11.16.0"
      }
    ]
  }
]
Related CVEs
CVE-2026-107388

Source reference: /cveMetadata/cveId

Publisher severity

medium

Source reference: /containers/cna/metrics

Event
#21393 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement