What’s Vulnerable › Vulnerabilities
CVE-2025-59953: LMdeploy has Remote Code Execution by Pickle Deserialization via zmq_rpc.call_and_response() in InterLM/lmdeploy
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.9% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-09-16 · updated 2026-10-14
- Weakness: CWE-502
Description
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.
Affected products
- InternLM lmdeploy: from 0.9.1, < 0.10.2
References
- https://github.com/InternLM/lmdeploy/releases/tag/v0.10.2
- https://github.com/InternLM/lmdeploy/security/advisories/GHSA-5h8j-6crg-7rmw
- https://github.com/InternLM/lmdeploy/security/advisories/GHSA-5h8j-6crg-7rmw
Get alerted when CVE-2025-59953 or the next vulnerability affects your stack