Infinite loop in Nmap tn3270.lua library on malformed RA order
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Partial Red Hat: 5 without a fix
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-835.
Summary
Nmap before 7.992 contains an infinite loop in the process_write function of the NSE tn3270.lua library. The write loop does not advance when it processes a malformed Repeat to Address order (CWE-835). A malicious TN3270 server on a scanned host can embed one malformed order in an ordinary screen-write data stream, causing a permanent 100% CPU hang when tn3270-screen.nse runs. The script-timeout option does not interrupt the hang.
Written with Claude Haiku 5.5 from the sources below · 2026-11-26
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Upgrade Nmap to version 7.992 or later. Red Hat Enterprise Linux 6 has no fix planned, and Red Hat Enterprise Linux 7, 8, 9 and 10 have no fix available.
Written with Claude Haiku 5.5 from the sources below · 2026-11-26
- Fix · CNA Nmap (Nmap) Fixed in 7.992
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
Nmap 7.992
15 records Highest priority Priority LOW 15 LOW
Other records, highest priority first
- TI-2026-98358 Memory exhaustion in Nmap db2-das-info script via packet lengthPriority LOW 38
- TI-2026-98363 Infinite loop in Nmap rdp.lua library hangs scans on malicious RDP serversPriority LOW 37
- TI-2026-98364 Nmap unbounded memory allocation in msrpctypes.lua NSE libraryPriority LOW 32
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 10 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 7 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 8 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 9 | Affected | No fix yet: Fix deferred |
Timeline
- 2026-11-25 Threatist record created from CVE-2026-81416
- 2026-11-25 Alias added: GHSA-whm5-v868-vwq3
- 2026-11-26 Affected versions changed · Red Hat
- 2026-11-26 CVSS score added · Red Hat
- 2026-11-27 CISA SSVC decision points changed
References
More Nmap vulnerabilities
- TI-2026-41812 Nmap - Integer Underflow in IPv6 Extension Header Parsing CVSS 4.0MEDIUM 6.9
- TI-2018-10857 Nmap through 7.70, when the -sV option is used, allows remote attackers to cause a denial… CVSS 3.0HIGH 7.5
- TI-2013-04289 The http-domino-enum-passwords.nse script in NMap before 6.40, when… CVSS 2.0MEDIUM 6.8
- TI-2017-13767 nse_libssh2.cc in Nmap 7.70 is subject to a denial of service condition due to a double… CVSS 3.0HIGH 7.5
- TI-2026-98358 Memory exhaustion in Nmap db2-das-info script via packet length CVSS 4.0HIGH 7.1
- TI-2026-98363 Infinite loop in Nmap rdp.lua library hangs scans on malicious RDP servers CVSS 4.0HIGH 7.1
Sources
- CVE-2026-81416 · CVE Program
- CVE-2026-81416 · NVD
- FIRST EPSS
- GHSA-whm5-v868-vwq3 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-81416 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences