CVE-2026-66393

Summary

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 Software

VendorProductVersion RangeStatus
nltknltk0 < 3.9.4affected
nltknltk3.9.4unaffected

Weaknesses

  • CWE-674: Uncontrolled Recursion

References