CVE-2004-1287 Memory corruption in n/a
Attackers can execute arbitrary code by tricking users into compiling a malicious assembly file with the vulnerable NASM assembler.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2004-1287?
CVE-2004-1287 is a critical memory corruption vulnerability in Nasm Netwide Assembler, published on 22 Dec 2004. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
Buffer overflow in the error function in preproc.c for NASM 0.98.38 1.2 allows attackers to execute arbitrary code via a crafted asm file, a different vulnerability than CVE-2005-1194.
Weakness: CWE-787
Which versions are affected by CVE-2004-1287?
It affects 1 product.
Products include Nasm Netwide Assembler.
How do I fix CVE-2004-1287?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2004-1287 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2004-1287 exists.
Public exploit code: 1 Exploit-DB entry.
Other vulnerabilities in Nasm Netwide Assembler
Sources
Also known as DEBIAN-CVE-2004-1287, DSA-623-1, GHSA-vq2p-3c23-ghfm.