CVE-2018-16517: NULL Pointer Dereference in NASM asm/labels.c
- Vendor
- Nasm
A NULL pointer dereference vulnerability exists in the asm/labels.c component of Netwide Assembler (NASM). An attacker can trigger this vulnerability by supplying a specially crafted file, which causes the application to dereference a NULL pointer, leading to a crash (denial of service).
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation results in a denial of service condition, as NASM will crash when processing the malicious file. There is no indication of code execution or privilege escalation.
Mitigation
If you can’t patch tonight, do this now.
Avoid processing untrusted or potentially malicious NASM files. Employ input validation and consider sandboxing NASM processes to limit the impact of a crash.
Remediation
Patch, then assume compromise.
Update to a patched version of NASM where this issue has been addressed. Ensure that input files are validated and that proper NULL pointer checks are implemented in asm/labels.c.
Exploits
No validated public exploits yet. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2018-16517 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2018-16517 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2018-16517?
- Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2018-16517.
- Is there a patch for CVE-2018-16517?
- Update to a patched version of NASM where this issue has been addressed. Ensure that input files are validated and that proper NULL pointer checks are implemented in asm/labels.c.
- What products are affected by CVE-2018-16517?
- Nasm Netwide Assembler.
- How severe is CVE-2018-16517?
- CVE-2018-16517 has a CVSS v3.1 score of 5.5 (Medium) and an EPSS score of 4.4% (92nd percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.