Vulnerabilities · 2004 · Nasm
CVE-2004-1287
Nasm Netwide Assembler vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Netwide Assembler. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Nasm Netwide Assembler runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- tigger.uic.edu/~jlongs2/holes/nasm.txt · Exploit
- exchange.xforce.ibmcloud.com/vulnerabilities/18540 · Third Party Advisory
- www.redhat.com/support/errata/RHSA-2005-381.html
- oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11299
- nvd.nist.gov/vuln/detail/CVE-2004-1287
- cve.org/CVERecord?id=CVE-2004-1287
More vulnerabilities in Nasm products
CVE-2025-8846CVE-2025-8845CVE-2025-8844CVE-2025-8843CVE-2025-8842CVE-2023-38668CVE-2023-38667CVE-2023-38665All 72
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.