CVE-2026-137657: InternLM LMDeploy 0.9.0 through 0.18.0 Memory Exhaustion via /distserve/connection_warmup
InternLM LMDeploy 0.9.0 through 0.18.0 contains an unbounded resource allocation vulnerability in the DistServe proxy /distserve/connectionwarmup endpoint that allows unauthenticated attackers to exhaust memory. While a prefill/decode connection is pending, for example after registering a slow node via /nodes/add, repeated warmup requests spawn unbounded waitforconn() tasks and sockets until the proxy process is killed.
Affected Software
Event History
Frequently Asked Questions
Who is exposed to this issue?
Deployments running InternLM LMDeploy versions 0.9.0 through 0.18.0 with the DistServe proxy reachable by unauthenticated network clients are exposed. An attacker can target the /distserve/connection_warmup endpoint remotely without credentials or user interaction.
What conditions are needed to trigger the memory exhaustion?
A prefill/decode connection must be pending, such as after a slow node is registered through /nodes/add. Repeated requests to /distserve/connection_warmup then create unbounded wait_for_conn() tasks and sockets until memory exhaustion kills the proxy process.
How can I tell whether an instance is being affected?
Look for repeated requests to /distserve/connection_warmup while prefill/decode connections remain pending, along with growth in proxy memory use and open sockets or tasks. The practical impact is termination of the proxy process after resources are exhausted.