HackerFeeds
All CVEs

CVE-2026-126299: NLTK Resource Exhaustion

HIGH7.5

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

  1. Update NLTK to version 3.10.4 or later. Versions before 3.10.4 are affected.
  2. Until it is patched, do not leave NLTK reachable from the internet or other untrusted networks; restrict access by firewall, VPN or allow-list.
  3. Apply rate limits and request-size limits in front of the affected service.

Affected and fixed versions

ProductAffectedFixed in
NLTK< 3.10.43.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.

CVSS 3.1 metrics for CVE-2026-126299
Attack vectorNetworkIt can be exploited remotely over the network.
Attack complexityLowNo special conditions are needed; the attack is repeatable.
Privileges requiredNoneThe attacker does not need an account.
User interactionNoneNo action by a victim is needed.
ConfidentialityNoneNo effect on confidentiality.
IntegrityNoneNo effect on integrity.
AvailabilityHighTotal 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.

View on NVD