netwide-assembler/nasm

netwide-assembler/nasm

Releases484
Frequency2 weeks 4 days
Last Release
Stars3.23K
A cross-platform x86 assembler with an Intel-like syntax

CVE History

CVEPublishedCVSS v3CVSS v2
5.5 MEDIUM

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.

9.6 CRITICAL

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.

7.5 HIGH

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.