CVE-2026-81724

NLTK before 3.10.3 Denial of Service via Uncontrolled Recursion

State
Published
Severity
6.9 Medium
Published
Aug 27, 2026
Updated
Aug 27, 2026
Reserved
Aug 27, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.06.9 MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:NVulnCheck
3.15.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LVulnCheck

Weaknesses

Affected Products

ProductVersions
nltknltk
  • before 3.10.3Affected
  • 3.10.3Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.