Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

NLTK versions before 3.9.4 contain an unbounded recursion vulnerability in JSONTaggedDecoder.decode_obj() that allows attackers to cause denial of… (CVE-2026-66393)

0
High
Published: 08/22/2026 (08/22/2026, 15:31:03 UTC)
Source: GCVE Database

Description

NLTK versions before 3.9.4 have an unbounded recursion vulnerability in the JSONTaggedDecoder.decode_obj() function. This flaw allows attackers to cause a denial of service by providing deeply nested JSON inputs that exceed the recursion limit, triggering a RecursionError and crashing the Python process. The vulnerability is identified as CVE-2026-66393 and has a high severity rating.

CVSS v3.1

Score 7.5high

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

Affected software

nltk
pkg:pypi/nltk
Affected versions
<3.9.4

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/22/2026, 22:52:22 UTC

Technical Analysis

The vulnerability in NLTK prior to version 3.9.4 is due to unbounded recursion in the JSONTaggedDecoder.decode_obj() method. An attacker can supply maliciously crafted deeply nested JSON structures that cause the function to recurse beyond the Python interpreter's recursion limit. This results in an unhandled RecursionError, leading to a denial of service by crashing the process running the vulnerable code. The CVSS v3.1 base score is 7.5, reflecting network attack vector, low attack complexity, no privileges or user interaction required, and impact limited to availability.

Potential Impact

Successful exploitation causes denial of service by crashing the Python process using the vulnerable NLTK version. There is no impact on confidentiality or integrity. The service or application relying on NLTK may become unavailable until restarted.

Mitigation Recommendations

Upgrade NLTK to version 3.9.4 or later where this vulnerability is fixed. Since no official patch link is provided, users should verify the upgrade from the official NLTK release notes or repository. Avoid processing untrusted deeply nested JSON inputs with affected versions until patched.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-cv2g-m8rr-888c
Osv Schema Version
1.4.0
Aliases
["CVE-2026-66393"]
Ecosystems
[]
Database Specific Severity
HIGH
Cvss Version
3.1

Threat ID: 6a8a27f7acd9273b499bc998

Added to database: 08/22/2026, 22:51:35 UTC

Last enriched: 08/22/2026, 22:52:22 UTC

Last updated: 08/22/2026, 23:21:35 UTC

Views: 3

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses