Nmap < 7.992 Scan Freeze via Unreaped Errored Coroutine in tftp.lua

State
Published
Severity
6.0 Medium
Published
Nov 25, 2026
Updated
Nov 30, 2026
Reserved
Aug 26, 2026

Read the record on cve.org

Description

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.

ProductVersions
Nmap Nmapbefore 7.992 Affected

Weaknesses

  • CWE-835 Loop with Unreachable Exit Condition ('Infinite Loop')

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.