AZL-116212: CVE-2026-81415 affecting package nmap 7.95-6
Nmap before 7.992 contains an infinite loop vulnerability in the negotiatetn3270 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 Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
nmapto a version that resolves this vulnerability.Fixed in 7.992
Event History
Frequently Asked Questions
Which scans are exposed to this issue?
The issue is triggered when the tn3270-screen.nse script runs against a host offering TN3270E. A server does not need to be malicious; a protocol-conformant DEVICETYPE IS response without an LU suffix is sufficient.
What is the operational impact if exploitation occurs?
The affected Nmap process enters a permanent infinite loop and consumes 100% CPU. The script-timeout option does not stop the hang.
What can be done if upgrading is not immediately possible?
Avoid running tn3270-screen.nse against TN3270E servers until Nmap is updated to a version that is not affected. If a scan hangs, terminate the affected Nmap process rather than relying on script-timeout.