CVE-2026-81419: Nmap < 7.992 Infinite Loop via Zero-Length LSA Header in ospf.lua

Published Nov 25, 2026
·
Updated

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.

Affected Software

1 affected component
Nmap Nmap<7.992

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 7.992

Event History

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

Frequently Asked Questions

1

Who is exposed to this issue?

Nmap processes running the broadcast-ospf2-discover.nse script on the same Layer 2 segment as an attacker are exposed. The issue is triggered when that script captures the malicious OSPF LS Update packet.

2

What does an attacker need to exploit it?

An attacker needs Layer 2 network proximity and must send a single spoofed, unauthenticated OSPF LS Update packet containing an LSA header with a zero length. No privileges or authentication are required according to the supplied vector.

3

What is the operational impact if exploitation succeeds?

The affected Nmap process enters a permanent infinite loop and consumes 100% CPU. The provided information describes availability impact only; it does not indicate confidentiality or integrity impact.

4

How can I determine whether a deployment is affected?

Deployments using Nmap versions before 7.992 are affected when they run broadcast-ospf2-discover.nse and can capture OSPF traffic from the local Layer 2 segment. A Nmap process that becomes permanently CPU-bound after receiving such traffic is consistent with this issue.

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