CVE-2026-81405: Nmap < 7.992 Memory Exhaustion via Unbounded ONC-RPC Fragment Length in rpc.lua

Published Nov 25, 2026
·
Updated

Nmap before 7.992 contains an uncontrolled resource consumption vulnerability in the Comm.ReceivePacket function of the NSE rpc.lua library, which buffers ONC-RPC record fragments using the server-declared fragment length without an upper bound. A malicious RPC service on a scanned host can declare fragments of up to roughly 2.1GB, and up to 400 fragments per call, causing the Nmap process to exhaust memory; the read path is reached by rpcinfo.nse during version detection (-sV) and is shared by the NFS, rusers and NetWorker scripts.

Affected Software

1 affected component
Nmap Project 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:27 PM
Data Sourced
via MITRE·05:27 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which scans are exposed to this issue?

The vulnerable receive path is reached by rpcinfo.nse during service/version detection with -sV. It is also shared by the NFS, rusers, and NetWorker NSE scripts.

2

What must an attacker control to trigger the memory exhaustion?

An attacker needs to operate or control a malicious RPC service on a host being scanned. The service can advertise oversized ONC-RPC record fragment lengths, causing Nmap to buffer server-declared data without an upper bound.

3

Are unauthenticated scans affected?

Yes. The listed vector has no required privileges, but exploitation requires user interaction in the form of scanning the malicious RPC service.

4

What is the practical impact on the scanner?

A malicious service can declare fragments of roughly 2.1 GB each, with up to 400 fragments per call. This can exhaust memory in the Nmap process and disrupt or terminate the scan.

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