CVE-2026-126300

Source
https://cve.org/CVERecord?id=CVE-2026-126300
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-126300.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-126300
Aliases
Published
2026-11-13T09:36:25Z
Modified
2026-11-15T02:46:05Z
Severity
  • 6.9 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N CVSS Calculator
Summary
NLTK from 3.2.5 before 3.10.4 CPU Exhaustion via TreebankWordTokenizer.span_tokenize
Details

NLTK from 3.2.5 before 3.10.4 contains an algorithmic complexity vulnerability in TreebankWordTokenizer.span_tokenize that allows remote attackers to cause quadratic CPU consumption through repeated list.pop(0) calls. Attackers can submit long runs of double-quote characters to services span-tokenizing untrusted text, exhausting a CPU core and degrading availability.

Database specific
{
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
        "CWE-407"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-126300.json"
}
References

Affected packages

Git / github.com/nltk/nltk

Affected ranges

Type
GIT
Repo
https://github.com/nltk/nltk
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "range": [
                {
                    "introduced": "3.2.5"
                },
                {
                    "fixed": "3.10.4"
                }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StandardRange"
        },
        {
            "range": [
                {
                    "introduced": "3.2.5"
                },
                {
                    "fixed": "3.10.4"
                }
            ],
            "source": "DESCRIPTION"
        }
    ]
}

Affected versions

3.*
3.2.5
3.3
3.4
3.4.1
3.4.3
3.4.4
3.5
3.5b1
3.6
3.6.1
3.6.2
3.6.5
3.6.6
3.6.7
3.7
3.8
3.8.1
3.8.2
3.9
3.9.1
3.9.2
3.9.3
3.9.4
v.*
v.3.10.1
v3.*
v3.10.0
v3.10.0-rc1
v3.10.0-rc2
v3.10.1
v3.10.1-rc1
v3.10.1-rc2
v3.10.2
v3.10.2-rc1
v3.10.3
v3.10.3-rc1
v3.10.4-rc1
v3.9.2

Database specific

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