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.
Casky was already ahead
This CVE exploits attack patterns that Casky's 0matched skills already investigate — long before this vulnerability was disclosed. Claude's reasoning model maps these techniques to MITRE ATT&CK, so practitioners who ran these skills have already seen the threat behaviour in their findings.
NLTK (Natural Language Toolkit) versions before 3.9.4 contain an unbounded recursion vulnerability in the JSONTaggedDecoder.decode_obj() function that enables denial of service attacks. By supplying deeply nested JSON structures, attackers can exceed Python's recursion limit and trigger an unhandled RecursionError that crashes the entire Python process. This vulnerability affects any application using vulnerable NLTK versions to parse untrusted JSON data, particularly NLP pipelines, chatbots, and data processing systems that handle user-supplied input. The high CVSS score of 7.5 reflects the ease of exploitation and significant availability impact—a single malicious JSON payload can render dependent services completely unavailable.
While this CVE currently maps to zero Casky skills and no MITRE ATT&CK techniques, practitioners using Casky.ai's Claude-powered analysis would detect attack patterns through resource exhaustion and process termination monitoring. Security teams should look for suspicious JSON parsing failures, unexpected Python process crashes, and abnormal memory/CPU spikes preceding service outages. Extended reasoning capabilities help practitioners correlate these indicators with input validation gaps and identify applications parsing untrusted JSON sources. The key detection pattern involves monitoring for RecursionError exceptions from NLTK components and validating JSON input depth limits—defensive measures that fall under input validation and resource constraint hardening rather than traditional attack techniques.
Composite risk scoring from EPSS, CISA KEV, Shodan, and GreyNoise — 21 security APIs correlated into a single Casky Risk Score. Coming in Casky Pro. Join early access →
Casky has 0 skills that investigate the attack patterns behind CVE-2026-66393. Run one and get CVSS-scored findings in 3 minutes.
Run the skill that detects this →© 2026 Casky.AI, Inc. · AI Security Investigation