CVE-2023-31722
7.8HighPublished 17 May 2023 · NVD status: Modified · AI triage by gemini-3.8-flash
7.8High
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
- Impact
- Full C/I/A compromise
- Weakness
- CWE-787
Impact
Attackers can achieve arbitrary code execution or crash the assembler. They need a local user or build pipeline to process a maliciously crafted assembly file.
Root cause
A heap-based buffer overflow occurs during file parsing.
Affected systems
NASM 2.16.02rc1 (commit b952891)
CVSS v3.1 · CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Fix & remediation
Upgrade to a fixed build of NASM newer than commit b952891 once released, or avoid assembling untrusted source files in automated build environments.
shell
$ nasm -vAI-suggested. Run it in staging first and check it against the vendor advisory. Why?
Ad · In-content banner
NVD description
There exists a heap buffer overflow in nasm 2.16.02rc1 (GitHub commit: b952891).
References
- https://bugzilla.nasm.us/show_bug.cgi?id=3392857#c1ExploitIssue TrackingVendor Advisory
- https://bugzilla.nasm.us/show_bug.cgi?id=3392857#c1ExploitIssue TrackingVendor Advisory