CVE-2026-126299: NLTK Resource Exhaustion
Published 2026-11-13 · Updated 2026-11-13 · Source disclosure@vulncheck.com
Not known to be exploited · high severity — update NLTK to 3.10.4 or later in your next patch cycle.
What to do
- Update NLTK to version 3.10.4 or later. Versions before 3.10.4 are affected.
- Until it is patched, do not leave NLTK reachable from the internet or other untrusted networks; restrict access by firewall, VPN or allow-list.
- Apply rate limits and request-size limits in front of the affected service.
Affected and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| NLTK | < 3.10.4 | 3.10.4 |
Derived by HackerFeeds from the advisory text, CVSS vector and weakness class. Confirm versions against the vendor advisory before acting.
How it can be exploited
It can be exploited remotely over the network; the attacker does not need an account, and no action by a victim is required. Attack complexity is low, so a working exploit is expected to be reliable. The impact on availability is rated high.
| Attack vector | Network | It can be exploited remotely over the network. |
|---|---|---|
| Attack complexity | Low | No special conditions are needed; the attack is repeatable. |
| Privileges required | None | The attacker does not need an account. |
| User interaction | None | No action by a victim is needed. |
| Confidentiality | None | No effect on confidentiality. |
| Integrity | None | No effect on integrity. |
| Availability | High | Total loss of availability. |
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness: Resource Exhaustion
An attacker can make the software consume excessive CPU, memory or other resources, causing denial of service.
Classified as CWE-400.
Description
NLTK before 3.10.4 contains a denial of service vulnerability in the CCG lexicon parser fromstring that allows remote attackers to exhaust CPU by supplying wide inputs. Attackers can submit lexicon text with long flat bracket bodies or operator chains, triggering quadratic string re-slicing in matchBrackets and augParseCategory that blocks worker threads.
Advisory text as published in the NVD record.