CVE-2004-1287
Buffer overflow in the error function in preproc.c for NASM 0.98.38 1.2 allows attackers to...
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.
Exploit likelihood
What each source reports
NVD Score used
10.0
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.
- Record
CVE-2004-1287- CVSS 2.0
- 10.0 High
AV:N/AC:L/Au:N/C:C/I:C/A:C - Weakness
- CWE-787
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2004-1287- Updated
- 2026-11-02
EUVDEUVD-2004-1284 No score
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.
- Record
EUVD-2004-1284- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-vq2p-3c23-ghfm No score
Buffer overflow in the error function in preproc.c for NASM 0.98.38 1.2 allows attackers to...
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.
- Record
GHSA-vq2p-3c23-ghfm- Weakness
- CWE-787
- Updated
- 2026-11-02
OSVBELL-CVE-2004-1287
10.0
CVE-2004-1287 does not affect BellSoft software
- Record
BELL-CVE-2004-1287- CVSS 2.0
- 10.0 Critical
AV:N/AC:L/Au:N/C:C/I:C/A:C - Updated
- 2026-11-02
OSV No score
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.
- Record
CVE-2004-1287- Updated
- 2026-11-02
OSVDEBIAN-CVE-2004-1287 No score
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.
- Record
DEBIAN-CVE-2004-1287- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
nasmDebian:12 |
before 0.98.38-1.1 | 0.98.38-1.1 |
nasmDebian:13 |
before 0.98.38-1.1 | 0.98.38-1.1 |
nasmDebian:14 |
before 0.98.38-1.1 | 0.98.38-1.1 |
nasmDebian:3.0 |
before 0.98.28cvs-1woody2, plus listed versions 0.98.28cvs-1 |
0.98.28cvs-1woody2 |
nasmRed Hat:enterprise_linux:3::as From an advisory covering 2 CVEs |
before 0:0.98.35-3.EL3 | 0:0.98.35-3.EL3 |
nasm-debuginfoRed Hat:enterprise_linux:3::as From an advisory covering 2 CVEs |
before 0:0.98.35-3.EL3 | 0:0.98.35-3.EL3 |
nasmRed Hat:enterprise_linux:3::desktop From an advisory covering 2 CVEs |
before 0:0.98.35-3.EL3 | 0:0.98.35-3.EL3 |
nasm-debuginfoRed Hat:enterprise_linux:3::desktop From an advisory covering 2 CVEs |
before 0:0.98.35-3.EL3 | 0:0.98.35-3.EL3 |
nasmRed Hat:enterprise_linux:3::es From an advisory covering 2 CVEs |
before 0:0.98.35-3.EL3 | 0:0.98.35-3.EL3 |
nasm-debuginfoRed Hat:enterprise_linux:3::es From an advisory covering 2 CVEs |
before 0:0.98.35-3.EL3 | 0:0.98.35-3.EL3 |
Show 18 moreShow less
| Package | Affected | Fixed |
|---|---|---|
nasmRed Hat:enterprise_linux:3::ws From an advisory covering 2 CVEs |
before 0:0.98.35-3.EL3 | 0:0.98.35-3.EL3 |
nasm-debuginfoRed Hat:enterprise_linux:3::ws From an advisory covering 2 CVEs |
before 0:0.98.35-3.EL3 | 0:0.98.35-3.EL3 |
nasmRed Hat:enterprise_linux:4::as From an advisory covering 2 CVEs |
before 0:0.98.38-3.EL4 | 0:0.98.38-3.EL4 |
nasm-debuginfoRed Hat:enterprise_linux:4::as From an advisory covering 2 CVEs |
before 0:0.98.38-3.EL4 | 0:0.98.38-3.EL4 |
nasm-docRed Hat:enterprise_linux:4::as From an advisory covering 2 CVEs |
before 0:0.98.38-3.EL4 | 0:0.98.38-3.EL4 |
nasm-rdoffRed Hat:enterprise_linux:4::as From an advisory covering 2 CVEs |
before 0:0.98.38-3.EL4 | 0:0.98.38-3.EL4 |
nasmRed Hat:enterprise_linux:4::desktop From an advisory covering 2 CVEs |
before 0:0.98.38-3.EL4 | 0:0.98.38-3.EL4 |
nasm-debuginfoRed Hat:enterprise_linux:4::desktop From an advisory covering 2 CVEs |
before 0:0.98.38-3.EL4 | 0:0.98.38-3.EL4 |
nasm-docRed Hat:enterprise_linux:4::desktop From an advisory covering 2 CVEs |
before 0:0.98.38-3.EL4 | 0:0.98.38-3.EL4 |
nasm-rdoffRed Hat:enterprise_linux:4::desktop From an advisory covering 2 CVEs |
before 0:0.98.38-3.EL4 | 0:0.98.38-3.EL4 |
nasmRed Hat:enterprise_linux:4::es From an advisory covering 2 CVEs |
before 0:0.98.38-3.EL4 | 0:0.98.38-3.EL4 |
nasm-debuginfoRed Hat:enterprise_linux:4::es From an advisory covering 2 CVEs |
before 0:0.98.38-3.EL4 | 0:0.98.38-3.EL4 |
nasm-docRed Hat:enterprise_linux:4::es From an advisory covering 2 CVEs |
before 0:0.98.38-3.EL4 | 0:0.98.38-3.EL4 |
nasm-rdoffRed Hat:enterprise_linux:4::es From an advisory covering 2 CVEs |
before 0:0.98.38-3.EL4 | 0:0.98.38-3.EL4 |
nasmRed Hat:enterprise_linux:4::ws From an advisory covering 2 CVEs |
before 0:0.98.38-3.EL4 | 0:0.98.38-3.EL4 |
nasm-debuginfoRed Hat:enterprise_linux:4::ws From an advisory covering 2 CVEs |
before 0:0.98.38-3.EL4 | 0:0.98.38-3.EL4 |
nasm-docRed Hat:enterprise_linux:4::ws From an advisory covering 2 CVEs |
before 0:0.98.38-3.EL4 | 0:0.98.38-3.EL4 |
nasm-rdoffRed Hat:enterprise_linux:4::ws From an advisory covering 2 CVEs |
before 0:0.98.38-3.EL4 | 0:0.98.38-3.EL4 |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| Exploit-DB | NASM 0.98.x - Error Preprocessor Directive Buffer Overflow | 2004-12-15 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, Exploit-DB, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2004-1287 is a high vulnerability (CVSS 10.0) in Nasm Netwide Assembler, published December 22, 2004. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 17.9%, the 97th percentile. Fixed in nasm 0.98.38-1.1.
References
redhat.com/support/errata/RHSA-2005-381.html
oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11299
exchange.xforce.ibmcloud.com/vulnerabilities/18540
tigger.uic.edu/~jlongs2/holes/nasm.txt
nvd.nist.gov/vuln/detail/CVE-2004-1287
github.com/advisories/GHSA-vq2p-3c23-ghfm
Show 14 moreShow less
docs.bell-sw.com/security/cves/CVE-2004-1287
security-tracker.debian.org/tracker/CVE-2004-1287
access.redhat.com/errata/RHSA-2005:381
access.redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=143081
bugzilla.redhat.com/show_bug.cgi?id=152962
security.access.redhat.com/data/csaf/v2/advisories/2005/rhsa-2005_381.json
access.redhat.com/security/cve/CVE-2004-1287
bugzilla.redhat.com/show_bug.cgi?id=1617404
cve.org/CVERecord?id=CVE-2004-1287
access.redhat.com/security/cve/CVE-2005-1194
bugzilla.redhat.com/show_bug.cgi?id=1617615
cve.org/CVERecord?id=CVE-2005-1194
nvd.nist.gov/vuln/detail/CVE-2005-1194