Loop with Unreachable Exit Condition ('Infinite Loop') Affecting nmap package, versions <7.993+dfsg-1


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.56% (41st 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-22989372
  • published26 Nov 2026
  • disclosed25 Nov 2026

Introduced: 25 Nov 2026

NewCVE-2026-81415  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

Upgrade Echo:latest nmap to version 7.993+dfsg-1 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 before 7.992 contains an infinite loop vulnerability in the negotiate_tn3270 function of the NSE tn3270.lua library, whose device-type search loop does not advance when the server sends a protocol-conformant DEVICETYPE IS response without an LU suffix. A TN3270E server on a scanned host, including a non-malicious one that sends such a response, causes a permanent 100% CPU hang of the Nmap process when tn3270-screen.nse runs, which the script-timeout option does not interrupt.

CVSS Base Scores

version 3.1