Skip to content
OpenAdvisories
Critical · 9.8 CVE-2025-59953 EUVD-2025-210921GHSA-5h8j-6crg-7rmwPYSEC-2026-4079

LMdeploy has Remote Code Execution by Pickle Deserialization via zmq_rpc.call_and_response() in InterLM/lmdeploy

Published Sep 16, 2026 · Updated Sep 18, 2026 · Assigned by GitHub_M

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

VendorProductAffectedFixed
InternLM lmdeploy >= 0.9.1, < 0.10.2 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI lmdeploy >= 0.9.1, < 0.10.2 0.10.2 GHSA-5h8j-6crg-7rmw

References