CVE-2026-66393
nltk: NLTK: Denial of Service via unbounded recursion in JSONTaggedDecoder
Overview
Description
NLTK versions before 3.9.4 contain an unbounded recursion vulnerability in JSONTaggedDecoder.decode_obj() that allows attackers to cause denial of service by supplying deeply nested JSON structures. Attackers can craft JSON payloads exceeding the recursion limit to trigger an unhandled RecursionError that crashes the Python process.
Source: OX vulnerability database
Severity
7.5 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness: CWE-674
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| PyPI | nltk | <3.9.4 | 3.9.4 |
Open a package to see all its vulnerabilities.
Operating systems · 16 fixes
chainguard 1 release · 7 packages
| Release | Package | Fixed in |
|---|---|---|
| open-webui | 0.8.12-r2 | |
| label-studio | 1.23.0-r1 | |
| kubeflow-pipelines-visualization-server | 2.16.0-r3 | |
| nemo | 2.7.2-r1 | |
| apache-beam-python-3-12-sdk +1 | 2.71.0-r2 | |
| apache-beam-python-3-11-sdk | 2.71.0-r8 |
1 more row
debian 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | nltk | affected |
| 12 | nltk | affected |
| 13 | nltk | affected |
| 14 | nltk | 3.10.0-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| nltk | affected |
minimos 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| label-studio | 1.23.1-r0 |
wolfi 1 release · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| open-webui | 0.8.12-r2 | |
| kubeflow-pipelines-visualization-server | 2.16.0-r3 | |
| py3-nltk | 3.9.4-r0 |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-66393
- github.com https://github.com/nltk/nltk
- github.com https://github.com/nltk/nltk/commit/00cdcd392142e6c745e7120c8d50a24127df5fad
- github.com https://github.com/nltk/nltk/security/advisories/GHSA-rf74-v2fm-23pw
- github.com https://github.com/pypa/advisory-database/tree/main/vulns/nltk/PYSEC-2026-3724.yaml
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-66393
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2026-66393
- www.vulncheck.com https://www.vulncheck.com/advisories/nltk-before-denial-of-service-via-jsontaggeddecoder
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.