Skip to main content
← All vulnerabilities
CVE-2025-59953GHSA-5H8J-6CRG-7RMWPYSEC-2026-4079

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.10.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • InternLM lmdeploy

    From 0.9.1 · fixed in 0.10.2

  • lmdeployPyPI

    From 0.9.1 · fixed in 0.10.2

References 2

GitHub · InternLM/lmdeploy