Read the docs
TI-2004-01165 Aliases CVE-2004-1287GHSA-vq2p-3c23-ghfm

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

Priority MEDIUM 60CWE-787Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
— Not recorded in CVSS 2.0
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
Complete · Complete · Complete
Fix status
Fixed

Attack profile from CVSS 2.0 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-787 and the CVSS impact.

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.

Why it matters now

EPSS 0.17882 97th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed Red Hat: 1 advisory

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
  • — Vendor— Affected all versions Fixed in — No fix listed CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:nasm:netwide_assembler:0.98.38:*:*:*:*:*:*:*0.98.38VulnerableNASM
  • cpe:2.3:a:nasm:netwide_assembler:0.98.38:*:*:*:*:*:*:* Versions 0.98.38 Vulnerable ·NASM

Remediation

Red Hat 1 advisory

  • RHSA-2005:381 Released 2005-05-04 · Red Hat rating Low
    nasm security update
    • Red Hat Desktop version 3 nasm-0.98.35-3.EL3, nasm-0.98.35-3.EL3.i386
    • Red Hat Enterprise Linux AS version 3 nasm-0.98.35-3.EL3, nasm-0.98.35-3.EL3.i386, nasm-0.98.35-3.EL3.ia64 +1
    • Red Hat Enterprise Linux AS version 4 nasm-0.98.38-3.EL4, nasm-0.98.38-3.EL4.i386, nasm-0.98.38-3.EL4.ia64 +9
    • Red Hat Enterprise Linux Desktop version 4 nasm-0.98.38-3.EL4, nasm-0.98.38-3.EL4.i386, nasm-doc-0.98.38-3.EL4 +3
    • Red Hat Enterprise Linux ES version 3 nasm-0.98.35-3.EL3, nasm-0.98.35-3.EL3.i386, nasm-0.98.35-3.EL3.ia64
    • Red Hat Enterprise Linux ES version 4 nasm-0.98.38-3.EL4, nasm-0.98.38-3.EL4.i386, nasm-0.98.38-3.EL4.ia64 +6
    • Red Hat Enterprise Linux WS version 3 nasm-0.98.35-3.EL3, nasm-0.98.35-3.EL3.i386, nasm-0.98.35-3.EL3.ia64
    • Red Hat Enterprise Linux WS version 4 nasm-0.98.38-3.EL4, nasm-0.98.38-3.EL4.i386, nasm-0.98.38-3.EL4.ia64 +6

Vendor assessments

Red Hat

Red Hat rating: Low. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Desktop version 3Fixed RHSA-2005:381
Red Hat Enterprise Linux AS version 3Fixed RHSA-2005:381
Red Hat Enterprise Linux AS version 4Fixed RHSA-2005:381
Red Hat Enterprise Linux Desktop version 4Fixed RHSA-2005:381
Red Hat Enterprise Linux ES version 3Fixed RHSA-2005:381
Red Hat Enterprise Linux ES version 4Fixed RHSA-2005:381
Red Hat Enterprise Linux WS version 3Fixed RHSA-2005:381
Red Hat Enterprise Linux WS version 4Fixed RHSA-2005:381

Timeline

  1. 2026-10-02 Threatist record created from CVE-2004-1287
  2. 2026-10-03 Alias added: GHSA-vq2p-3c23-ghfm

References

  • TI-2026-05320 Use after free in NASM CVSS 3.1CRITICAL 9.6
  • TI-2026-05321 Out-of-bounds write in NASM CVSS 3.1HIGH 7.5
  • TI-2026-05319 Out-of-bounds write in NASM CVSS 3.1HIGH 7.5
  • TI-2023-20017 Stack-based buffer over-read in disasm in nasm 2.16 allows attackers to cause a denial of service (crash). CVSS 3.1MEDIUM 5.5
  • TI-2023-20016 Stack-based buffer over-read in function disasm in nasm 2.16 allows attackers to cause a denial of service. CVSS 3.1MEDIUM 5.5
  • TI-2023-20014 Null pointer dereference in ieee_write_file in nasm 2.16rc0 allows attackers to cause a denial of service (crash). CVSS 3.1MEDIUM 5.5
See all 74 →

Sources