CVE-2026-81417
Nmap < 7.992 Scan Freeze via Unreaped Errored Coroutine in tftp.lua
Medium · 6.0Fix available
- CVSS
- 6
- EPSS
- 0.52% (p38)
- Published
- 2026-11-25
- Age
- 3d old
- Modified
- 2026-11-25
- 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 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.
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/54d8aeedd909d338c86261bbb5c32b7c4a3f6e7d 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-scan-freeze-via-unreaped-errored-coroutine-in-tftp-lua third-party-advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/81xxx/CVE-2026-81417.json advisory
- https://github.com/nmap/nmap package
- https://nvd.nist.gov/vuln/detail/CVE-2026-81417 advisory