CVE-2025-67729 lmdeploy vulnerable to Arbitrary Code Execution via Insecure Deserialization in torch.load()
HighCVSS 8.8
EPSS 0.51%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
Description
LMDeploy is a toolkit for compressing, deploying, and serving LLMs. Prior to version 0.11.1, an insecure deserialization vulnerability exists in lmdeploy where torch.load() is called without the weights_only=True parameter when loading model checkpoint files. This allows an attacker to execute arbitrary code on the victim's machine when they load a malicious .bin or .pt model file. This issue has been patched in version 0.11.1.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| InternLM lmdeploy | < 0.11.1; = < 0.11.1 | 0.11.1 | Fixed |
| pypi lmdeploy(PyPI) | < 0.11.1; <= 0.11; = 0.0.10; = 0.0.11 +45 more | 0.11.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi lmdeploy(PyPI) | < 0.11.1 | 0.11.1 |
| pypi lmdeploy(PyPI) | = 0.0.10 | No fix listed |
| pypi lmdeploy(PyPI) | = 0.0.11 | No fix listed |
| pypi lmdeploy(PyPI) | = 0.0.12 | No fix listed |
| pypi lmdeploy(PyPI) | = 0.0.13 | No fix listed |
| pypi lmdeploy(PyPI) | = 0.0.14 | No fix listed |
| pypi lmdeploy(PyPI) | = 0.1.0 | No fix listed |
| pypi lmdeploy(PyPI) | = 0.10.0 | No fix listed |
| pypi lmdeploy(PyPI) | = 0.10.1 | No fix listed |
| pypi lmdeploy(PyPI) | = 0.10.2 | No fix listed |
| pypi lmdeploy(PyPI) | = 0.11.0 | No fix listed |
| pypi lmdeploy(PyPI) | = 0.2.0 | No fix listed |
| pypi lmdeploy(PyPI) | = 0.2.1 | No fix listed |
| pypi lmdeploy(PyPI) | = 0.2.2 | No fix listed |
| pypi lmdeploy(PyPI) | = 0.2.3 | No fix listed |
| pypi lmdeploy(PyPI) | = 0.2.4 | No fix listed |
| pypi lmdeploy(PyPI) | = 0.2.5 | No fix listed |
| pypi lmdeploy(PyPI) | = 0.2.6 | No fix listed |
| pypi lmdeploy(PyPI) | = 0.3.0 | No fix listed |
| pypi lmdeploy(PyPI) | = 0.4.0 | No fix listed |
| pypi lmdeploy(PyPI) | = 0.4.1 | No fix listed |
| pypi lmdeploy(PyPI) | = 0.4.2 | No fix listed |
| pypi lmdeploy(PyPI) | = 0.5.0 | No fix listed |
| pypi lmdeploy(PyPI) | = 0.5.1 | No fix listed |
| pypi lmdeploy(PyPI) | = 0.5.2 | No fix listed |
Show 26 more
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi lmdeploy(PyPI) | = 0.5.2.post1 | No fix listed |
| pypi lmdeploy(PyPI) | = 0.5.3 | No fix listed |
| pypi lmdeploy(PyPI) | = 0.6.0 | No fix listed |
| pypi lmdeploy(PyPI) | = 0.6.0a0 | No fix listed |
| pypi lmdeploy(PyPI) | = 0.6.1 | No fix listed |
| pypi lmdeploy(PyPI) | = 0.6.2 | No fix listed |
| pypi lmdeploy(PyPI) | = 0.6.2.post1 | No fix listed |
| pypi lmdeploy(PyPI) | = 0.6.3 | No fix listed |
| pypi lmdeploy(PyPI) | = 0.6.4 | No fix listed |
| pypi lmdeploy(PyPI) | = 0.6.5 | No fix listed |
| pypi lmdeploy(PyPI) | = 0.7.0 | No fix listed |
| pypi lmdeploy(PyPI) | = 0.7.0.post1 | No fix listed |
| pypi lmdeploy(PyPI) | = 0.7.0.post2 | No fix listed |
| pypi lmdeploy(PyPI) | = 0.7.0.post3 | No fix listed |
| pypi lmdeploy(PyPI) | = 0.7.1 | No fix listed |
| pypi lmdeploy(PyPI) | = 0.7.2 | No fix listed |
| pypi lmdeploy(PyPI) | = 0.7.2.post1 | No fix listed |
| pypi lmdeploy(PyPI) | = 0.7.3 | No fix listed |
| pypi lmdeploy(PyPI) | = 0.8.0 | No fix listed |
| pypi lmdeploy(PyPI) | = 0.9.0 | No fix listed |
| pypi lmdeploy(PyPI) | = 0.9.1 | No fix listed |
| pypi lmdeploy(PyPI) | = 0.9.2 | No fix listed |
| pypi lmdeploy(PyPI) | = 0.9.2.post1 | No fix listed |
| pypi lmdeploy(PyPI) | <= 0.11 | No fix listed |
| InternLM lmdeploy | = < 0.11.1 | No fix listed |
| InternLM lmdeploy | < 0.11.1 | 0.11.1 |
References
- https://github.com/InternLM/lmdeploy/security/advisories/GHSA-9pf3-7rrr-x5jh exploit vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/InternLM/lmdeploy/commit/eb04b4281c5784a5cff5ea639c8f96b33b3ae5ee patch
- github.com product
- pypi.org product
- github.com vendor-advisory