CVE Catalog

CVE-2025-59953

CriticalCVSS 9.8
Published: Translated: NVD NIST

Summary

LMDeploy implements an RPC server (AsyncRPCServer in zmq_rpc.py) whose call_and_response() function deserializes received messages using pickles.loads() without any sanitization. This allows remote code execution through the RPC server. The vulnerability exists from version 0.9.1 up to 0.10.2, where it is patched.

Risk Assessment

An attacker with network access to the LMDeploy RPC server can execute arbitrary code in the server process context, leading to full system compromise. The risk is high because no authentication or user interaction is required.

Recommendation

Upgrade LMDeploy to version 0.10.2 or later. Until patched, restrict network access to the LMDeploy RPC port to trusted clients only.

Other vulnerabilities in LMDeploy

See all
Original NVD description (English source)

LMDeploy is a toolkit for compressing, deploying, and serving large language models. Starting in version 0.9.1 and prior to version 0.10.2, the LMdeploy implements an rpc server (AsyncRPCServer in zmq_rpc.py) for supporting the RPC communications. In its core functionality call_and_response(), I found it will directly use the pickles.loads() to deserialize the received messages without any sanitization, hence resulting in a remote code execution vulnerability by this RPC server. Version 0.10.2 contains a patch.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS