{"id":"CVE-2025-59953","published":"2026-09-16T16:17:03.010","lastModified":"2026-09-18T18:17:04.180","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.","cvssScore":9.8,"cvssSeverity":"CRITICAL","cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","cwes":["CWE-502"],"vendors":[],"products":[],"references":[{"url":"https://github.com/InternLM/lmdeploy/releases/tag/v0.10.2","tags":[]},{"url":"https://github.com/InternLM/lmdeploy/security/advisories/GHSA-5h8j-6crg-7rmw","tags":[]},{"url":"https://github.com/InternLM/lmdeploy/security/advisories/GHSA-5h8j-6crg-7rmw","tags":[]}],"exploitRefs":[{"url":"https://github.com/InternLM/lmdeploy/releases/tag/v0.10.2","tags":[]},{"url":"https://github.com/InternLM/lmdeploy/security/advisories/GHSA-5h8j-6crg-7rmw","tags":[]},{"url":"https://github.com/InternLM/lmdeploy/security/advisories/GHSA-5h8j-6crg-7rmw","tags":[]}],"hasPoc":true,"ai":{"summary":"The vulnerability in LMDeploy allows remote code execution due to improper deserialization of messages, posing a critical risk.","exploitability":"Exploitation is relatively straightforward as it requires sending maliciously crafted messages to the RPC server. The server must be running and accessible.","blast_radius":"If exploited, this could lead to full compromise of the system hosting the RPC server, including potential data exfiltration and control of the server.","remediation":"Upgrade to version 0.10.2 or later.","detection":"No reliable host or network indicator is derivable from the published description.","tags":["rce","deserialization","rpc","critical"],"model":"qwen2.5:7b-instruct","analyzedAt":"2026-09-27T09:03:37.683Z"}}