What’s Vulnerable › Vulnerabilities

CVE-2026-66393: NLTK before 3.9.4 Denial of Service via JSONTaggedDecoder

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.

Affected products

How to fix

Upgrade to a fixed version: nltk 3.9.4. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-66393 or the next vulnerability affects your stack