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

- Severity: Critical 9.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.80%, higher than 57% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-16T15:34:27.000Z
- Modified: 2026-10-14T19:10:00.297Z
- Also known as: GHSA-5h8j-6crg-7rmw, PYSEC-2026-4079
- Weaknesses: CWE-502
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- InternLM lmdeploy: >= 0.9.1, < 0.10.2
- lmdeploy (PyPI): from 0.9.1 before 0.10.2

## Every score

- GitHub_M: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/InternLM/lmdeploy/security/advisories/GHSA-5h8j-6crg-7rmw> (exploit, web)
- <https://github.com/InternLM/lmdeploy/releases/tag/v0.10.2> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-59953> (advisory)
- <https://github.com/InternLM/lmdeploy/commit/d86046a0e6b02ecaaf7cdb74346d0477130221c2> (web)
- <https://github.com/InternLM/lmdeploy> (package)
- <https://pypi.org/project/lmdeploy> (package)
- <https://github.com/advisories/GHSA-5h8j-6crg-7rmw> (advisory)

## Sources

- CVE List: [CVE-2025-59953](https://www.cve.org/CVERecord?id=CVE-2025-59953), CVE Terms of Use, modified 2026-09-18
- GitHub Advisory Database: [GHSA-5h8j-6crg-7rmw](https://github.com/advisories/GHSA-5h8j-6crg-7rmw), CC-BY-4.0, modified 2026-10-01
- NVD: [CVE-2025-59953](https://nvd.nist.gov/vuln/detail/CVE-2025-59953), Public domain, modified 2026-10-14
- PyPA Advisory Database: [PYSEC-2026-4079](https://osv.dev/vulnerability/PYSEC-2026-4079), CC-BY-4.0, modified 2026-10-01

---

Page: https://cve.day/CVE-2025-59953 · Whole record: https://cve.day/CVE-2025-59953.json · Rebuilt by cve.day 2026-11-25T22:59:12.503Z
