CVE-2026-81416
Nmap < 7.992 Infinite Loop via Malformed Repeat to Address Order in tn3270.lua
Medium · 6.0Fix available
- CVSS
- 6
- EPSS
- 0.51% (p37)
- Published
- 2026-11-25
- Age
- 3d old
- Modified
- 2026-11-28
- Product
- Nmap Nmap
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
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.
Fixed in
7.992
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | Nmap | >=0, <7.992 | 7.992 |
Sources
- NVD · first seen 3d ago · NVD terms of use
- OSV · first seen 3d ago · CC-BY 4.0
- CVE List · first seen 3d ago · CVE Terms of Use
References
- https://github.com/nmap/nmap/commit/390c0b72fa687b2ff8d945ff3ffd0a0c2f049096 patch
- https://github.com/nmap/nmap/commit/04a035a0d37bb8417c6f925485a009d27fdfd3f7 patch
- https://github.com/nmap/nmap/blob/v7.992/CHANGELOG release-notes
- https://nmap.org/changelog.html release-notes
- https://www.vulncheck.com/advisories/nmap-7.992-infinite-loop-via-malformed-repeat-to-address-order-in-tn3270-lua third-party-advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/81xxx/CVE-2026-81416.json advisory
- https://github.com/nmap/nmap package
- https://nvd.nist.gov/vuln/detail/CVE-2026-81416 advisory