home / blog
2026-11-26 · medium
CVE-2026-81417: Infinite loop vulnerability in Nmap freezes scans
CVE-2026-81417: Coroutine bug in Nmap's tftp.lua causes scan freeze. Affected versions: before 7.992.

CVE-2026-81417 is a vulnerability affecting Nmap, one of the most widely used tools for network scanning and security. The issue lies in the dispatcher of the NSE (Nmap Scripting Engine) tftp.lua library, which contains an infinite loop when coroutines end in error rather than being properly handled. This causes the entire Nmap execution to freeze, blocking port scans for any target in the run.
The severity of this vulnerability is classified as medium with a CVSS score of 5.3. The bug was officially published in the National Vulnerability Database (NVD) on November 25, 2026. Reports have emerged on GitHub indicating the existence of repositories that claim to contain exploits for this vulnerability. However, active exploitation in the wild has not yet been confirmed.
To protect yourself from this vulnerability, it is recommended to immediately update Nmap to version 7.992 or later. If updating is not immediately possible, you can set the script-timeout option to prevent freezing. It's also advisable to monitor the version of Nmap in use in your corporate environment and update scanning processes to avoid situations where this vulnerability could be exploited.
At a glance
- What
- Infinite loop vulnerability in the dispatcher of Nmap's NSE tftp.lua library that freezes the entire execution.
- Severity
- CVSS 5.3 (medium)
- Affected versions
- Nmap before 7.992
- Fix
- Update to Nmap version 7.992 or later
- Status
- Published on 2026-11-25
- Action
- Check your Nmap version and apply the update if necessary
Sources: NVD, CVE-2026-81417