๐Ÿ” CVE Alert

CVE-2026-80206

MEDIUM 5.9

NLTK 3.10.2 Regular Expression Denial of Service via tgrep

CVSS Score
5.9
EPSS Score
0.0%
EPSS Percentile
0th

NLTK before 3.10.3 contains a regular expression denial of service (ReDoS) vulnerability in the tgrep module. The _tgrep_node_action function compiles user-supplied regular expressions embedded in /regex/ pattern nodes and executes them via re.search against tree node labels without any validation or timeout. An attacker who controls the tgrep pattern (e.g., via tgrep_positions() or tgrep_compile() exposed to external input) can supply a pattern that triggers catastrophic backtracking, causing indefinite CPU saturation that blocks the Python process.

CWE CWE-1333
Vendor nltk
Product nltk
Published Aug 26, 2026
Last Updated Aug 26, 2026
Stay Ahead of the Next One

Get instant alerts for nltk nltk

Be the first to know when new medium vulnerabilities affecting nltk nltk are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Affected Versions

nltk / nltk
0 < 3.10.3

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/nltk/nltk/security/advisories/GHSA-w3v8-gmh9-3wv7 vulncheck.com: https://www.vulncheck.com/advisories/nltk-3.10.2-regular-expression-denial-of-service-via-tgrep

Credits

๐Ÿ” infycore ekaf agent-kira