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
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
Remediation
Red Hat 1 advisory
- RHSA-2005:381 Released 2005-05-04 · Red Hat rating Lownasm 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 →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Desktop version 3 | Fixed | RHSA-2005:381 |
| Red Hat Enterprise Linux AS version 3 | Fixed | RHSA-2005:381 |
| Red Hat Enterprise Linux AS version 4 | Fixed | RHSA-2005:381 |
| Red Hat Enterprise Linux Desktop version 4 | Fixed | RHSA-2005:381 |
| Red Hat Enterprise Linux ES version 3 | Fixed | RHSA-2005:381 |
| Red Hat Enterprise Linux ES version 4 | Fixed | RHSA-2005:381 |
| Red Hat Enterprise Linux WS version 3 | Fixed | RHSA-2005:381 |
| Red Hat Enterprise Linux WS version 4 | Fixed | RHSA-2005:381 |
Timeline
- 2026-10-02 Threatist record created from CVE-2004-1287
- 2026-10-03 Alias added: GHSA-vq2p-3c23-ghfm
References
Advisory 1
More NASM Netwide Assembler vulnerabilities
- 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
Sources
- CVE-2004-1287 · CVE Program
- CVE-2004-1287 · NVD
- FIRST EPSS
- GHSA-vq2p-3c23-ghfm · GitHub Advisory Database · CC BY 4.0
- CVE-2004-1287 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences