CVE-2025-59953
criticalLMDeploy is a toolkit for compressing, deploying, and serving large language models.
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:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Affected products
Not reported by the source (unknown — not "none").
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
No vendor advisory or patch reference tagged by NVD. Check the references below.
References
- https://github.com/InternLM/lmdeploy/releases/tag/v0.10.2 security-advisories@github.com
- https://github.com/InternLM/lmdeploy/security/advisories/GHSA-5h8j-6crg-7rmw security-advisories@github.com
- https://github.com/InternLM/lmdeploy/security/advisories/GHSA-5h8j-6crg-7rmw 134c704f-9b21-4f2e-91b3-4a467353bcc0
