Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach LMDeploy DistServe endpoint
-
DeliverySubmit migration_request with empty remote_block_ids
-
ExploitTrigger AssertionError in decode migration loop
-
ExecutionCrash inference engine loop
-
ImpactDeny service to all subsequent requests
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V16 - Security Logging and Error Handling Reachable assertion handling
|
| Exploitation Conditions | Requires the target LMDeploy instance (≤0.17.0) to be running in DistServe disaggregated prefill-decode serving mode with the migration path reachable - this is a non-default, multi-node serving topology, which is the primary limiting factor. Given that mode, no authentication or user interaction is needed (PR:N/UI:N): the attacker only needs network reachability to the endpoint and sends a migration_request containing an empty remote_block_ids list. Single-node/standard LMDeploy deployments that do not enable DistServe migration are not exposed via this path. |
| Impact | This is an availability-only denial-of-service issue (CVSS 4.0 8.7, vector VC:N/VI:N/VA:H) - no confidentiality or integrity impact, so the 'HIGH' score is driven entirely by the crash of a critical service. The CVSS 4.0 vector claims network attack vector, low complexity, no privileges and no user interaction (AV:N/AC:L/AT:N/PR:N/UI:N), which would normally mean trivially exploitable; however the description scopes the flaw to the 'DistServe decode migration loop', i.e. LMDeploy's disaggregated prefill-decode serving mode, which is a NON-DEFAULT deployment topology. That configuration dependency is not reflected in the CVSS metrics and materially lowers real-world exposure - most single-node LMDeploy deployments never enable DistServe migration and are therefore not reachable via this path. No EPSS score, no CISA KEV entry, and no explicit POC flag were provided, so there is no evidence of active exploitation or automated weaponization; the linked GitHub issue (#4965) and VulnCheck advisory likely contain a reproduction but that is unconfirmed. Net assessment: a genuine crash-the-engine bug worth patching for anyone running DistServe, but for the typical (non-disaggregated) LMDeploy operator this is lower real-world priority than the 8.7 suggests - the score reflects impact-on-hit, not likelihood-across-the-install-base. |
| Exploit ScenarioDerived | An attacker with network access to an LMDeploy inference server running in DistServe disaggregated mode submits a crafted migration_request whose remote_block_ids list is empty. This trips an AssertionError inside the decode migration loop, crashing the engine loop so that all subsequent inference requests fail until the service is restarted. A reproduction is referenced in GitHub issue #4965 and the VulnCheck advisory, though no standalone weaponized exploit is confirmed. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 17, 2026
Denial of service in InternLM LMDeploy through 0.17.0 lets unauthenticated remote attackers crash the distributed inference engine by sending a migration_request whose remote_block_ids list is empty, which trips a reachable assertion in the DistServe decode migration loop and terminates the engine so that all subsequent inference requests fail (CWE-617, CVSS 4.0 8.7; availability-only, VC:N/VI:N/VA:H). Exploitation requires the target to be running in DistServe disaggregated prefill-decode serving mode with the migration path reachable - a non-default, multi-node topology that is the primary limiting factor, since standard single-node deployments are not exposed through this path. Given that configuration, no authentication or user interaction is required; there is no public exploit identified at time of analysis and the issue is not listed in CISA KEV.
RemediationAI
No vendor-released patch identified at time of analysis; there is no fixed version to upgrade to in the available data, so the primary action is to track https://github.com/InternLM/lmdeploy/issues/4965 and the VulnCheck advisory (https://www.vulncheck.com/advisories/internlm-lmdeploy-through-0.17.0-assertion-denial-of-service) for an upstream fix and upgrade as soon as a release pins the assertion to an explicit input-validation check. Until then, the most effective control is to disable or avoid DistServe disaggregated prefill-decode mode with the migration path enabled (revert to single-node serving or a deployment that does not expose migration), which eliminates the vulnerable code path entirely at the cost of the throughput benefits disaggregation provides. Where DistServe must remain enabled, restrict network reachability to the migration and OpenAI-compatible completion endpoints to trusted serving workers and a front proxy only (allowlist by source IP/port, no public exposure), accepting that this limits multi-tenant access to the inference API; place an authenticating reverse proxy in front of the endpoint, noting that authentication alone is insufficient against a caller that already holds valid credentials. Add process supervision that restarts the engine loop on AssertionError to shorten recovery time and alert on AssertionError in engine_loop.py as an exploitation indicator. Running the Python engine with assertions disabled (PYTHONOPTIMIZE=1/-O) would prevent the AssertionError from aborting the loop, but it converts a clean crash into continued execution over inconsistent KV-cache block state and is not a sanctioned fix; if used as an emergency stopgap, test decode correctness carefully beforehand.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
LMDeploy is InternLM's inference and serving toolkit for large language models, exposing an OpenAI-compatible HTTP API (referenced endpoint code: lmdeploy/serve/openai/endpoints/completions.py, lines 130-136). DistServe is LMDeploy's disaggregated prefill/decode serving architecture, in which prefill and decode run as separate workers across nodes and KV-cache blocks are handed off between them via a migration path; the decode-side migration loop lives in lmdeploy/pytorch/engine/engine_loop.py (lines 560-564) and block/ID handling helpers in lmdeploy/pytorch/utils.py (lines 187-214). The root cause is CWE-617 (Reachable Assertion): the migration loop validates incoming migration state with a Python assert that assumes remote_block_ids is non-empty, so a crafted migration_request carrying an empty list reaches that assert, raises AssertionError, and propagates out of the engine loop, killing the inference worker. Because the crashed loop is the component that services decode requests, the impact cascades to every subsequent inference request rather than to a single session. The vulnerability class is strictly availability-affecting - no memory corruption, no data exposure, and no path to code execution or state modification are described in the available data.
Know when Lmdeploy gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Unauthenticated network request with a trivial empty-list payload (AC:L/PR:N) crashes the engine for an availability-only impact (A:H; C:N/I:N); DistServe-mode dependency is a deployment gate rather than per-attack complexity.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
InternLM LMDeploy through 0.17.0 contains a reachable assertion vulnerability in the DistServe decode migration loop that allows unauthenticated attackers to terminate the inference engine. Attackers can submit a migration_request with an empty remote_block_ids list to trigger an AssertionError that crashes the engine loop and causes subsequent inference requests to fail.
Executive ViewAI
InternLM LMDeploy versions through 0.17.0 contain a high-severity denial-of-service vulnerability that can crash the distributed inference engine when running in a non-default multi-node DistServe disaggregated prefill-decode serving mode. Successful exploitation would terminate the engine, causing all subsequent inference requests to fail, disrupting AI inference services for organizations using this specific topology. As no vendor patch is currently available and no public exploit has been identified, proactive mitigation and monitoring are essential to protect service availability.
Disable DistServe disaggregated prefill-decode serving mode if not required; restrict network access to the migration port to trusted internal hosts only; monitor logs for assertion failures or engine crashes; consider using an API gateway to filter malformed migration requests.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Remote code execution in InternLM LMDeploy versions 0.9.1 through 0.10.1 allows unauthenticated network attackers to run
Server-Side Request Forgery (SSRF) in InternLM LMDeploy's vision-language module allows remote unauthenticated attackers
Unauthenticated remote code execution in InternLM LMDeploy (versions 0.9.2 through 0.15.x) allows a remote attacker to e
Unauthenticated remote code execution in InternLM LMDeploy versions 0.9.0 through 0.18.0 lets remote attackers run arbit
Arbitrary code execution in InternLM LMDeploy 0.11 and earlier: the toolkit calls torch.load() without weights_only=True
A vulnerability was found in InternLM LMDeploy up to 0.7.1. Rated medium severity (CVSS 4.8), this vulnerability is low
A vulnerability was found in InternLM LMDeploy up to 0.7.1. Rated medium severity (CVSS 4.8), this vulnerability is low
Memory exhaustion in InternLM LMDeploy through 0.17.0 can be triggered by unauthenticated remote attackers who send repe
Server-side request forgery in InternLM lmdeploy's OpenAI-compatible vision API server lets unauthenticated remote attac
Server-side request forgery in LMDeploy 0.12.3 through 0.14.x lets remote unauthenticated clients steer the server's mul
EUVD-2026-81580
GHSA-3j7h-8qqw-4p7v
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB