Skip to content
MediumVulnerabilityLLM-specific

CVE-2026-140260: SGLang NGRAMWorker flaw in NGRAM Speculative Decoding

Identifier
CVE-2026-140260
Published
Record updated
View JSON

Summary

A vulnerability in SGLang up to 0.5.23 affects the function NGRAMWorker in python/sglang/srt/speculative/ngram_worker.py, part of the NGRAM Speculative Decoding component. Manipulating it leads to an observable behavioral discrepancy, and the attack can be launched remotely. A public exploit exists and might be used.

Mitigation

The pull request to fix this issue awaits acceptance. No fixed version or workaround is stated in the source.