cvelo
P3 · MediumCVSS 4.3EPSS 0.4%

SGLang NGRAM Speculative Decoding ngram_worker.py NGRAMWorker behavioral discrepancy

  • CVE-2026-140260
  • GHSA-p8wj-937f-6rhx
  • EUVD-2026-139979

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.

Text from the CVE.org record.

Recommendation

No source states a fixed version. Check the vendor advisory.

Affected

  • sgl-project sglang

    Affected versionsFixed in
    0.5.3none stated
    0.5.23none stated
    0.5.19none stated
    0.5.9none stated
    0.5.16none stated
    0.5.15none stated
    0.5.11none stated
    0.5.1none stated

    and 16 more

Product versions from the ENISA EUVD record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.