BreachSpiderVerified, not vibes

CVE-2004-1287 in Nasm Netwide Assembler

Critical 10.0 Public exploit reported

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.

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 2.010.0
EPSS17.9%
EPSS percentile98th
FixUnknown

Remotely exploitable over the network, low complexity.

Affected products and versions

VendorProductAffected versions
Nasm Netwide Assembler 0.98.38

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitReported · reference

Official description

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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2004-1287
BreachSpider IDBS-2005-GLOBAL-159122-C
CVSS vectorAV:N/AC:L/Au:N/C:C/I:C/A:C
Published2005-01-10
Last modified2026-06-16
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-787: Out-of-Bounds Write

Software writes data past buffer boundaries, corrupting memory and potentially enabling code execution.

Analysis AI-written, not human-reviewed

A buffer overflow vulnerability in the error function in preproc.c of NASM 0.98.38 1.2 allows attackers to execute arbitrary code through a crafted asm file.

The vulnerability is triggered by a buffer overflow in the error function in preproc.c when processing a specially crafted asm file. This can lead to arbitrary code execution with the privileges of the user running NASM.

Questions

What is CVE-2004-1287?

A buffer overflow vulnerability in the error function in preproc.c of NASM 0.98.38 1.2 allows attackers to execute arbitrary code through a crafted asm file.

What is the CVSS score for CVE-2004-1287?

CVE-2004-1287 has CVSS 10.0 (Critical). Vector: AV:N/AC:L/Au:N/C:C/I:C/A:C. EPSS: 17.9%.

Is CVE-2004-1287 actively exploited?

Public exploit available for CVE-2004-1287. Exploitation risk elevated.

How do I remediate CVE-2004-1287?

Priority: IMMEDIATE. PSIRT: [email protected]

What systems are affected by CVE-2004-1287?

CVE-2004-1287 affects Nasm Netwide Assembler.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Nasm","product":"Netwide Assembler","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-16.