CVE-2023-31722 Memory corruption in n/a
A heap buffer overflow in the NASM assembler allows attackers to execute arbitrary code or cause a denial of service via crafted input.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2023-31722?
CVE-2023-31722 is a high-severity memory corruption vulnerability in Nasm Netwide Assembler, published on 17 May 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
There exists a heap buffer overflow in nasm 2.16.02rc1 (GitHub commit: b952891).
Weakness: CWE-787
Which versions are affected by CVE-2023-31722?
It affects 1 product.
Products include Nasm Netwide Assembler.
How do I fix CVE-2023-31722?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2023-31722 being exploited?
There is no known exploitation of CVE-2023-31722 in the wild and no public exploit code.
Other vulnerabilities in Nasm Netwide Assembler
Sources
Also known as DEBIAN-CVE-2023-31722, GHSA-8wfr-mc87-9vq6, OESA-2025-2623, UBUNTU-CVE-2023-31722.