{"id":"CVE-2026-107388","state":"PUBLISHED","title":"music-metadata: ID3v2 tag size not validated before allocation, causing memory exhaustion DoS","description":"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.","publishedAt":"2026-10-08T19:00:24.725Z","updatedAt":"2026-10-14T02:44:54.960Z","severity":{"score":6.2,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["Borewit music-metadata"],"affected":[{"vendor":"Borewit","product":"music-metadata","versions":[{"version":"< 11.16.0","status":"affected"}]}],"references":["https://github.com/Borewit/music-metadata/security/advisories/GHSA-jjpr-9cvf-cq55","https://github.com/Borewit/music-metadata/pull/2743","https://github.com/Borewit/music-metadata/commit/b033db675b913a9dba1d29135ec3c10eae7095a7","https://github.com/Borewit/music-metadata/releases/tag/v11.16.0"],"weaknesses":["CWE-789"],"ingestedAt":"2026-10-29T20:10:23.711Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/107xxx/CVE-2026-107388.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-107388","state":"PUBLISHED","datePublished":"2026-10-08T19:00:24.725Z","dateUpdated":"2026-10-14T02:44:54.960Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-10-07T21:07:54.988Z"},"containers":{"cna":{"title":"music-metadata: ID3v2 tag size not validated before allocation, causing memory exhaustion DoS","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Borewit","product":"music-metadata","versions":[{"version":"< 11.16.0","status":"affected"}]}],"references":[{"url":"https://github.com/Borewit/music-metadata/security/advisories/GHSA-jjpr-9cvf-cq55","name":"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","name":"https://github.com/Borewit/music-metadata/pull/2743","tags":["x_refsource_MISC"]},{"url":"https://github.com/Borewit/music-metadata/commit/b033db675b913a9dba1d29135ec3c10eae7095a7","name":"https://github.com/Borewit/music-metadata/commit/b033db675b913a9dba1d29135ec3c10eae7095a7","tags":["x_refsource_MISC"]},{"url":"https://github.com/Borewit/music-metadata/releases/tag/v11.16.0","name":"https://github.com/Borewit/music-metadata/releases/tag/v11.16.0","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":6.2,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-789","lang":"en","description":"CWE-789: Memory Allocation with Excessive Size Value","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-10-08T19:00:24.725Z"},"source":{"advisory":"GHSA-jjpr-9cvf-cq55","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/Borewit/music-metadata/security/advisories/GHSA-jjpr-9cvf-cq55","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-10-14T01:14:14.370552Z","id":"CVE-2026-107388","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-14T02:44:54.960Z"}}]}}}