{"id":"CVE-2026-107388","published":"2026-10-08T19:00:24Z","modified":"2026-10-14T02:44:54Z","title":"music-metadata: ID3v2 tag size not validated before allocation, causing memory exhaustion DoS","vendor":"Borewit","product":"music-metadata","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.2,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00201,"percentile":0.05709,"provenance":"source"},"cwes":[{"id":"CWE-789","name":"Memory Allocation with Excessive Size Value"}],"references":[{"url":"https://github.com/Borewit/music-metadata/security/advisories/GHSA-jjpr-9cvf-cq55","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/Borewit/music-metadata/pull/2743","tags":["x_refsource_MISC"]},{"url":"https://github.com/Borewit/music-metadata/commit/b033db675b913a9dba1d29135ec3c10eae7095a7","tags":["x_refsource_MISC"]},{"url":"https://github.com/Borewit/music-metadata/releases/tag/v11.16.0","tags":["x_refsource_MISC"]}],"priority":{"score":5.5,"factors":[{"name":"EPSS percentile","points":1.14},{"name":"CVSS severity","points":4.34}]},"vendorSlug":"borewit","affectedVersions":[{"vendor":"Borewit","product":"music-metadata","versions":["< 11.16.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-14T01:14:14.370552Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"music-metadata","vulnerableRanges":["<11.16.0"],"patched":["11.16.0"],"from":["GHSA-jjpr-9cvf-cq55"],"provenance":"source"}],"summary":{"text":"The music-metadata library, a parser for audio and video media files, does not validate the ID3v2 tag size before allocating memory, so it can be made to allocate a very large buffer from a crafted file.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:17:24Z"},"euvd":{"id":"EUVD-2026-95169","exploited":false,"provenance":"source"}}