Loop with Unreachable Exit Condition ('Infinite Loop') Affecting nmap package, versions <7.95+dfsg-3+e2


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.5% (45th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-NMAP-18674660
  • published12 Aug 2026
  • disclosed11 Aug 2026

Introduced: 11 Aug 2026

CVE-2026-72712  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

Upgrade Echo:latest nmap to version 7.95+dfsg-3+e2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream nmap package and not the nmap package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1