CVE-2026-72712
Medium · 6.5CVSS
6.5
EPSS
0.5%
Published
Aug 11, 2026
CISA due date
—
Cloudanix analysis
A bug in the Nmap network scanning tool lets a specially made network packet crash the program, interrupting any scans or automated checks that depend on it.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- User Interaction
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Application
- Class
- Denial of service
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
A zero-length TCP option in a crafted packet triggers an infinite object allocation loop inside Packet:parse_options() in nselib/packet.lua, exhausting memory and terminating the Nmap process.
Why it matters to the business
Scanning or script execution that processes attacker-controlled packets can be interrupted, halting network discovery, vulnerability assessment, or automation workflows that rely on Nmap.
How an attack unfolds
An attacker crafts a TCP packet containing a zero-length option field and sends it to a host or port that Nmap is actively scanning or processing via NSE scripts; the malformed packet reaches parse_options(), enters the unbounded allocation loop, and crashes the application before any useful results are returned.
How to fix it
Upgrade Nmap to the first version containing the corrected packet.lua parsing logic; until then, avoid processing untrusted or externally sourced packet captures with NSE scripts that invoke Packet.parse_options().
How to confirm the fix worked
Confirm the installed Nmap version is newer than 7.99; test by replaying a minimal zero-length TCP option packet against a non-production instance and verifying the process remains stable.
Typical attack path
- Identify a target running Nmap (directly or via scripted scanning).
- Send a single crafted TCP packet containing a zero-length option.
- Trigger Packet:parse_options() during packet parsing.
- Induce memory exhaustion and process termination.
How to detect it
Review Nmap process crash logs, out-of-memory events, or segmentation faults that coincide with active scanning sessions; correlate with network captures containing anomalous TCP options.
What your security team should do
- Prioritize upgrade of all Nmap installations to the fixed release.
- Restrict use of packet-parsing NSE scripts to trusted traffic sources.
- Monitor EPSS and exploit maturity indicators for any future increase in activity.
The record
Nmap versions up to and including 7.99 contains a denial of service vulnerability that allows remote attackers to crash the application by sending a crafted packet containing a zero-length TCP option. The malformed packet forces the Packet:parse_options() function in nselib/packet.lua to allocate objects in an infinite loop, causing an out-of-memory condition that results in application crash.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|
Related vulnerabilities
- CVE-2026-63475 isomorphic-git is a pure JavaScript implementation of Git for Node.js and browsers. CWE-835
- CVE-2026-121261 A vulnerability has been found in phpMyAdmin ShapeFile up to 4.0.1. CWE-835
- CVE-2026-121400 FreeRDP before 3.32.2 contains a denial-of-service vulnerability in… CWE-835
- CVE-2026-119738 The VobSub subtitle decoder libsub_vob (part of the Amlogic DroidLogic SubTitleService)… CWE-835
- CVE-2026-120596 A remotely exploitable denial-of-service vulnerability exists in the TCP options parser… CWE-835
- CVE-2026-120458 Kvazaar through 2.3.2 contains an infinite loop vulnerability in read_header() in… CWE-835
- CVE-2026-120251 imagecodecs 2026.3.6 through 2026.10.10 contains an infinite loop vulnerability in… CWE-835
- CVE-2026-120194 A flaw was found in json-glib. CWE-835