Description
NLTK before 3.10.3 contains an uncontrolled recursion vulnerability in nltk.featstruct.FeatStructReader that allows unauthenticated attackers to cause a denial of service by supplying deeply nested feature-structure input. Attackers can craft trivial payloads with nested brackets that exceed Python's recursion limit and raise an unhandled RecursionError, crashing applications that parse user-supplied feature structures or feature grammars.
Metrics
CVSS 3.1 5.3/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| nltk | nltk | < 3.10.3 |
References
- https://github.com/nltk/nltk/security/advisories/GHSA-cw6x-m8jw-qmrhExploit, Vendor Advisory
- https://www.vulncheck.com/advisories/nltk-before-3.10.3-denial-of-service-via-uncontrolled-recursionThird Party Advisory
- https://github.com/nltk/nltk/security/advisories/GHSA-cw6x-m8jw-qmrhExploit, Vendor Advisory
Timeline
- Published
- Aug 27, 2026
- Last modified
- Aug 31, 2026
- NVD status
- Analyzed