AZL-116215: CVE-2026-81416 affecting package nmap 7.95-6
Nmap before 7.992 contains an infinite loop vulnerability in the processwrite function of the NSE tn3270.lua library, whose write loop does not advance when it processes a malformed Repeat to Address (RA) order. A malicious TN3270 server on a scanned host can embed a single 6-byte malformed RA order in an ordinary screen-write data stream after a normal negotiation, causing a permanent 100% CPU hang of the Nmap process when tn3270-screen.nse runs, which the script-timeout option does not interrupt.
Affected Software
Event History
Frequently Asked Questions
What systems are realistically exposed to this issue?
Systems are exposed when they use the affected Nmap package and run the tn3270-screen.nse script against a TN3270 service controlled by, or reachable through, a malicious server. The issue is triggered during scanning rather than by merely having Nmap installed.
What does an attacker need to do to trigger the hang?
An attacker needs to operate a malicious TN3270 server on a scanned host and complete normal TN3270 negotiation. The server can then send a single malformed 6-byte Repeat to Address order in an otherwise ordinary screen-write data stream.
Can script-timeout limit the impact?
No. The provided information states that the script-timeout option does not interrupt the resulting permanent 100% CPU hang.
What is the available remediation boundary?
The vulnerability affects Nmap versions before 7.992. Update to a version that is not before 7.992 when one is available for the affected Azure Linux package.