CVE Catalog

CVE-2026-107388

MediumCVSS 6.2
Published: Updated: Translated: NVD NIST

Summary

In music-metadata 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.

Risk Assessment

Disproportionate memory consumption may occur, leading to resource exhaustion or denial of service.

Recommendation

Update music-metadata to version 11.16.0 or later, which fixes this vulnerability.

Other vulnerabilities in music-metadata

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS