p PatchFirst

CVE-2025-59953

CVE-2025-59953 · LMdeploy has Remote Code Execution by Pickle Deserialization via zmq_rpc.call_and_response() in InterLM/lmdeploy

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 9.8 · Critical · EPSS 0.9% · Fix available

Published
Updated

Stack: python

Affected products and versions

  • lmdeploy

    Versions
    • >= 0.9.1, < 0.10.2: Affected

    No fix published

  • lmdeploy PyPI

    Versions
    • 0.10.0
    • 0.10.1
    • 0.9.1
    • 0.9.2
    • 0.9.2.post1
    Affected ranges
    • ECOSYSTEM: ≥ 0.9.1, < 0.10.2

    Update to 0.10.2

Original sources

Check your server →