CVE-2026-140260

SGLang NGRAM Speculative Decoding ngram_worker.py NGRAMWorker behavioral discrepancy

Published Dec 1, 2026 CVSS 4.0 · 5.3 Medium EPSS n/a KEV · Not listed
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.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
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.
Title SGLang NGRAM Speculative Decoding ngram_worker.py NGRAMWorker behavioral discrepancy
First Time appeared Sglang
Sglang sglang
Weaknesses CWE-203
CWE-205
CPEs cpe:2.3:a:sglang:sglang:*:*:*:*:*:*:*:*
Vendors & Products Sglang
Sglang sglang
References
Metrics cvssV2_0

{'score': 4, 'vector': 'AV:N/AC:L/Au:S/C:P/I:N/A:N/E:POC/RL:ND/RC:C'}

cvssV3_0

{'score': 4.3, 'vector': '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'}

cvssV3_1

{'score': 4.3, 'vector': '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'}

cvssV4_0

{'score': 5.3, 'vector': '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'}

Weaknesses
  • CWE-203

    Observable Discrepancy

  • CWE-205

    Observable Behavioral Discrepancy

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Dec 1, 2026, 8:45 AM
Reserved
Nov 30, 2026, 10:05 PM
Status
Deferred
Published
Dec 1, 2026, 9:17 AM
Modified
Dec 1, 2026, 9:17 AM