# CVE-2026-81415: Nmap < 7.992 Infinite Loop via Conformant DEVICETYPE IS Response in tn3270.lua

- Severity: Medium 6.0 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.56%, higher than 48% of CVEs (2026-12-01)
- Published: 2026-11-25T17:32:04.681Z
- Modified: 2026-11-25T20:15:25.900Z
- Weaknesses: CWE-835
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- Nmap Nmap: before 7.992

## Every score

- VulnCheck: CVSS:4.0 6.0 Medium `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`
- VulnCheck: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H`

## 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)

## Sources

- CVE List: [CVE-2026-81415](https://www.cve.org/CVERecord?id=CVE-2026-81415), CVE Terms of Use, modified 2026-11-25
- NVD: [CVE-2026-81415](https://nvd.nist.gov/vuln/detail/CVE-2026-81415), Public domain, modified 2026-11-25

---

Page: https://cve.day/CVE-2026-81415 · Whole record: https://cve.day/CVE-2026-81415.json · Rebuilt by cve.day 2026-11-25T23:18:20.958Z
