Skip to content
OpenAdvisories
Unscored Public exploit CVE-2004-1287 EUVD-2004-1284GHSA-vq2p-3c23-ghfm

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 Dec 22, 2004 · Updated Aug 8, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 nasm 0.98.38-1.1 —
Debian 13 nasm 0.98.38-1.1 —
Debian 12 nasm 0.98.38-1.1 —
Debian 3.0 nasm 0.98.28cvs-1woody2 DSA-623-1
ReleasePackageFixed inAdvisory
RHEL 4 nasm +2 0.98.38-3.EL4 RHSA-2005:381
RHEL 3 nasm 0.98.35-3.EL3 RHSA-2005:381

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 2

References