Skip to content
OpenAdvisories
Medium · 5.3 CVE-2026-81416 EUVD-2026-135611GHSA-whm5-v868-vwq3

Nmap < 7.992 Infinite Loop via Malformed Repeat to Address Order in tn3270.lua

Published Nov 25, 2026 · Assigned by VulnCheck

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.

Affected products

VendorProductAffectedFixed
Nmap Nmap < 7.992 7.992

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 nmap 7.993+dfsg-1 —
Debian 13 nmap No fix yet —
Debian 12 nmap No fix yet —

Advisories 1

References