Live threats

All CVEs / Nltk

CVE-2026-80206Nltk

High 8.2 No auth needed

Priority
64
CVSS 4.0
8.2
EPSS
—
Auth required
No
Published
Aug 26, 2026
Updated
Sep 1, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-1333
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Nltk.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI nltk < 3.10.3 3.10.3 pip install "nltk>=3.10.3"
PyPI nltk < 3.10.3 3.10.3 pip install "nltk>=3.10.3"

Per OSV / GitHub Advisories (GHSA-w3v8-gmh9-3wv7, PYSEC-2026-3751). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
nltknltk< 3.10.3

Official sources

References

Links published by the sources. Open them with care.