Vulnerability · Published Apr 3, 2025 · Assigned by VulDB
CVE-2025-3162InternLM LMDeploy PT File utils.py load_weight_ckpt deserialization
Medium 5.3
In plain English
A medium-severity unsafe deserialization in LMDeploy from InternLM. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 26% of all known vulnerabilities).
Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)0.3%top 73.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known
Official description
A vulnerability was found in InternLM LMDeploy up to 0.7.1. It has been classified as critical. Affected is the function load_weight_ckpt of the file lmdeploy/lmdeploy/vl/model/utils.py of the component PT File Handler. The manipulation leads to deserialization. Attacking locally is a requirement. The exploit has been disclosed to the public and may be used.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | lmdeploy | no fix listed | GHSA-7vc5-mjwp-c8fq |
| PyPI | lmdeploy | no fix listed | PYSEC-2026-1577 |
Affected products (as reported)
Weakness: CWE-502, CWE-20 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
References
- VDB-303108 | InternLM LMDeploy PT File utils.py load_weight_ckpt deserialization vdb-entry, technical-description
- VDB-303108 | CTI Indicators (IOB, IOC, IOA) signature, permissions-required
- Submit #542520 | InternLM lmdeploy <=0.7.1 Deserialization third-party-advisory
- https://github.com/InternLM/lmdeploy/issues/3255 issue-tracking
- https://github.com/InternLM/lmdeploy/issues/3255#issue-2918985270 exploit, issue-tracking