CVE-2026-81415
published medium CVSS 4.0 · 6.0Nmap < 7.992 Infinite Loop via Conformant DEVICETYPE IS Response in tn3270.lua
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Nmap | — | Nmap0 to < 7.992 · Other versions: unaffected | Affected | Not stated | VulnCheck |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.0 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.3 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Nmap | Nmap | 0 to < 7.992 (affected · custom)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-835 Loop with Unreachable Exit Condition ('Infinite Loop')
References
5- Nmap 7.992 Changelog https://github.com/nmap/nmap/blob/v7.992/CHANGELOG
- NSE Timer Callback Commit https://github.com/nmap/nmap/commit/04a035a0d37bb8417c6f925485a009d27fdfd3f7
- NSE 5-Second Non-Yielding Thread Kill Commit https://github.com/nmap/nmap/commit/390c0b72fa687b2ff8d945ff3ffd0a0c2f049096
- Nmap Changelog https://nmap.org/changelog.html
- VulnCheck Advisory: Nmap < 7.992 Infinite Loop via Conformant DEVICETYPE IS Response in tn3270.lua https://www.vulncheck.com/advisories/nmap-7.992-infinite-loop-via-conformant-devicetype-is-response-in-tn3270-lua
Provider assertions
2VulnCheck · cna
Nmap < 7.992 Infinite Loop via Conformant DEVICETYPE IS Response in tn3270.lua
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- bc7af9eb9f6cc70dda6e1ab3c7e278a7c318c9384fef3d2200636ebf847ea341
- Ingested
- 25 Nov 2026, 19:12:07 UTC
- Source record
- Official CVE record