CVE-2026-81419
published medium CVSS 4.0 · 5.9Nmap < 7.992 Infinite Loop via Zero-Length LSA Header in ospf.lua
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Nmap | — | Nmap0 to < 7.992 · Other versions: unaffected | Affected | Not stated | VulnCheck |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
Description
Nmap before 7.992 contains an infinite loop vulnerability in the LSUpdate.parse function of the NSE ospf.lua library, which does not advance when it reads an LSA header with a zero length. An attacker on the same layer 2 segment can send a single spoofed, unauthenticated OSPF LS Update packet, causing a permanent 100% CPU hang of the Nmap process as soon as broadcast-ospf2-discover.nse captures it.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.9 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- CVSS:4.0/AV:A/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 4.8 | medium | VulnCheck · cna | CVSS:3.1/AV:A/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Nmap | Nmap | 0 to < 7.992 (affected · custom)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-835 Loop with Unreachable Exit Condition ('Infinite Loop')
References
5- Nmap 7.992 Changelog https://github.com/nmap/nmap/blob/v7.992/CHANGELOG
- NSE 5-Second Non-Yielding Thread Kill Commit https://github.com/nmap/nmap/commit/390c0b72fa687b2ff8d945ff3ffd0a0c2f049096
- Fix Commit (OSPF header length check) https://github.com/nmap/nmap/commit/5fda523bc07cf813cdff725f769eeac92b2de2f2
- Nmap Changelog https://nmap.org/changelog.html
- VulnCheck Advisory: Nmap < 7.992 Infinite Loop via Zero-Length LSA Header in ospf.lua https://www.vulncheck.com/advisories/nmap-7.992-infinite-loop-via-zero-length-lsa-header-in-ospf-lua
Provider assertions
2VulnCheck · cna
Nmap < 7.992 Infinite Loop via Zero-Length LSA Header in ospf.lua
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- e4813ce7ab9695a18a2abbc1d8889559f1a7b39907c04f7a4c3c00e3f7d801b1
- Ingested
- 25 Nov 2026, 19:12:07 UTC
- Source record
- Official CVE record