GLSA-200412-20 : NASM: Buffer overflow vulnerability

Medium Nessus Plugin ID 16010


The remote Gentoo host is missing one or more security-related patches.


The remote host is affected by the vulnerability described in GLSA-200412-20 (NASM: Buffer overflow vulnerability)

Jonathan Rockway discovered that NASM-0.98.38 has an unprotected vsprintf() to an array in preproc.c. This code vulnerability may lead to a buffer overflow and potential execution of arbitrary code.
Impact :

A remote attacker could craft a malicious object file which, when supplied in NASM, would result in the execution of arbitrary code with the rights of the user running NASM.
Workaround :

There is no known workaround at this time.


All NASM users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=dev-lang/nasm-0.98.38-r1'

See Also

Plugin Details

Severity: Medium

ID: 16010

File Name: gentoo_GLSA-200412-20.nasl

Version: $Revision: 1.13 $

Type: local

Published: 2004/12/20

Modified: 2015/04/13

Dependencies: 12634

Risk Information

Risk Factor: Medium

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:nasm, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Patch Publication Date: 2004/12/20

Vulnerability Publication Date: 2004/12/16

Reference Information

OSVDB: 12446

GLSA: 200412-20