CVE-2026-140260
published medium CVSS 4.0 · 5.3SGLang NGRAM Speculative Decoding ngram_worker.py NGRAMWorker behavioral discrepancy
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | SGLang0.5.0 · 0.5.1 · 0.5.2 · 0.5.3 · 0.5.4 · 0.5.5 · 0.5.6 · 0.5.7 · 0.5.8 · 0.5.9 · 0.5.10 · 0.5.11 · 0.5.12 · 0.5.13 · 0.5.14 · 0.5.15 · 0.5.16 · 0.5.17 · 0.5.18 · 0.5.19 · 0.5.20 · 0.5.21 · 0.5.22 · 0.5.23 | Affected | Not stated | VulDB |
Description
A vulnerability was identified in SGLang up to 0.5.23. Affected is the function NGRAMWorker of the file python/sglang/srt/speculative/ngram_worker.py of the component NGRAM Speculative Decoding. Such manipulation leads to observable behavioral discrepancy. The attack can be launched remotely. The exploit is publicly available and might be used. The pull request to fix this issue awaits acceptance.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- VulDB · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 4.3 | medium | VulDB · cna | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N/E:P/RL:X/RC:C | — |
| 3.0 | 4.3 | medium | VulDB · cna | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N/E:P/RL:X/RC:C | — |
| 2.0 | 4.0 | medium | VulDB · cna | AV:N/AC:L/Au:S/C:P/I:N/A:N/E:POC/RL:ND/RC:C | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | SGLang | 0.5.0 (affected)0.5.1 (affected)0.5.2 (affected)0.5.3 (affected)0.5.4 (affected)0.5.5 (affected)0.5.6 (affected)0.5.7 (affected)0.5.8 (affected)0.5.9 (affected)0.5.10 (affected)0.5.11 (affected)0.5.12 (affected)0.5.13 (affected)0.5.14 (affected)0.5.15 (affected)0.5.16 (affected)0.5.17 (affected)0.5.18 (affected)0.5.19 (affected)0.5.20 (affected)0.5.21 (affected)0.5.22 (affected)0.5.23 (affected) | VulDB · cna |
Weaknesses
2- CWE-205 Observable Behavioral Discrepancy
- CWE-203 Information Exposure Through Discrepancy
References
6- https://github.com/sgl-project/sglang/issues/49626
- https://github.com/sgl-project/sglang/pull/49893
- CVE-2026-140260 | CVE Analysis and Report https://vuldb.com/cve/CVE-2026-140260
- Submit #1088742 | SGLang Project SGLang 0.5.23 Observable Behavioral Discrepancy https://vuldb.com/submit/1088742
- VDB-446853 | SGLang NGRAM Speculative Decoding ngram_worker.py NGRAMWorker behavioral discrepancy https://vuldb.com/vuln/446853
- VDB-446853 | CTI Indicators (IOB, IOC, TTP, IOA) https://vuldb.com/vuln/446853/cti
Provider assertions
2VulDB · cna
SGLang NGRAM Speculative Decoding ngram_worker.py NGRAMWorker behavioral discrepancy
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- b1ad1780ac7479cec9335f8aad5f551a4d6a52c7e7f2e09f6738873a2a0949cb
- Ingested
- 01 Dec 2026, 21:54:18 UTC
- Source record
- Official CVE record