CVE-2026-81725Nltk
Medium 6.3 No auth needed
Follow: this CVE · Nltk · Nltk We alert you by email or Slack (account required).
- Priority
- 53
- CVSS 4.0
- 6.3
- EPSS
- —
- Auth required
- No
- Published
- Aug 27, 2026
- Updated
- Sep 1, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-400
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/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 vulnerability in Pl196xCorpusReader that allows attackers to cause quadratic CPU consumption by supplying malformed TEI blocks with many unmatched opening tags. Attackers can exploit lazy regex patterns in the read_block method through public APIs like words() and tagged_words() to force repeated rescans and achieve near-quadratic runtime growth.
What to do
- Apply the vendor's security update for Nltk.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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-8mpw-7fpc-4gqj, PYSEC-2026-3752). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| nltk | nltk | < 3.10.3 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Vendor Advisory
- www.vulncheck.com Third Party Advisory