Skip to content
Medium 7.1

Nmapに、悪意あるRPCサービスでメモリを枯渇させられる脆弱性

CVE-2026-81405 First seen on SecPulse

Summary

Nmap 7.992より前のバージョンには、NSEのrpc.luaライブラリでONC-RPCのフラグメント長に上限がなく、スキャン対象のホストから大量のメモリを消費させられる脆弱性があります。バージョン検出(-sV)の実行中にrpcinfo.nseがこの処理を通るため、Nmapのプロセスが停止するおそれがあります。修正版の7.992が公開されているので、Nmapを7.992以降に更新してください。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

Nmap 7.992より前のバージョンには、NSEのrpc.luaライブラリでONC-RPCのフラグメント長に上限がなく、スキャン対象のホストから大量のメモリを消費させられる脆弱性があります。バージョン検出(-sV)の実行中にrpcinfo.nseがこの処理を通るため、Nmapのプロセスが停止するおそれがあります。修正版の7.992が公開されているので、Nmapを7.992以降に更新してください。

Affected packages

PackageAffected → Fixed
NmapNmap
< 7.992→ 7.992

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

Original description The description as published by the source.

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: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details