CVE-2026-126301
published medium CVSS 4.0 · 6.9NLTK from 3.6 before 3.10.4 Quadratic CPU Exhaustion via LegalitySyllableTokenizer.tokenize
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| nltk | — | nltk3.6 to < 3.10.4 (affected · custom) · 3.10.4 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
Description
NLTK from 3.6 before 3.10.4 contains an algorithmic complexity vulnerability in LegalitySyllableTokenizer.tokenize that allows remote attackers to exhaust CPU by supplying long all-vowel tokens. Attackers can submit a token such as a long run of vowels, causing the unguarded onset reversal loop to perform quadratic work and deny service to syllabification components.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.9 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.3 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| nltk | nltk | 3.6 to < 3.10.4 (affected · custom)3.10.4 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-407 Inefficient Algorithmic Complexity
References
2- GitHub Security Advisory (GHSA-gpwc-27cw-rh9r) https://github.com/nltk/nltk/security/advisories/GHSA-gpwc-27cw-rh9r
- VulnCheck Advisory: NLTK from 3.6 before 3.10.4 Quadratic CPU Exhaustion via LegalitySyllableTokenizer.tokenize https://www.vulncheck.com/advisories/nltk-from-3.6-before-3.10.4-quadratic-cpu-exhaustion-via-legalitysyllabletokenizer-tokenize
Provider assertions
2VulnCheck · cna
NLTK from 3.6 before 3.10.4 Quadratic CPU Exhaustion via LegalitySyllableTokenizer.tokenize
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 93a9662f848fbec06dfede5cae4583dcaceaa2ad9856e9f2d52e076e4338a7bb
- Ingested
- 17 Nov 2026, 19:14:43 UTC
- Source record
- Official CVE record