CVE-2026-66393

High

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.

SeverityHigh
CVSS7.5
Exploit probability—
ProductNltk
PublishedAug 22, 2026
First seenAug 22, 2026
Weakness typeCWE-674CWE-674

How to fix

Update
  • nltk nltk3.9.4 or later
  • nltk3.9.4 or later

Affected products

ProductAffected versionsFixed in
nltk nltkv < 3.9.43.9.4
nltkPyPIv < 3.9.43.9.4

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2026-66393 · Nltk · Dark Radar