CVE-2026-81415: Nmap < 7.992 Infinite Loop via Conformant DEVICETYPE IS Response in tn3270.lua

Published Nov 25, 2026
·
Updated

Nmap before 7.992 contains an infinite loop vulnerability in the negotiatetn3270 function of the NSE tn3270.lua library, whose device-type search loop does not advance when the server sends a protocol-conformant DEVICETYPE IS response without an LU suffix. A TN3270E server on a scanned host, including a non-malicious one that sends such a response, causes a permanent 100% CPU hang of the Nmap process when tn3270-screen.nse runs, which the script-timeout option does not interrupt.

Affected Software

1 affected component
Nmap Nmap<7.992

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 7.992

Event History

Nov 25, 2026
CVE Published
via MITRE·05:32 PM
Data Sourced
via MITRE·05:32 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which scans are exposed to this issue?

Nmap versions before 7.992 are affected when the tn3270-screen.nse script runs against a TN3270E server that returns a DEVICETYPE IS response without an LU suffix.

2

Does exploitation require a malicious TN3270E server?

No. A non-malicious server can trigger the condition if it sends the protocol-conformant DEVICETYPE IS response described in the issue.

3

Will script-timeout recover a hung scan?

No. The script-timeout option does not interrupt this infinite loop, and the Nmap process can remain permanently hung at 100% CPU.

4

How can I recognize that a scan has been affected?

The Nmap process will hang at 100% CPU while tn3270-screen.nse is running against the affected server response.

5

What version resolves the issue?

Nmap 7.992 is not included in the affected version range; versions before 7.992 are affected.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203