CVE-2025-3162 Details
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.
A critical deserialization vulnerability has been identified in InternLM LMDeploy versions through 0.7.1. The issue resides in the PT File Handler component, specifically within the load_weight_ckpt function in lmdeploy/lmdeploy/vl/model/utils.py. This vulnerability allows for arbitrary code execution by deserializing untrusted data from maliciously crafted .pt files. The flaw requires local exploitation, as the vulnerable function must be called with a harmful .pt file as an argument.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 4, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/InternLM/lmdeploy/issues/3255 | CISA-ADP | ExploitIssue TrackingVendor Advisory |
| https://github.com/InternLM/lmdeploy/issues/3255 | [email protected] | ExploitIssue TrackingVendor Advisory |
| https://github.com/InternLM/lmdeploy/issues/3255#issue-2918985270 | [email protected] | ExploitIssue TrackingVendor Advisory |
| https://vuldb.com/?ctiid.303108 | [email protected] | Permissions RequiredVDB Entry |
| https://vuldb.com/?id.303108 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.542520 | [email protected] | Third Party AdvisoryVDB Entry |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-502 | Deserialization of Untrusted Data | [email protected] |
| CWE-20 | Improper Input Validation | [email protected] |
| CWE-502 | Deserialization of Untrusted Data | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| internlm lmdeploy | <= 0.7.1 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 23, 2025 | Initial Analysis | [email protected] |
| Apr 4, 2025 | CVE Modified | CISA-ADP |
| Apr 3, 2025 | New CVE Received | [email protected] |