Skip to main content

CVE-2026-33625: CWE-400: Uncontrolled Resource Consumption in InternLM lmdeploy

0
High
VulnerabilityCVE-2026-33625cvecve-2026-33625cwe-400
Published: 09/18/2026 (09/18/2026, 17:13:37 UTC)
Source: CVE Database V5
Vendor/Project: InternLM
Product: lmdeploy

Description

A code injection vulnerability exists in InternLM lmdeploy versions 0.12.1 through 0.12.2. The vulnerability allows an attacker to execute arbitrary Python code by publishing a malicious HuggingFace model with a crafted quantization_config.quant_dtype value. This value is unsafely evaluated in the code, leading to potential remote code execution. Version 0.12.3 contains a patch that fixes this issue.

CVSS v3.1

Score 8.8high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected software

InternLM

lmdeploy

Affected versions
>=0.12.1 <0.12.3
lmdeploy
pkg:pypi/lmdeploy
Affected versions
>=0.12.1 <0.12.3

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/18/2026, 17:47:17 UTC

Technical Analysis

InternLM lmdeploy versions 0.12.1 through 0.12.2 have a code injection vulnerability in the file lmdeploy/pytorch/config.py at line 620. The vulnerability arises because the quantization_config.quant_dtype value from a HuggingFace model is passed directly to eval(f'torch.{quant_dtype}') without validation. An attacker can craft this value to execute arbitrary Python code when the model is loaded. This is classified as CWE-400 (Uncontrolled Resource Consumption) due to the potential for arbitrary code execution and resource abuse. The vulnerability is fixed in version 0.12.3.

Potential Impact

Successful exploitation allows an unauthenticated attacker to execute arbitrary Python code on the system loading the malicious model, potentially leading to full system compromise, data theft, or denial of service. The CVSS v3.1 score is 8.8 (High), reflecting network attack vector, low attack complexity, no privileges required, user interaction required, and high impact on confidentiality, integrity, and availability.

Mitigation Recommendations

Users should upgrade to InternLM lmdeploy version 0.12.3 or later, which contains the official patch for this vulnerability. Until upgrading, avoid loading untrusted or unauthenticated HuggingFace models with lmdeploy. No other mitigations are specified by the vendor.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-03-23T14:24:11.617Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6aad759d55bf5e2cf54f30aa

Added to database: 09/18/2026, 17:32:13 UTC

Last enriched: 09/18/2026, 17:47:17 UTC

Last updated: 09/18/2026, 17:47:17 UTC

Views: 3

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses