Skip to content
RedCVE

CVE-2025-66455Internlm Lmdeploy deserialization of untrusted data

InternLMPublished:

CVSS score

9.8

Critical

CVSS 3.1 from github.com

Exploit probability (EPSS)

1.27%

1.27% chance of exploitation in the next 30 days, higher than 70.5% of all CVEs.

CISA KEV

Not in KEV

No confirmed exploitation reported by CISA so far.

Official description

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.

Source: NVD · CNA: security-advisories@github.com

How to fix it, step by step

  1. Check whether you're affected

    Find every system running InternLM Lmdeploy and compare its version with the affected versions.

  2. Update to a fixed version

    • Update Lmdeploy to 0.16.0 or later.
  3. Confirm the fix

    Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.

Was this useful?

How it can be exploited

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

Affected productsVersions
InternLM Lmdeploy>= 0.9.2, < 0.16.0

Weakness

  • CWE-502 deserialization of untrusted data

Timeline

  1. Published:
  2. Last modified:

Frequently asked questions

Is CVE-2025-66455 being exploited?

There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 1.3% probability of exploitation in the next 30 days.

What is the CVSS score of CVE-2025-66455?

CVE-2025-66455 has a CVSS 3.1 base score of 9.8 (critical).

Which versions are affected?

Internlm Lmdeploy (>= 0.9.2, < 0.16.0)

Is there a patch for CVE-2025-66455?

The official record links to vendor advisories or patches; see “What to do” above.

References

Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.