Summary
CVE-2026-137657 is an unbounded resource allocation vulnerability (CWE-770) in the DistServe proxy of InternLM LMDeploy 0.9.0 through 0.18.0. An unauthenticated remote attacker can exhaust the proxy’s memory through repeated requests to the /distserve/connection_warmup endpoint. The CVSS v4.0 base score is 8.7 (High).
Technical details
- Root cause: The
/distserve/connection_warmupendpoint in the DistServe proxy (lmdeploy/serve/proxy/proxy.py) spawns tasks and sockets without limits. The public issue tracker also describes the connection pool as having an unbounded queue, no deduplication of repeated requests for the same prefill/decode pair, and no timeouts on pending connections. - Trigger conditions: Repeated warmup requests are sent while a connection is still pending. The public issue describes registering slow nodes to keep connections pending.
- Attack vector: Network. The CVE record states that no authentication or user interaction is required.
- Impact: Memory exhaustion, which can cause the proxy process to be OOM-killed (exit code 137 in the issue report). This is a loss of availability. No confidentiality or integrity impact is recorded.
Affected software
- InternLM LMDeploy 0.9.0 through 0.18.0
Severity
- CVSS v4.0: 8.7 (High) –
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 - CVSS v3.1: 7.5 (High) –
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Mitigation and recommended actions
- Immediate: The CVE record lists no fixed version. A fix pull request (#4980) was referenced in the upstream issue, but no patched release had been confirmed at the time of writing. Monitor the LMDeploy project for a release that includes it.
- Workarounds (the upstream issue proposes these as fixes, not as vendor-verified mitigations):
- Restrict network access to the DistServe proxy and its control-plane endpoints, such as
/distserve/connection_warmup, to trusted prefill/decode nodes and administrators only. - Do not expose the proxy to the internet or untrusted networks.
- Where possible, put authentication and rate limiting in front of the proxy, for example in a reverse proxy.
- Set memory limits and automatic restart on the proxy process so that an OOM kill has limited impact.
- Monitor the proxy for abnormal memory growth and for bursts of warmup requests.
- Restrict network access to the DistServe proxy and its control-plane endpoints, such as

