CVE-2026-129230
Description
A flaw was found in NLTK (Natural Language Toolkit). Several WordNet graph traversal functions recursively navigate word relationships without checking for visited paths or enforcing a maximum recursion depth. By convincing a user or system to process a crafted corpus containing cyclic or excessively deep relationship graphs, an attacker can trigger an unhandled recursion error. This terminates active operations and crashes the application, resulting in a Denial of Service (DoS).
Statement
Red Hat rates this vulnerability as Moderate severity because triggering the denial of service requires an application to process maliciously constructed corpus data, restricting the blast radius strictly to process termination without compromising confidentiality or integrity. In typical enterprise deployments, the Natural Language Toolkit is utilized as an internal analysis library within custom workflows rather than as an exposed standalone network service. Exploitation is constrained to scenarios where an application ingests adversarial or cyclic WordNet graph structures, whereas standard WordNet corpora distributed from trusted sources do not encounter this recursion flaw.
Mitigation
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
Common Vulnerability Scoring System (CVSS) Score Details
Info alert:Important note
CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).
The following CVSS metrics and score provided are preliminary and subject to review.
CVSS v3 Score Breakdown
| Red Hat | NVD | cve.org | |
|---|---|---|---|
| Base Score | 5.5 | N/A | 5.5 |
| Attack Vector | Local | N/A | Local |
| Attack Complexity | Low | N/A | Low |
| Privileges Required | None | N/A | None |
| User Interaction | Required | N/A | Required |
| Scope | Unchanged | N/A | Unchanged |
| Confidentiality | None | N/A | None |
| Integrity Impact | None | N/A | None |
| Availability Impact | High | N/A | High |
Vector
Red Hat: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
cve.org: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Understanding the Weakness (CWE)
Availability
Technical Impact: DoS: Resource Consumption (CPU); DoS: Resource Consumption (Memory); DoS: Amplification
An infinite loop will cause unexpected consumption of resources, such as CPU cycles or memory. The software's operation may slow down, or cause a long time to respond.
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.