Vulnerability in Nmap
CVE-2026-81416
- CVSS v3
- 5.3 Medium
- Public exploits
- 1 repository
- EPSS
- Not scored yet
- Published
- 2026-11-25
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H.
- Attack Vector
- Network
AV:N - Attack Complexity
- High
AC:H - Privileges Required
- None
PR:N - User Interaction
- Required
UI:R - Scope
- Unchanged
S:U - Confidentiality
- None
C:N - Integrity
- None
I:N - Availability
- High
A:H
EPSS exploit prediction
FIRST.org has not scored this CVE yet. About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- googlesky/CVE-2026-81416 (last pushed 2026-11-26): Nmap before 7.992: NSE timeout hook fires every 10000 instructions — CPU consumed by excessive callbacks. Verbatim mask from 04a035: 1000 hook calls on vuln, 1 on fixed
References
- github.com/nmap/nmap/commit/390c0b72fa687b2ff8d945ff3ffd0a0c2f049096 (patch)
- github.com/nmap/nmap/commit/04a035a0d37bb8417c6f925485a009d27fdfd3f7 (patch)
- github.com/nmap/nmap/blob/v7.992/CHANGELOG (release-notes)
- nmap.org/changelog.html (release-notes)
- www.vulncheck.com/advisories/nmap-7.992-infinite-loop-via-malformed-repeat-to-a… (third-party-advisory)