CVE-2026-81416Nmap Loop with Unreachable Exit Condition (Infinite Loop)
NVD
Vulnerability Summary
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.
CVSS v4.0 Base Metrics — Score 6.0 (MEDIUM)
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NAttack VectorNetwork
Attack ComplexityLow
Attack RequirementsPresent
Privileges RequiredNone
User InteractionPassive
Confidentiality (Vulnerable System)None
Integrity (Vulnerable System)None
Availability (Vulnerable System)High
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None
Show CVSS v3.x metrics (score 5.3)
CVSS v3.1 Base Metrics — Score 5.3 (MEDIUM)
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:HAttack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionRequired
ScopeUnchanged
ConfidentialityNone
IntegrityNone
AvailabilityHigh
Affected & Patched Versions
- Nmap < 7.992
- Nmap 7.992
What to do
Fix it during your normal patch cycle. No exploitation is confirmed yet.
- Check whether you run Nmap and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Nov 25, 2026Published
- Nov 25, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new Nmap CVEsYou are reading CVE-2026-81416. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
- Patchhttps://github.com/nmap/nmap/commit/390c0b72fa687b2ff8d945ff3ffd0a0c2f049096
- Patchhttps://github.com/nmap/nmap/commit/04a035a0d37bb8417c6f925485a009d27fdfd3f7
- Referencehttps://github.com/nmap/nmap/blob/v7.992/CHANGELOG
- Referencehttps://nmap.org/changelog.html
- Referencehttps://www.vulncheck.com/advisories/nmap-7.992-infinite-loop-via-malformed-repeat-to-address-order-in-tn3270-lua
Data last checked: Nov 26, 2026 16:13 UTC