CVE-2025-59953
LMDeploy is a toolkit for compressing, deploying, and serving large …
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/InternLM/lmdeploy/releases/tag/v0.10.2
- github.com/InternLM/lmdeploy/security/advisories/GHSA-5h8j-6crg-7rmw
- github.com/advisories/GHSA-5h8j-6crg-7rmw
- nvd.nist.gov/vuln/detail/CVE-2025-59953
- github.com/InternLM/lmdeploy/commit/d86046a0e6b02ecaaf7cdb74346d0477130221c2
- nvd.nist.gov/vuln/detail/CVE-2025-59953
- cve.org/CVERecord?id=CVE-2025-59953
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.