Read the docs
TI-2025-40887 Aliases CVE-2025-66455GHSA-2vh9-42vm-xmv2

Deserialization of untrusted data in InternLM lmdeploy

Priority MEDIUM 51CWE-502Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-502.

Summary

LMDeploy is a toolkit for compressing, deploying, and serving large language models. Starting in version 0.9.2 and prior to version 0.16.0, LMDeploy's PyTorch DistServe/PD-disaggregation control plane used `recv_pyobj()` to deserialize messages received through a ZeroMQ PULL socket. PyZMQ implements `recv_pyobj()` using Python pickle deserialization, which can execute arbitrary code while reconstructing an object. The peer address used by the receiver was supplied through the `POST /distserve/p2p_connect` HTTP endpoint. An attacker who could reach an affected DistServe API server could cause the server to connect to an attacker-controlled ZeroMQ endpoint and deserialize a crafted pickle payload. API-key authentication is not enabled unless the operator explicitly configures it. As a result, affected DistServe deployments without API keys allowed unauthenticated remote code execution with the privileges of the LMDeploy serving process. This issue affects the PyTorch backend when PD-disaggregation/DistServe is enabled. Ordinary deployments that do not use the affected disaggregated-serving path do not expose this data flow. The fix was released in LMDeploy 0.16.0. Users who cannot upgrade immediately should prevent untrusted clients from reaching `/distserve/*` endpoints, restrict the DistServe HTTP and ZeroMQ control planes to trusted cluster networks, configure API-key authentication, and block arbitrary outbound ZeroMQ connections from serving nodes. These measures reduce exposure but do not make pickle deserialization safe.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.01266 69th percentileScored 2026-11-07
Fix Fixed lmdeploy (InternLM): 0.16.0lmdeploy (PyPI): 0.16.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
InternLMlmdeploy0.9.2 to before 0.16.00.16.0Patch availableCNA
—lmdeploy (PyPI)0.9.2 to before 0.16.00.16.0Patch availableGHSA-2vh9-42vm-xmv2
  • lmdeploy VendorInternLM Affected 0.9.2 to before 0.16.0 Fixed in 0.16.0 Patch available CNA
  • lmdeploy (PyPI) Vendor— Affected 0.9.2 to before 0.16.0 Fixed in 0.16.0 Patch available GHSA-2vh9-42vm-xmv2

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:internlm:lmdeploy:*:*:*:*:*:*:*:*——InternLM
  • cpe:2.3:a:internlm:lmdeploy:*:*:*:*:*:*:*:* Versions — — ·InternLM

Remediation

  • Fix · CNA lmdeploy (InternLM) Fixed in 0.16.0
  • Fix · GHSA-2vh9-42vm-xmv2 lmdeploy (PyPI) Fixed in 0.16.0 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-66455
  2. 2026-10-03 Alias added: GHSA-2vh9-42vm-xmv2

References

  • TI-2026-67516 InternLM MindSearch Planner Agent graph.py ExecutionAction.run code injection CVSS 4.0CRITICAL 10.0
  • TI-2025-37341 LMdeploy has Remote Code Execution by Pickle Deserialization via zmq_rpc.call_and_response() in InterLM/lmdeploy CVSS 3.1CRITICAL 9.8
  • TI-2026-83181 Unauthenticated RCE in InternLM LMDeploy via pickle deserialization CVSS 4.0CRITICAL 9.3
  • TI-2026-53684 LMDeploy Remote Code Execution via Unsafe Pickle Deserialization in the Disaggregated Serving Peer Connector CVSS 4.0CRITICAL 9.3
  • TI-2026-62637 InternLM LMDeploy through 0.17.0 Memory Exhaustion via Session ID Mismatch CVSS 4.0HIGH 8.7
  • TI-2026-62632 InternLM LMDeploy through 0.17.0 Assertion Denial of Service CVSS 4.0HIGH 8.7
See all 14 →

Sources