CVE-2026-140260

Source
https://cve.org/CVERecord?id=CVE-2026-140260
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-140260.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-140260
Published
2026-12-01T08:45:13Z
Modified
2026-12-01T10:00:35Z
Severity
  • 2.1 (Low) CVSS_V4 - 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 CVSS Calculator
Summary
SGLang NGRAM Speculative Decoding ngram_worker.py NGRAMWorker behavioral discrepancy
Details

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.

Database specific
{
    "cna_assigner":  "VulDB",
    "cwe_ids":  [
        "CWE-203",
        "CWE-205"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/140xxx/CVE-2026-140260.json",
    "unresolved_ranges":  [
        {
            "extracted_events":  [
                {
                    "range":  [
                        {
                            "introduced":  "0.5.0"
                        },
                        {
                            "last_affected":  "0.5.0"
                        }
                    ],
                    "source":  "AFFECTED_FIELD",
                    "strategy":  "StandaloneSingleVersion"
                }
            ]
        }
    ]
}
References

Affected packages

Git / github.com/sgl-project/sglang

Affected ranges

Type
GIT
Repo
https://github.com/sgl-project/sglang
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "0.5.1"
                },
                {
                    "last_affected":  "0.5.1"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandaloneSingleVersion"
        },
        {
            "range":  [
                {
                    "introduced":  "0.5.2"
                },
                {
                    "last_affected":  "0.5.2"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandaloneSingleVersion"
        },
        {
            "range":  [
                {
                    "introduced":  "0.5.3"
                },
                {
                    "last_affected":  "0.5.3"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandaloneSingleVersion"
        },
        {
            "range":  [
                {
                    "introduced":  "0.5.4"
                },
                {
                    "last_affected":  "0.5.4"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandaloneSingleVersion"
        },
        {
            "range":  [
                {
                    "introduced":  "0.5.5"
                },
                {
                    "last_affected":  "0.5.5"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandaloneSingleVersion"
        },
        {
            "range":  [
                {
                    "introduced":  "0.5.6"
                },
                {
                    "last_affected":  "0.5.6"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandaloneSingleVersion"
        },
        {
            "range":  [
                {
                    "introduced":  "0.5.7"
                },
                {
                    "last_affected":  "0.5.7"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandaloneSingleVersion"
        },
        {
            "range":  [
                {
                    "introduced":  "0.5.8"
                },
                {
                    "last_affected":  "0.5.8"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandaloneSingleVersion"
        },
        {
            "range":  [
                {
                    "introduced":  "0.5.9"
                },
                {
                    "last_affected":  "0.5.9"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandaloneSingleVersion"
        },
        {
            "range":  [
                {
                    "introduced":  "0.5.10"
                },
                {
                    "last_affected":  "0.5.10"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandaloneSingleVersion"
        },
        {
            "range":  [
                {
                    "introduced":  "0.5.11"
                },
                {
                    "last_affected":  "0.5.11"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandaloneSingleVersion"
        },
        {
            "range":  [
                {
                    "introduced":  "0.5.12"
                },
                {
                    "last_affected":  "0.5.12"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandaloneSingleVersion"
        },
        {
            "range":  [
                {
                    "introduced":  "0.5.13"
                },
                {
                    "last_affected":  "0.5.13"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandaloneSingleVersion"
        },
        {
            "range":  [
                {
                    "introduced":  "0.5.14"
                },
                {
                    "last_affected":  "0.5.14"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandaloneSingleVersion"
        },
        {
            "range":  [
                {
                    "introduced":  "0.5.15"
                },
                {
                    "last_affected":  "0.5.15"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandaloneSingleVersion"
        },
        {
            "range":  [
                {
                    "introduced":  "0.5.16"
                },
                {
                    "last_affected":  "0.5.16"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandaloneSingleVersion"
        },
        {
            "range":  [
                {
                    "introduced":  "0.5.17"
                },
                {
                    "last_affected":  "0.5.17"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandaloneSingleVersion"
        },
        {
            "range":  [
                {
                    "introduced":  "0.5.18"
                },
                {
                    "last_affected":  "0.5.18"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandaloneSingleVersion"
        },
        {
            "range":  [
                {
                    "introduced":  "0.5.19"
                },
                {
                    "last_affected":  "0.5.19"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandaloneSingleVersion"
        },
        {
            "range":  [
                {
                    "introduced":  "0.5.20"
                },
                {
                    "last_affected":  "0.5.20"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandaloneSingleVersion"
        },
        {
            "range":  [
                {
                    "introduced":  "0.5.21"
                },
                {
                    "last_affected":  "0.5.21"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandaloneSingleVersion"
        },
        {
            "range":  [
                {
                    "introduced":  "0.5.22"
                },
                {
                    "last_affected":  "0.5.22"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandaloneSingleVersion"
        },
        {
            "range":  [
                {
                    "introduced":  "0.5.23"
                },
                {
                    "last_affected":  "0.5.23"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandaloneSingleVersion"
        }
    ]
}

Affected versions

0.*
0.5.1
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.2
0.5.20
0.5.21
0.5.22
0.5.23
0.5.3
0.5.4
0.5.5
0.5.6
0.5.7
0.5.8
0.5.9
gateway-v0.*
gateway-v0.2.0
gateway-v0.2.1
gateway-v0.2.2
gateway-v0.2.3
gateway-v0.2.4
gateway-v0.3.0
gateway-v0.3.1
v0.*
v0.5.1
v0.5.1.post1
v0.5.1.post2
v0.5.1.post3
v0.5.2
v0.5.23
v0.5.2rc0
v0.5.2rc1
v0.5.2rc2
v0.5.3
v0.5.3.post1
v0.5.3.post2
v0.5.3.post3
v0.5.3rc0
v0.5.3rc1
v0.5.3rc2
v0.5.4
v0.5.4.post1
v0.5.4.post2
v0.5.4.post3
v0.5.5
v0.5.5.post1
v0.5.5.post2
v0.5.5.post3
v0.5.6
v0.5.6.post1
v0.5.6.post2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-140260.json"