{"id":"CVE-2026-81405","aliases":[],"title":"Nmap < 7.992 Memory Exhaustion via Unbounded ONC-RPC Fragment Length in rpc.lua","originalDescription":"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.","severity":{"cvss":7.1,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","label":"high"},"exploitation":{"kev":null,"epss":{"score":0.00699,"percentile":0.48706},"exploitDb":null},"affected":[{"ecosystem":"vendor","name":"Nmap","range":">=0, <7.992","fixed":"7.992"}],"references":[{"url":"https://github.com/nmap/nmap/commit/f0e4ac576afacccfff5c669c196b2109315e1ca5","type":"patch"},{"url":"https://github.com/nmap/nmap/commit/9de32e381e5fde01e18f1a62b04b3c44ded59c24","type":"patch"},{"url":"https://github.com/nmap/nmap/blob/v7.992/CHANGELOG","type":"release-notes"},{"url":"https://nmap.org/changelog.html","type":"release-notes"},{"url":"https://www.vulncheck.com/advisories/nmap-7.992-memory-exhaustion-via-unbounded-onc-rpc-fragment-length-in-rpc-lua","type":"third-party-advisory"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/81xxx/CVE-2026-81405.json","type":"advisory"},{"url":"https://github.com/nmap/nmap","type":"package"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-81405","type":"advisory"}],"sources":[{"name":"nvd","at":"2026-11-25T20:25:28.806Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-81405","license":"NVD terms of use","firstSeenAt":"2026-11-25T18:46:41.567Z"},{"name":"osv","at":"2026-11-26T21:45:21.445Z","url":"https://osv.dev/vulnerability/CVE-2026-81405","license":"CC-BY 4.0","firstSeenAt":"2026-11-25T19:19:50.742Z"},{"name":"cvelistV5","at":"2026-11-28T22:40:57.338Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-81405","license":"CVE Terms of Use","firstSeenAt":"2026-11-25T17:37:54.679Z"}],"firstSeenAt":"2026-11-25T17:37:54.679Z","publishedAt":"2026-11-25T17:27:49.207Z","modifiedAt":"2026-11-26T21:02:20.109Z"}