VulnWatch by ve1ve2
medium 6.9 EPSS 0.57%

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 ↗

CWE-407

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

Linked vulnerabilities (2)

CVE-2026-126301 medium 6.9 EPSS 0.57% (p48) NVDCVE.orgGHSA
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

nltk: nltk: Denial of Service via CPU exhaustion in LegalitySyllableTokenizer

CWE: CWE-606, CWE-400, CWE-407Aliases: GHSA-gpwc-27cw-rh9rNVD: Awaiting Analysis
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

NLTK: Quadratic CPU exhaustion in LegalitySyllableTokenizer.tokenize via unguarded onset reversal loop

CWE: CWE-400, CWE-407Aliases: CVE-2026-126301

Also reported by (1)