Home › CVE › Vulnerabilities
CVE-2026-81416 — Nmap
One of 15 Nmap vulnerabilities published together by NVD: our article covers all of them.
VulnerabilitiesSummary
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.
Severity breakdown
Medium · 6.0
An attacker without an account can exploit this over the network if a user views or visits something, but only under specific conditions.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Special conditions
- only in some setups or conditions
- Login needed
- no
- User action needed
- yes, a user must view or visit something
- Impact
- high on availability, none on confidentiality and integrity
- Impact on other systems
- none
Weakness
- CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop')
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| Nmap | < 7.992 | 7.992 |
References by type
Patches and fixed releases
- github.com/nmap/nmap/commit/04a035a0d37bb8417c6f925485a009d27fdfd3f7
- github.com/nmap/nmap/commit/390c0b72fa687b2ff8d945ff3ffd0a0c2f049096
Other references
Affected
- Nmap
What to do
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-81416?
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. Weakness type: Loop with Unreachable Exit Condition ('Infinite Loop') (CWE-835).
How severe is CVE-2026-81416?
CVE-2026-81416 has a CVSS 4.0 base score of 6.0 (medium), from the CNA (vulncheck.com). An attacker without an account can exploit this over the network if a user views or visits something, but only under specific conditions.
Is CVE-2026-81416 being exploited?
Not as far as is known: CVE-2026-81416 is not in CISA's Known Exploited Vulnerabilities catalog as of November 28, 2026. EPSS estimates a 0.5% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-81416?
Nmap < 7.992 (fixed in 7.992).
How do I fix CVE-2026-81416?
Update to a fixed release: Nmap 7.992.