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.
Metrics
CVSS 3.1 7.5/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| nltk | nltk | < 3.9.4 |
References
- https://github.com/nltk/nltk/security/advisories/GHSA-rf74-v2fm-23pwExploit, Mitigation, Vendor Advisory
- https://www.vulncheck.com/advisories/nltk-before-denial-of-service-via-jsontaggeddecoderThird Party Advisory
- https://github.com/nltk/nltk/security/advisories/GHSA-rf74-v2fm-23pwExploit, Mitigation, Vendor Advisory
Timeline
- Published
- Aug 22, 2026
- Last modified
- Oct 14, 2026
- NVD status
- Analyzed