Skip to content
Fencer Vulns
critical 10.0

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.EL4
    +2 more products
    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
    fixed: vendor fix RHSA-2005:381

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

  1. First public exploit (EDB-25005)
  2. 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

References

Sources

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.