CVE-2026-81417: Nmap < 7.992 Scan Freeze via Unreaped Errored Coroutine in tftp.lua

Published Nov 25, 2026
·
Updated

Nmap before 7.992 contains an infinite loop vulnerability in the dispatcher of the NSE tftp.lua library, which removes completed coroutines but not ones that ended in an error, leaving a zero-yield spin. A malicious TFTP exchange reached by snmp-ios-config.nse after an SNMP write sequence can leave a dead coroutine that freezes the entire Nmap invocation, before port scanning begins for any target in the run; the hang is prevented when the script-timeout option is set.

Affected Software

1 affected component
Nmap Project Nmap<7.992

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade nmap to a version that resolves this vulnerability.

    Fixed in 7.992
  2. Configuration

    Set the script-timeout option to prevent the hang.

    Nmap script-timeout

Event History

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

Frequently Asked Questions

1

What conditions are required to trigger the scan freeze?

An attacker needs to control or interfere with a TFTP exchange reached by the snmp-ios-config.nse script after its SNMP write sequence. Exploitation also requires user interaction because an operator must run an affected Nmap invocation using that workflow.

2

What is the operational impact of a successful trigger?

The affected NSE dispatcher can enter a zero-yield spin and freeze the entire Nmap invocation. The hang can occur before port scanning begins for any target included in the run.

3

Is there a mitigation if updating Nmap is not immediately possible?

Set the script-timeout option. The provided information states that this prevents the hang.

4

How can I determine whether an installation is affected?

Nmap versions before 7.992 are affected. An affected run may freeze during the TFTP exchange used by snmp-ios-config.nse after the SNMP write sequence.

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