SGLang NGRAM Speculative Decoding ngram_worker.py NGRAMWorker behavioral discrepancy
Summary
| CVE | CVE-2026-140260 |
|---|---|
| State | PUBLISHED |
| Assigner | VulDB |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-12-01 09:17:39 UTC |
| Updated | 2026-12-01 09:17:39 UTC |
| 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. |
Risk And Classification
Primary CVSS: v4.0 2.1 LOW from [email protected]
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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Problem Types: CWE-203 | CWE-205 | CWE-205 Observable Behavioral Discrepancy | CWE-203 Information Exposure Through Discrepancy
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 4.0 | [email protected] | Secondary | 2.1 | LOW | 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/C... |
| 4.0 | CNA | DECLARED | 5.3 | MEDIUM | 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 |
| 3.1 | [email protected] | Primary | 4.3 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| 3.1 | CNA | DECLARED | 4.3 | MEDIUM | 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 | CNA | DECLARED | 4.3 | MEDIUM | 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 | [email protected] | Secondary | 4 | AV:N/AC:L/Au:S/C:P/I:N/A:N | |
| 2.0 | CNA | DECLARED | 4 | AV:N/AC:L/Au:S/C:P/I:N/A:N/E:POC/RL:ND/RC:C |
CVSS v4.0 Breakdown
Attack Vector
NetworkAttack Complexity
LowAttack Requirements
NonePrivileges Required
LowUser Interaction
NoneConfidentiality
LowIntegrity
NoneAvailability
NoneSub Conf.
NoneSub Integrity
NoneSub Availability
NoneCVSS: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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
LowIntegrity
NoneAvailability
NoneCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
CVSS v3.0 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
LowIntegrity
NoneAvailability
NoneCVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N/E:P/RL:X/RC:C
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Na | SGLang | affected 0.5.0 | Not specified |
| CNA | Na | SGLang | affected 0.5.1 | Not specified |
| CNA | Na | SGLang | affected 0.5.2 | Not specified |
| CNA | Na | SGLang | affected 0.5.3 | Not specified |
| CNA | Na | SGLang | affected 0.5.4 | Not specified |
| CNA | Na | SGLang | affected 0.5.5 | Not specified |
| CNA | Na | SGLang | affected 0.5.6 | Not specified |
| CNA | Na | SGLang | affected 0.5.7 | Not specified |
| CNA | Na | SGLang | affected 0.5.8 | Not specified |
| CNA | Na | SGLang | affected 0.5.9 | Not specified |
| CNA | Na | SGLang | affected 0.5.10 | Not specified |
| CNA | Na | SGLang | affected 0.5.11 | Not specified |
| CNA | Na | SGLang | affected 0.5.12 | Not specified |
| CNA | Na | SGLang | affected 0.5.13 | Not specified |
| CNA | Na | SGLang | affected 0.5.14 | Not specified |
| CNA | Na | SGLang | affected 0.5.15 | Not specified |
| CNA | Na | SGLang | affected 0.5.16 | Not specified |
| CNA | Na | SGLang | affected 0.5.17 | Not specified |
| CNA | Na | SGLang | affected 0.5.18 | Not specified |
| CNA | Na | SGLang | affected 0.5.19 | Not specified |
| CNA | Na | SGLang | affected 0.5.20 | Not specified |
| CNA | Na | SGLang | affected 0.5.21 | Not specified |
| CNA | Na | SGLang | affected 0.5.22 | Not specified |
| CNA | Na | SGLang | affected 0.5.23 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| vuldb.com/vuln/446853 | [email protected] | vuldb.com | |
| vuldb.com/cve/CVE-2026-140260 | [email protected] | vuldb.com | |
| vuldb.com/submit/1088742 | [email protected] | vuldb.com | |
| github.com/sgl-project/sglang/pull/49893 | [email protected] | github.com | |
| github.com/sgl-project/sglang/issues/49626 | [email protected] | github.com | |
| vuldb.com/vuln/446853/cti | [email protected] | vuldb.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Zyz3366 (VulDB User) (en)
CNA: VulDB CNA Team (en)
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2026-11-30T00:00:00.000Z | Advisory disclosed |
| CNA | 2026-11-30T01:00:00.000Z | VulDB entry created |
| CNA | 2026-11-30T23:11:01.000Z | VulDB entry last update |
There are currently no legacy QID mappings associated with this CVE.