CVE-2026-126301: NLTK from 3.6 before 3.10.4 contains an algorithmic complexity vulnerability in LegalitySyllableTokenizer.tokenize that allows remote attackers to exhaust CPU…
- Source:
- NVD CVE API 2.0
- Published:
- Fetched:
- Updated:
https://nvd.nist.gov/vuln/detail/CVE-2026-126301 ↗
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. References: https://github.com/nltk/nltk/security/advisories/GHSA-gpwc-27cw-rh9r https://www.vulncheck.com/advisories/nltk-from-3.6-before-3.10.4-quadratic-cpu-exhaustion-via-legalitysyllabletokenizer-tokenize https://github.com/nltk/nltk/security/advisories/GHSA-gpwc-27cw-rh9r