Nmap < 7.992 Infinite Loop via Malformed Repeat to Address Order in tn3270.lua
- CVE-2026-81416
- GHSA-whm5-v868-vwq3
- EUVD-2026-135611
Description
Nmap before 7.992 contains an infinite loop vulnerability in the process_write 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.
Text from the CVE.org record.
Recommendation
Nmap
- If you run a version before 7.992update to 7.992 or later
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
Nmap
Affected versions Fixed in before 7.992 7.992
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.