Skip to main content
VulnerabilityPublished Updated

CVE-2026-126301: NLTK · Quadratic CPU exhaustion in LegalitySyllableTokenizer.tokenize via unguarded onset reversal loop

Affects safetySource GCVE Database

0
Compare
Authoritative record:CVE-2026-126301· Medium 6.9

Not known to be exploited · CVSS 6.9 Medium : upgrade to 3.8.1_3 when convenient.

Data as of 17 Nov 2026, 19:34 UTC

CVSS 4.0 base score
6.9Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (VulnCheck)CVSS 4.06.9
CNA (VulnCheck)CVSS 3.15.3
Patch
Available – fixed in 3.8.1_3
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 13 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 16 Nov 2026.

What to do

Upgrade safety to 3.8.1_3.

Affected software

ProductAffectedFixed in
Homebrewsafetypkg:brew/safetyOther threatsAffected
  • >=3.3.1 <3.8.1_3
Fixed in
  • 3.8.1_3

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A fix is available in NLTK version 3.8.1_3. Users should upgrade to this version or later to remediate the vulnerability. No additional mitigation is required as the vulnerability is addressed by the official patch.

Description

The NLTK package's LegalitySyllableTokenizer.tokenize method contains an unguarded quadratic CPU complexity loop when processing tokens composed entirely of vowels. This flaw allows an attacker controlling the input token to cause CPU exhaustion by supplying long vowel runs, leading to denial of service through availability degradation. The vulnerability affects versions from 3.3.1 up to but not including 3.8.1_3. A fix is available in version 3.8.1_3.

References

Community reviews

Loading reviews…