CVE-2026-129223: Uncontrolled Recursion
Published 2026-11-19 · Updated 2026-11-20 · Source security-advisories@github.com
Not known to be exploited · high severity — update to 3.10.4 or later in your next patch cycle.
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.
- Limit input size and nesting depth in front of the affected component.
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 on availability is rated high.
| 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 | High | Total loss of availability. |
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness: Uncontrolled Recursion
Deeply nested input exhausts the stack and crashes the process.
Classified as CWE-674.
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, WordNet Synset.tree and acyclic_tree traverse relation graphs through recursive utility helpers without a depth bound. Exploitation requires the host application to load an attacker-influenced custom or foreign WordNet-format lexical resource; no relation in NLTK's bundled WordNet 3.0 corpus reaches the crash threshold. An excessively deep relation graph in such a resource can exceed the Python recursion limit and terminate the traversal or request worker. This issue is fixed in version 3.10.4.
Advisory text as published in the NVD record.