Name
nasm
Version
3.02
Type
library
Description
General-purpose x86 assembler
Licenses
BSD-2-Clause
PURL
-
CPE
cpe:2.3:*:*:netwide_assembler:3.02:*:*:*:*:*:*:*

Other Versions#


Project
Branch
Version
kirkstone
2.15.05
scarthgap
2.16.03

Patches#


#
Title
Author
Resolve
1
stdlib: Add strlcat
Joshua Watt <JPEWhacker@gmail.com>
2
outobj: fix buffer overflow when too many segments in a group
Nick Clifton <nickclifton@github.com>
CVE-2026-6067
3
Add --debug-prefix-map option
Joshua Watt <JPEWhacker@gmail.com>

Vulnerabilities#


Name
Analysis
Description
Exploitable
NASM’s disasm() function contains a stack based buffer overflow when formatting disassembly output, allowing an attacker triggered out-of-bounds write when `slen` exceeds the buffer capacity.
Exploitable
NASM contains a heap use after free vulnerability in response file (-@) processing where a dangling pointer to freed memory is stored in the global depend_file and later dereferenced, as the response-file buffer is freed before the pointer is used, allowing for data corruption or remote code execution.
Patched
A heap buffer overflow vulnerability exists in the Netwide Assembler (NASM) due to a lack of bounds checking in the obj_directive() function. This vulnerability can be exploited by a user assembling a malicious .asm file, potentially leading to heap memory corruption, denial of service (crash), and arbitrary code execution.