CVE-2026-126299
Awaiting Analysis Awaiting Analysis - Queue

NLTK CCG Lexicon Parser Denial of Service

Vulnerability report for CVE-2026-126299, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-13

Last updated on: 2026-11-13

Assigner: VulnCheck

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-13
Last Modified
2026-11-13
Generated
2026-11-13
AI Q&A
2026-11-13
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
nltk nltk to 3.10.4 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-400 The product does not properly control the allocation and maintenance of a limited resource.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This is a denial of service vulnerability in NLTK versions before 3.10.4. It involves the CCG lexicon parser's fromstring function, which inefficiently processes inputs with long bracket bodies or operator chains. The issue causes quadratic string re-slicing operations in matchBrackets and augParseCategory functions, leading to excessive CPU consumption and system unresponsiveness.

Detection Guidance

Monitor CPU usage spikes during lexicon parsing operations. Check for processes running NLTK's fromstring function with unusually long inputs. Inspect network traffic for large payloads sent to NLTK-based services.

Impact Analysis

An attacker can exploit this by sending specially crafted input to consume CPU resources, causing the system to become slow or unresponsive. This can block worker threads, disrupt services, and lead to downtime. The attack requires no authentication or user interaction and can be triggered remotely.

Mitigation Strategies

Upgrade NLTK to version 3.10.4 or later. Implement input size limits for lexicon parsing functions. Add rate limiting to prevent large payload submissions. Monitor for CPU exhaustion patterns.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-126299. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...