CVE-2026-107388 music-metadata: ID3v2 tag size not validated before allocation, causing memory exhaustion DoS
설명
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.
영향 받는 제품 제품 1개
-
해결 버전 있음
Borewit
music-metadata
영향 받는 버전
- 11.16.0 미만
해결 버전
- 11.16.0 이상
참고 자료 4건
- github.com https://github.com/Borewit/music-metadata/commit/b033db675b913a9dba1d29135ec3c10eae7095a7 (새 창)
- github.com https://github.com/Borewit/music-metadata/pull/2743 (새 창)
- github.com https://github.com/Borewit/music-metadata/releases/tag/v11.16.0 (새 창)
- github.com https://github.com/Borewit/music-metadata/security/advisories/GHSA-jjpr-9cvf-cq55 (새 창)