High severity · published Oct 8, 2026
CVE-2026-107391
music-metadata: MP4 stsd sample-entry size==0 causes a synchronous infinite loop (DoS) — unreleased regression on master
7.5
CVSS
0.3%
EPSS
No
On KEV
Description
music-metadata is a metadata parser for audio and video media files. In the public development revision introduced after 11.14.0, a development-branch regression in the MP4 stsd sample-description parser allows an attacker-controlled sample-entry size of zero to prevent the StsdAtom.get cursor from advancing while an attacker-controlled entry_count keeps the synchronous loop running. A crafted MP4-family input can block the Node.js event loop and grow the sample-description table until the process is terminated or exhausts memory. The vulnerable change was present on the public master branch but was not included in music-metadata 11.14.0 or any earlier npm release, and version 11.16.0 contains the fix. This issue is fixed in version 11.16.0.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 24% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
MU
music-metadata · Borewit
< 11.16.0 · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-107391
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-107391
x_refsource_CONFIRM
https://github.com/Borewit/music-metadata/security/advisories/GHSA-f94x-6692-553q
x_refsource_MISC
https://github.com/Borewit/music-metadata/pull/2734
x_refsource_MISC
https://github.com/Borewit/music-metadata/commit/90a7d52c69e921a0b019592d887acd97b1c8b8a5
x_refsource_MISC
https://github.com/Borewit/music-metadata/releases/tag/v11.16.0
More from music-metadata
7.5
CVE-2026-107392
music-metadata: uncatchable process crash parsing a crafted `.dsf` (residual of CVE-2026-32256)
7.5
CVE-2026-107390
music-metadata: MP4 parser allows memory exhaustion via oversized extended atom length
7.5
CVE-2026-32256
music-metadata has an infinite loop vulnerability in ASF parser
5.5
CVE-2026-107389
music-metadata: EBML parser trusts element lengths, allowing memory exhaustion or process abort
5.5
CVE-2026-107388
music-metadata: ID3v2 tag size not validated before allocation, causing memory exhaustion DoS
