CVE-2023-31722
nasm: heap buffer overflow in expand_mmacro() asm/preproc.c
Severity
LowRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · May 17, 2023
Updated · November 21, 2025
Description
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.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 5.5CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CWE-122 · Heap-based Buffer Overflow