---
id: CVE-2025-3162
aliases:
  - GHSA-7vc5-mjwp-c8fq
  - PYSEC-2026-1577
title: LMDeploy Improper Input Validation Vulnerability
summary: LMDeploy Improper Input Validation Vulnerability
severity: medium
cvss: 5.3
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L'
vendor: lmdeploy
product: lmdeploy
ecosystem: pip
affected:
  - lmdeploy <= 0.7.1
published: '2025-04-03'
updated: '2026-07-07'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-7vc5-mjwp-c8fq'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2025-3162'
  - url: 'https://github.com/InternLM/lmdeploy/issues/3255'
  - url: 'https://github.com/InternLM/lmdeploy/issues/3255#issue-2918985270'
  - url: 'https://github.com/InternLM/lmdeploy'
  - url: 'https://vuldb.com/?ctiid.303108'
  - url: 'https://vuldb.com/?id.303108'
  - url: 'https://vuldb.com/?submit.542520'
tags:
  - osv
  - pip
epss: 0.00324
epssPercentile: 0.22812
ingestedAt: '2026-07-08T18:25:47.233Z'
---

## Overview

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

- `lmdeploy <= 0.7.1`

## Remediation

Refer to the advisory for the patched release.
