CVE-2026-81415
Nmap < 7.992 Infinite Loop via Conformant DEVICETYPE IS Response in tn3270.lua
Medium · 6.0Fix available
- CVSS
- 6
- EPSS
- 0.56% (p41)
- Published
- 2026-11-25
- Age
- 3d old
- Modified
- 2026-11-26
- Product
- Nmap Nmap
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
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.
Fixed in
7.992
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | Nmap | >=0, <7.992 | 7.992 |
Sources
- NVD · first seen 3d ago · NVD terms of use
- OSV · first seen 3d ago · CC-BY 4.0
- CVE List · first seen 3d ago · CVE Terms of Use
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
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/81xxx/CVE-2026-81415.json advisory
- https://github.com/nmap/nmap package
- https://nvd.nist.gov/vuln/detail/CVE-2026-81415 advisory