CVE-2004-1896
Description
Heap-based buffer overflow in Nullsoft Winamp's in_mod.dll allows remote attackers to execute arbitrary code via a crafted Fasttracker 2 (.xm) file.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Heap-based buffer overflow in Nullsoft Winamp's in_mod.dll allows remote attackers to execute arbitrary code via a crafted Fasttracker 2 (.xm) file.
Vulnerability
A heap-based buffer overflow exists in the in_mod.dll module of Nullsoft Winamp versions 2.91 through 5.02 when parsing Fasttracker 2 (.xm) mod media files. The lack of boundary checking in the code responsible for loading .xm files allows an attacker to overwrite arbitrary heap memory, leading to an access violation within ntdll.RtlAllocateHeap() [1].
Exploitation
An attacker can exploit this vulnerability by crafting a malicious .xm file that triggers the heap overflow. The malicious file can be delivered remotely by embedding it in a specially crafted HTML document; simply rendering the HTML page in a browser that launches Winamp (or via a direct download) can trigger the exploit. No authentication is required, and the user only needs to open the file or visit the malicious page [1].
Impact
Successful exploitation allows an attacker to write arbitrary values to chosen memory locations, gaining control of Winamp's execution flow. This results in arbitrary code execution in the security context of the logged-on user. The attacker can achieve full compromise of the affected system, including data theft, installation of malware, or further lateral movement [1].
Mitigation
Nullsoft released Winamp 5.03 on 2004-04-12, which fixes this vulnerability. Users should upgrade to Winamp 5.03 or later. No workaround is available for earlier versions. The vulnerability is not listed on CISA's Known Exploited Vulnerabilities (KEV) catalog as of the publication date [1].
AI Insight generated on May 24, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
6cpe:2.3:a:nullsoft:winamp:2.91:*:*:*:*:*:*:*+ 5 more
- cpe:2.3:a:nullsoft:winamp:2.91:*:*:*:*:*:*:*
- cpe:2.3:a:nullsoft:winamp:3.0:*:*:*:*:*:*:*
- cpe:2.3:a:nullsoft:winamp:3.1:*:*:*:*:*:*:*
- cpe:2.3:a:nullsoft:winamp:5.0.1:*:*:*:*:*:*:*
- cpe:2.3:a:nullsoft:winamp:5.0.2:*:*:*:*:*:*:*
- (no CPE)range: 2.91 through 5.02
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
7News mentions
0No linked articles in our index yet.