Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain local low-privilege access to SGLang host
-
DeliveryAnalyze multimodal cache key derivation logic
-
ExploitCraft tensor inputs with colliding 8-byte SHA256 truncations
-
ExecutionSubmit inputs to trigger cache key collision in data_hash
-
PersistCorrupt cache entries for subsequent multimodal requests
-
ImpactDegrade service availability or integrity via incorrect cached embeddings
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Resource release
|
| Exploitation Conditions | Local system access is required - this vulnerability cannot be exploited remotely (AV:L). The attacker must hold a low-privilege local account on the host running the SGLang serving process (PR:L). High attack complexity (AC:H) means exploitation requires specialized knowledge of SGLang's multimodal cache internals and the ability to engineer SHA256 truncation collisions with specific tensor shapes, which is a non-trivial precondition. The vulnerability is exercisable only when SGLang processes multimodal inputs through the Cache Handler - deployments serving exclusively text-only LLM workloads without multimodal input processing are not exposed to this code path. Multi-tenant SGLang deployments where untrusted local users can submit arbitrary multimodal tensors or nested list features represent the maximum-risk scenario. Limiting factors: local-only access, high complexity exploitation, no confidentiality impact, and the absence of a network-reachable attack path collectively restrict realistic attacker population to privileged insiders or co-located tenants. |
| Impact | The CVSS 4.0 score of 1.1 (AV:L/AC:H/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L with E:P) places this at the bottom of the severity scale. The attack is strictly local (AV:L) and demands high complexity (AC:H), meaning an attacker must have detailed knowledge of SGLang's cache internals to engineer a meaningful collision - this is not an opportunistic or automated attack. The low-privilege requirement (PR:L) means any local user account suffices, but the local access constraint is a significant barrier. Impact is capped at low integrity and low availability (VI:L/VA:L) with no confidentiality exposure. The E:P modifier confirms a PoC exists, but no EPSS data was provided in the intelligence sources and no CISA KEV listing exists, indicating no observed widespread exploitation. The CWE-404 classification introduces some ambiguity - the observed behavior from the PR diff is hash collision, not a classic resource release failure - so the precise DoS mechanism should be verified against vendor confirmation. Real-world risk is meaningful only in multi-tenant SGLang deployments where untrusted local users can submit crafted multimodal inputs; single-user or trusted-environment deployments face negligible practical risk. |
| Exploit ScenarioDerived | A local user on a shared SGLang multimodal inference server submits a crafted series of tensor inputs engineered to produce identical 8-byte-truncated SHA256 cache keys. Because tensor shape and dtype are not incorporated into the hash, two tensors with identical raw byte values but different shapes hash identically. The colliding entries corrupt the multimodal cache, causing subsequent requests to retrieve incorrect cached embeddings or triggering exception paths when mismatched tensor shapes are returned, degrading service availability. The PoC demonstrating this collision behavior is publicly available at https://github.com/sgl-project/sglang/issues/25462. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 03, 2026
Hash collision weaknesses in SGLang's multimodal Cache Handler (all versions through 0.5.11) allow a local low-privilege attacker to craft multimodal tensor inputs that produce identical cache keys via truncated SHA256 digests, causing incorrect cache lookups or cache invalidation failures that disrupt LLM serving workflows. The CVSS 4.0 score of 1.1 reflects the strictly local attack vector and high exploitation complexity, limiting real-world impact primarily to multi-tenant inference deployments. Publicly available exploit code exists per GitHub issue #25462, though no confirmed active exploitation has been observed and the vulnerability is not listed in the CISA KEV catalog.
RemediationAI
Upstream fix available via GitHub PR #22033 (https://github.com/sgl-project/sglang/pull/22033), which expands SHA256 truncation from 8 to 16 bytes across all hash functions, introduces shape and dtype boundary markers as structural metadata in tensor hash derivation, replaces Python's non-deterministic hash() in multimodal_cache.py with deterministic SHA256, and adds type-tagged serialization for nested list inputs to prevent cross-type collisions. However, this PR was awaiting acceptance at the time of disclosure - a released patched version is not independently confirmed. Monitor the upstream repository at https://github.com/sgl-project/sglang/ and the VulDB advisory at https://vuldb.com/vuln/368138 for a tagged release incorporating these changes. As a compensating control, restrict local user access to shared SGLang serving processes in multi-tenant environments, as the attack requires local low-privilege access; this does not eliminate the vulnerability but removes the attacker's access prerequisite. Validating that multimodal feature inputs are at least 2D tensors before entering the cache pipeline (as added in base_processor.py in the fix) can be applied as a partial input-sanitization measure. No workaround fully substitutes for the hash entropy and metadata fixes in PR #22033.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
SGLang is an open-source Python framework for high-throughput LLM inference serving, including multimodal inputs such as images and tensors. The vulnerability resides in python/sglang/srt/managers/mm_utils.py and python/sglang/srt/mem_cache/multimodal_cache.py. The data_hash and tensor_hash functions truncated SHA256 digests to only 8 bytes (64 bits), providing insufficient collision resistance for a cache key namespace serving diverse multimodal inputs. Critically, tensor hashes omitted shape and dtype boundary metadata, meaning different tensor partitions with identical raw byte values produced identical hashes. The multimodal_cache.py combiner used Python's built-in non-deterministic hash() instead of a stable cryptographic primitive, causing inconsistent cache behavior across process restarts. Nested list inputs lacked type-tagged serialization, enabling cross-type and cross-structure collisions. CWE-404 (Improper Resource Shutdown or Release) is the assigned root cause class; the PR diff evidence suggests the more proximate cause is insufficient hash entropy and missing structural metadata in cache key derivation, though the DoS manifestation is consistent with cache resources being misallocated or incorrectly released due to colliding keys. The CPE cpe:2.3:a:sgl-project:sglang:*:*:*:*:*:*:*:* covers all SGLang releases up to and including 0.5.11.
Know when Sglang 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:L/AC:H/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Primary rating from Vendor (VulDB) · only source for this CVE.
CVSS VectorVendor: VulDB
Lifecycle Timeline
1DescriptionCVE.org
A vulnerability was determined in sgl-project SGLang up to 0.5.11. Affected by this vulnerability is the function data_hash of the component Cache Handler. This manipulation causes denial of service. The attack is restricted to local execution. A high degree of complexity is needed for the attack. The exploitation appears to be difficult. The exploit has been publicly disclosed and may be utilized. The pull request to fix this issue awaits acceptance.
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.
Missing authorization on SGLang's POST /load_lora_adapter_from_tensors HTTP endpoint lets any client that can reach the
Unauthenticated remote attackers can crash the SGLang inference server (versions up to and including 0.5.19) by calling
Remote code execution in SGLang (versions up to and including 0.5.15) allows unauthenticated attackers to run arbitrary
SGLang's multimodal generation module deserializes untrusted data with pickle.loads() over an unauthenticated ZMQ broker
SGLang's encoder parallel disaggregation system is vulnerable to unauthenticated RCE through pickle deserialization in t
Unauthenticated remote code execution in SGLang (the LLM/multimodal generation serving runtime) affecting version 5.10 a
Remote code execution in SGLang 0.5.9's /v1/rerank endpoint allows unauthenticated attackers to execute arbitrary code b
Remote code execution in SGLang (versions up to and including 0.5.15) allows attackers to run arbitrary code on the infe
Remote code execution in SGLang AI inference servers allows unauthenticated attackers to run arbitrary code through the
Remote code execution in SGLang (versions ≤ v0.5.15) allows attackers to achieve arbitrary code execution through the op
Unauthenticated remote code execution affects SGLang, an LLM/multimodal inference-serving framework, at version 5.10, wh
Unauthenticated remote code execution in SGLang versions through v0.5.20 arises from unsafe pickle deserialization in th
EUVD-2026-34185
GHSA-jrcc-j37m-v8fg
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB