InternLM LMDeploy PT File utils.py load_weight_ckpt deserialization
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2025-3162
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 09:38 UTC · Revision 1
Source evidence
InternLM LMDeploy PT File utils.py load_weight_ckpt deserialization
core-osv · Original sourcePublished 3 Apr 2025, 15:00 UTC
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.
osv:CVE-2025-3162
Complete source record
{
"id": "1bef2662f8b814938af61df4d85f25790b815415c2654ea36d920e87b02648c7",
"url": "https://osv.dev/vulnerability/CVE-2025-3162",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "InternLM LMDeploy PT File utils.py load_weight_ckpt deserialization",
"summary": "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.",
"evidence": "osv:CVE-2025-3162",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2025-3162",
"aliases": [
"CVE-2025-3162",
"GHSA-7vc5-mjwp-c8fq",
"PYSEC-2026-1577"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/internlm/lmdeploy",
"type": "GIT",
"events": [
{
"introduced": "9fcb3b10363abdbc26f9f5c5620c65837a1ba87f"
},
{
"last_affected": "c4d5bd978f64ff5a2c534207bdf7febba0fb0a77"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0.7.0"
},
{
"last_affected": "0.7.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"range": [
{
"introduced": "0.7.1"
},
{
"last_affected": "0.7.1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"cpe": "cpe:2.3:a:internlm:lmdeploy:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "0.7.1"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"0.7.0",
"0.7.1",
"v0.7.1",
"v0.7.0.post3",
"v0.7.0.post2",
"v0.7.0.post1",
"v0.7.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-3162.json"
}
}
],
"modified": "2026-10-28T02:30:27.536481789Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/3xxx/CVE-2025-3162.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-3162",
"https://vuldb.com/?id.303108",
"https://vuldb.com/?submit.542520",
"https://github.com/InternLM/lmdeploy/issues/3255",
"https://github.com/InternLM/lmdeploy/issues/3255#issue-2918985270",
"https://vuldb.com/?ctiid.303108"
],
"provider_metadata": {
"cwe_ids": [
"CWE-20",
"CWE-502"
],
"cna_assigner": "VulDB",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/3xxx/CVE-2025-3162.json"
}
},
"related_cves": [
{
"value": "CVE-2025-3162",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 494260,
"published_at": "2025-04-03T15:00:18.405+00:00"
}