CVE-2004-1287 in the critical feed json
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,…
published 2004-12-22 21 y ago modified 2026-06-16 4 mo ago also EUVD-2004-1284
- cvss
- 10.0
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 17.9%
- EPSS 17.9% chance of exploitation in 30 days, percentile 97%
- public exploits
- 1
- Exploit-DB
Summary
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.
Patch / fix
- nasm Debian 14, Debian 13, Debian 12 0.98.38-1.1
debian advisories DEBIAN-CVE-2004-1287
- nasm RHEL 3 0.98.35-3.EL3
- nasm RHEL 4 0.98.38-3.EL4
- nasm-rdoff RHEL 4 0.98.38-3.EL4
red hat advisories RHSA-2005:381
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2004-1287 updated
security flaw
-
Red Hat Desktop version 3 nasm 0.98.35-3.EL3 Red Hat Enterprise Linux AS version 3 nasm 0.98.35-3.EL3 Red Hat Enterprise Linux AS version 4 nasm 0.98.38-3.EL4, nasm-rdoff 0.98.38-3.EL4 Red Hat Enterprise Linux Desktop version 4 nasm 0.98.38-3.EL4, nasm-rdoff 0.98.38-3.EL4 Red Hat Enterprise Linux ES version 3 nasm 0.98.35-3.EL3 Red Hat Enterprise Linux ES version 4 nasm 0.98.38-3.EL4, nasm-rdoff 0.98.38-3.EL4fixed: vendor fix RHSA-2005:381
+2 more productsfewer
Red Hat Enterprise Linux WS version 3 nasm 0.98.35-3.EL3 Red Hat Enterprise Linux WS version 4 nasm 0.98.38-3.EL4, nasm-rdoff 0.98.38-3.EL4
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Timeline
- First public exploit (EDB-25005)
- Published
Exploit prediction
17.88% chance of exploitation in the next 30 days, higher than 97% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- EDB-25005 NASM 0.98.x - Error Preprocessor Directive Buffer Overflow remote, 2004-12-15
- tigger.uic.edu http://tigger.uic.edu/~jlongs2/holes/nasm.txt referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 10.0 | AV:N/AC:L/Au:N/C:C/I:C/A:C |
Classification
- Weakness
-
- CWE-787 Out-of-bounds Write
References
-
tigger.uic.edu
/~jlongs2/holes/nasm.txt
exploit, vendor-advisory
-
redhat.com
/support/errata/RHSA-2005-381.html
vendor-advisory, not-applicable
-
oval.cisecurity.org
/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11299
vdb-entry, signature, broken-link
-
exchange.xforce.ibmcloud.com
/vulnerabilities/18540
vdb-entry, third-party-advisory
Sources
- CVE List CVE-2004-1287
- NVD CVE-2004-1287
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.