{"id":"CVE-2026-81405","aliases":["CVE-2026-81405"],"related":[],"kind":"vulnerability","state":"published","title":"Nmap < 7.992 Memory Exhaustion via Unbounded ONC-RPC Fragment Length in rpc.lua","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-25T17:27:49.207Z","modified":"2026-11-25T20:15:25.900Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":7.1,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-770"],"affected":[{"ranges":[{"type":"custom","introduced":"0","fixed":"7.992","status":"affected"}],"vendor":"Nmap","product":"Nmap","repo":"https://github.com/nmap/nmap","source":"cvelist"}],"references":[{"url":"https://github.com/nmap/nmap/commit/f0e4ac576afacccfff5c669c196b2109315e1ca5","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/nmap/nmap/commit/9de32e381e5fde01e18f1a62b04b3c44ded59c24","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/nmap/nmap/blob/v7.992/CHANGELOG","tags":["release-notes"],"sources":["cvelist","nvd"]},{"url":"https://nmap.org/changelog.html","tags":["release-notes"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/nmap-7.992-memory-exhaustion-via-unbounded-onc-rpc-fragment-length-in-rpc-lua","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["Karan Bamal (SentinelOne)"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-25T18:21:05.830Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-81405","url":"https://www.cve.org/CVERecord?id=CVE-2026-81405","licence":"CVE Terms of Use","modified":"2026-11-25T18:21:13.826Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-81405","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-81405","licence":"Public domain","modified":"2026-11-25T20:15:25.900Z"}],"updatedAt":"2026-11-25T23:18:16.407Z","epss":{"score":0.00699,"percentile":0.54403,"date":"2026-12-01T12:00:22.000Z"}}