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.
Severity (CVSS)
| Base score | 6 |
|---|---|
| Severity | Medium |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-835 — Loop with Unreachable Exit Condition ('Infinite Loop')
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Nmap | Nmap | 0 to <7.992 [affected] |
References
- https://github.com/nmap/nmap/commit/390c0b72fa687b2ff8d945ff3ffd0a0c2f049096 (patch)
- https://github.com/nmap/nmap/commit/04a035a0d37bb8417c6f925485a009d27fdfd3f7 (patch)
- https://github.com/nmap/nmap/blob/v7.992/CHANGELOG (release-notes)
- https://nmap.org/changelog.html (release-notes)
- https://www.vulncheck.com/advisories/nmap-7.992-infinite-loop-via-conformant-devicetype-is-response-in-tn3270-lua (third-party-advisory)
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 26 Nov 2026 08:03 UTC.