CVE-2026-129231: Resource Exhaustion
Published 2026-11-19 · Updated 2026-11-20 · Source security-advisories@github.com
Not known to be exploited · medium severity — update to 3.10.4 or later on your normal schedule.
What to do
- Update the affected product to version 3.10.4 or later. Versions before 3.10.4 are affected.
- Until it is patched, do not leave the affected product reachable from the internet or other untrusted networks; restrict access by firewall, VPN or allow-list.
- Apply rate limits and request-size limits in front of the affected service.
Affected and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| Affected product | < 3.10.4 | 3.10.4 |
Derived by HackerFeeds from the advisory text, CVSS vector and weakness class. Confirm versions against the vendor advisory before acting.
How it can be exploited
It can be exploited remotely over the network; the attacker does not need an account, and no action by a victim is required. Attack complexity is low, so a working exploit is expected to be reliable. The impact is limited: availability is rated low.
| Attack vector | Network | It can be exploited remotely over the network. |
|---|---|---|
| Attack complexity | Low | No special conditions are needed; the attack is repeatable. |
| Privileges required | None | The attacker does not need an account. |
| User interaction | None | No action by a victim is needed. |
| Confidentiality | None | No effect on confidentiality. |
| Integrity | None | No effect on integrity. |
| Availability | Low | Partial loss of availability. |
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Weakness: Resource Exhaustion
Description
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.
Advisory text as published in the NVD record.
References
- Patchhttps://github.com/nltk/nltk/commit/002bcf714ef8cb8baf94436f4be73e5516914412
- Patchhttps://github.com/nltk/nltk/pull/3895
- Patchhttps://github.com/nltk/nltk/releases/tag/v3.10.4
- Advisoryhttps://github.com/nltk/nltk/security/advisories/GHSA-q4c8-9gwf-255x
- Advisoryhttps://github.com/nltk/nltk/security/advisories/GHSA-q4c8-9gwf-255x