Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-32256: CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop') in Borewit music-metadata

0
High
VulnerabilityCVE-2026-32256cvecve-2026-32256cwe-835
Published: Wed Mar 18 2026 (03/18/2026, 03:22:33 UTC)
Source: CVE Database V5
Vendor/Project: Borewit
Product: music-metadata

Description

music-metadata is a metadata parser for audio and video media files. Prior to version 11.12.3, music-metadata's ASF parser (`parseExtensionObject()` in `lib/asf/AsfParser.ts:112-158`) enters an infinite loop when a sub-object inside the ASF Header Extension Object has `objectSize = 0`. Version 11.12.3 fixes the issue.

AI-Powered Analysis

AILast updated: 03/18/2026, 14:27:43 UTC

Technical Analysis

CVE-2026-32256 is a vulnerability classified under CWE-835 (Loop with Unreachable Exit Condition) affecting the Borewit music-metadata library, a widely used metadata parser for audio and video files. The flaw exists in the ASF parser's parseExtensionObject() function, where it fails to handle a sub-object with an objectSize of zero properly. When such a crafted ASF Header Extension Object is parsed, the loop intended to process sub-objects does not reach a terminating condition, resulting in an infinite loop. This infinite loop causes the application to hang indefinitely, leading to a denial-of-service (DoS) condition. The vulnerability is exploitable remotely by supplying a malicious ASF media file to any application or service that uses the vulnerable music-metadata versions prior to 11.12.3. The CVSS v3.1 score of 7.5 reflects the high impact on availability, with no impact on confidentiality or integrity, and no privileges or user interaction required. The issue was addressed in version 11.12.3 by adding proper validation and exit conditions to prevent the infinite loop. Although no known exploits have been reported in the wild, the vulnerability poses a significant risk to any system processing untrusted ASF media files using the affected library versions.

Potential Impact

The primary impact of CVE-2026-32256 is a denial-of-service condition caused by an infinite loop in the ASF parser of the music-metadata library. Organizations that utilize this library in media processing applications, streaming platforms, content management systems, or any service that parses ASF files may experience application hangs or crashes when processing maliciously crafted media files. This can lead to service outages, degraded user experience, and potential cascading failures in dependent systems. Since the vulnerability can be triggered remotely without authentication or user interaction, attackers can exploit it to disrupt services at scale. This is particularly critical for cloud services, media hosting providers, and any enterprise relying on automated media ingestion pipelines. While confidentiality and integrity are not directly affected, the availability impact can result in operational downtime and increased incident response costs.

Mitigation Recommendations

To mitigate CVE-2026-32256, organizations should immediately upgrade the Borewit music-metadata library to version 11.12.3 or later, where the infinite loop issue is fixed. For environments where immediate upgrading is not feasible, implement input validation to detect and reject ASF media files with suspicious or zero objectSize sub-objects before parsing. Employ resource usage monitoring and timeouts on media parsing operations to detect and terminate processes that hang or consume excessive CPU cycles. Additionally, sandbox or isolate media parsing components to limit the impact of potential denial-of-service conditions. Regularly audit and update third-party libraries to ensure known vulnerabilities are patched promptly. Finally, consider implementing network-level protections such as rate limiting and filtering to reduce exposure to malicious media file submissions.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-03-11T15:05:48.396Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 69bab319771bdb1749a293e8

Added to database: 3/18/2026, 2:13:45 PM

Last enriched: 3/18/2026, 2:27:43 PM

Last updated: 3/19/2026, 6:53:29 AM

Views: 11

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses