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

EcosystemPackageFixed inAdvisory
PyPIlmdeployno fix listedGHSA-7vc5-mjwp-c8fq
PyPIlmdeployno fix listedPYSEC-2026-1577

Affected products (as reported)

VendorProductVersions
InternLM LMDeploy 0.7.00.7.1

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