CVE-2026-81415
Nmap < 7.992 Infinite Loop via Conformant DEVICETYPE IS Response in tn3270.lua
6.0
Description
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.
Affected products and versions
| Product / package | Ecosystem / vendor | Versions | Fixed in | Source |
|---|---|---|---|---|
| nmap | nmap | 0 → <7.992 | 7.992 | CVE.org |