CVE-2026-129231nltk
Medium 5.3 No auth needed
- Priority
- 53
- CVSS 3.1
- 5.3
- EPSS
- —
- Auth required
- No
- Published
- Nov 19, 2026
- Updated
- Nov 20, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
What happens
NLTK (Natural Language Toolkit) is a suite of open source Python modules, data sets, and tutorials supporting research and development in Natural Language Processing. Prior to 3.10.4, SeekableUnicodeStreamReader.readline appends each new block to a growing character buffer and reruns splitlines over the entire buffer on every iteration. An attacker-controlled corpus file containing one very long unterminated line therefore causes quadratic CPU consumption in line-oriented corpus readers and can deny service. This issue is fixed in version 3.10.4.
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.4 |
3.10.4 |
pip install "nltk>=3.10.4" |
Per OSV / GitHub Advisories (GHSA-q4c8-9gwf-255x). Check the version in your lockfile before upgrading.
Affected products
- nltk · nltk
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.