Every CVE Search/ Get API key

CVE-2004-1287

Buffer overflow in the error function in preproc.c for NASM 0.98.38 1.2 allows attackers to...

10.0 HighPublic exploitFix available

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

17.9%Up 15.7 points since Feb 4, 2022
90%50%10%1%

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 HighAV: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 CriticalAV: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

Affected packages
PackageAffectedFixed
nasm
Debian:12
before 0.98.38-1.1
0.98.38-1.1
nasm
Debian:13
before 0.98.38-1.1
0.98.38-1.1
nasm
Debian:14
before 0.98.38-1.1
0.98.38-1.1
nasm
Debian:3.0
before 0.98.28cvs-1woody2, plus listed versions
0.98.28cvs-1
0.98.28cvs-1woody2
nasm
Red 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-debuginfo
Red 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
Red 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-debuginfo
Red 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
Red 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-debuginfo
Red 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
Affected packages
PackageAffectedFixed
nasm
Red 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-debuginfo
Red 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
Red 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-debuginfo
Red 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-doc
Red 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-rdoff
Red 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
Red 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-debuginfo
Red 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-doc
Red 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-rdoff
Red 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
Red 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-debuginfo
Red 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-doc
Red 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-rdoff
Red 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
Red 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-debuginfo
Red 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-doc
Red 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-rdoff
Red 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.

Public exploits
SourceLinkDate
Exploit-DBNASM 0.98.x - Error Preprocessor Directive Buffer Overflow2004-12-15

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE 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

Show 14 moreShow less
MoveEnter Open