Cloudanix VulnDB

CVE-2026-72712

Medium · 6.5

CVSS

6.5

EPSS

0.5%

Published

Aug 11, 2026

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

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

  1. Identify a target running Nmap (directly or via scripted scanning).
  2. Send a single crafted TCP packet containing a zero-length option.
  3. Trigger Packet:parse_options() during packet parsing.
  4. 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