All reports
Low

nasm: heap buffer overflow in expand_mmacro() asm/preproc.c

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2023-31722

Probability of exploitation in the next 30 days: 0.35%

FIRST EPSS · 2026-11-20

Description

There exists a heap buffer overflow in nasm 2.16.02rc1 (GitHub commit: b952891).

A heap-based buffer overflow issue was discovered in Nasm's expand_mmacro() function, in the asm/preproc.c file. This issue could allow an attacker to trick a user into opening a specially crafted file, triggering out-of-bounds read access, causing an application to halt or crash, leading to a denial of service.