CVE-2026-72712

Nmap 7.99 Denial of Service via Zero-Length TCP Option Packet

Published Aug 11, 2026 CVSS 4.0 · 6.9 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

The vulnerability is caused by a malformed packet containing a zero‑length TCP option that triggers an infinite loop during option parsing. This loop consumes memory until the process runs out of memory, resulting in an application crash. The impact is a denial of service that can be triggered without authentication by any remote attacker who can send packets to the target host.

Affected Systems

Nmap, versions up to and including 7.99, distributed by the Nmap Project. No other vendors or products are mentioned as affected.

Risk and Exploitability

The CVSS score of 6.9 indicates moderate severity, while the EPSS score of less than 1% shows a very low probability of exploitation in the wild. The vulnerability is not listed in CISA's Known Exploited Vulnerabilities catalog. Attackers can exploit this remotely by crafting a TCP packet with a zero‑length option; no special privileges are required, making it straightforward for attackers to crash the application.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Nmap to the latest released version where the packet parsing loop has been fixed.
  • If an upgrade is not immediately possible, configure firewalls or IDS rules to drop TCP packets that contain zero‑length options or other malformed TCP options before they reach the Nmap process.
  • Monitor the Nmap service for unexpected crashes.

Generated by OpenCVE AI on August 12, 2026 at 21:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:nmap:nmap:*:*:*:*:*:*:*:*
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Nmap
Nmap nmap
Vendors & Products Nmap
Nmap nmap
Type Values Removed Values Added
Description 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.
Title Nmap 7.99 Denial of Service via Zero-Length TCP Option Packet
Weaknesses CWE-835
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'}

cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-835

    Loop with Unreachable Exit Condition ('Infinite Loop')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Aug 14, 2026, 4:51 PM
Reserved
Aug 10, 2026, 1:02 PM
Status
Awaiting Analysis
Published
Aug 11, 2026, 6:18 PM
Modified
Oct 24, 2026, 3:10 PM
Severity
Moderate
Public date
Aug 11, 2026, 5:35 PM