Skip to content
CVE PROGRAM SOURCE RECORD6.9 Medium

CVE-2026-81724

NLTK before 3.10.3 Denial of Service via Uncontrolled Recursion

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

nltk nltk

Default version status: unaffected

  • 0 to < 3.10.3affected
  • 3.10.3unaffected
pkg:pypi/nltk

References