NLTK's Text.findall() and TokenSearcher.findall() methods accept arbitrary regex patterns without any timeout, sandboxing, or input validation — making them direct ReDoS vectors when invoked with untrusted input. This is not a missing feature; it's an API that was designed with no concept of an input security boundary. The methods were built for a research context where the developer writing the regex is the same person maintaining the code. The moment NLTK became infrastructure processing external data, those methods became exposed attack surface with zero signal to downstream consumers.

The specific exposure: any code path that passes user-controlled strings into findall() is vulnerable to catastrophic regex backtracking. There is no built-in timeout, no compilation guard, and no deprecation warning. The API treats regex as an implementation detail rather than a boundary requiring validation — that silence communicated safety where none existed.

The systemic dimension matters more than the patch. NLTK is bundled into introductory NLP courses at hundreds of universities, meaning the population of developers who learned to call text.findall() without friction is enormous and largely unsophisticated about security boundaries. The methods in question are essentially abandoned code — untouched for years while the rest of NLTK evolved around them. They represent sediment, not active development: forgotten layers that calcified into load-bearing infrastructure without any signal that they were never meant to survive this long.

What you should check: audit any code passing external input to .findall() methods on NLTK Text or TokenSearcher objects. If such paths exist, either sanitize input before regex compilation, wrap the operation in a timeout-capable subprocess, or replace with a safer parsing approach. This is not a theoretical risk — the absence of any guard means a malicious pattern can consume unbounded CPU.

The uncomfortable broader question: the Python ecosystem has no mechanism that flags 'this library method now touches untrusted input' when a research package graduates to production dependency. The same pattern — library evolves without security review, becomes infrastructure, gets exploited — has played out in YAML parsers, template engines, and now NLTK. The gap isn't technical; it's self-awareness about what you've become.