{"id":"CVE-2026-81405","summary":"Nmap \u003c 7.992 Memory Exhaustion via Unbounded ONC-RPC Fragment Length in rpc.lua","details":"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.","modified":"2026-11-25T19:45:16.619849979Z","published":"2026-11-25T17:27:49.207Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-770"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/81xxx/CVE-2026-81405.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/81xxx/CVE-2026-81405.json"},{"type":"PACKAGE","url":"https://github.com/nmap/nmap"},{"type":"ADVISORY","url":"https://github.com/nmap/nmap/blob/v7.992/CHANGELOG"},{"type":"FIX","url":"https://github.com/nmap/nmap/commit/9de32e381e5fde01e18f1a62b04b3c44ded59c24"},{"type":"FIX","url":"https://github.com/nmap/nmap/commit/f0e4ac576afacccfff5c669c196b2109315e1ca5"},{"type":"ADVISORY","url":"https://nmap.org/changelog.html"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-81405"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/nmap-7.992-memory-exhaustion-via-unbounded-onc-rpc-fragment-length-in-rpc-lua"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/nmap/nmap","events":[{"introduced":"0"},{"fixed":"0ee561663c1d7d2d4e708cd414dccfd3d9df30d9"},{"fixed":"f0e4ac576afacccfff5c669c196b2109315e1ca5"},{"fixed":"9de32e381e5fde01e18f1a62b04b3c44ded59c24"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"fixed":"7.992"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"range":[{"fixed":"f0e4ac576afacccfff5c669c196b2109315e1ca5"}],"source":"REFERENCES_COMMIT"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"9de32e381e5fde01e18f1a62b04b3c44ded59c24"}]}]}}],"versions":["v7.991"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-81405.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}