Gptline: NLTK: ReDoS in nltk.text.Text.findall() via unvalidated user-supplied regular expressions (CVE-2026-80205)
NLTK's Text.findall() and TokenSearcher.findall() methods in the nltk.text module accept user-supplied regular expressions without validation or timeout, leading to a Regular Expression Denial of Service (ReDoS) vulnerability. This allows an unauthenticated attacker to cause indefinite CPU saturation by exploiting catastrophic backtracking in the regex engine. The issue was fixed in a prior commit.
AI Analysis
Technical Summary
The vulnerability exists in NLTK's nltk.text.Text.findall() and TokenSearcher.findall() methods, which accept user-supplied regular expressions and execute them against an internal string without timeout or validation. The preprocessing of the regex does not prevent catastrophic backtracking, enabling ReDoS attacks. An attacker can supply a crafted regex that causes the Python re engine to hang indefinitely, resulting in denial of service. The vulnerability is isolated to the nltk.text module and was patched in commit d8e4753.
Potential Impact
An unauthenticated attacker can cause a denial of service by triggering indefinite CPU consumption in any application exposing Text.findall() to external input. This results in service unavailability for legitimate users due to CPU saturation. There is no impact on confidentiality or integrity.
Mitigation Recommendations
A patch is available and was applied in commit d8e4753. Users should update to the patched version to remediate this vulnerability. No additional mitigation is required if the update is applied.
Gptline: NLTK: ReDoS in nltk.text.Text.findall() via unvalidated user-supplied regular expressions (CVE-2026-80205)
Description
NLTK's Text.findall() and TokenSearcher.findall() methods in the nltk.text module accept user-supplied regular expressions without validation or timeout, leading to a Regular Expression Denial of Service (ReDoS) vulnerability. This allows an unauthenticated attacker to cause indefinite CPU saturation by exploiting catastrophic backtracking in the regex engine. The issue was fixed in a prior commit.
CVSS v3.1
Score 7.5high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability exists in NLTK's nltk.text.Text.findall() and TokenSearcher.findall() methods, which accept user-supplied regular expressions and execute them against an internal string without timeout or validation. The preprocessing of the regex does not prevent catastrophic backtracking, enabling ReDoS attacks. An attacker can supply a crafted regex that causes the Python re engine to hang indefinitely, resulting in denial of service. The vulnerability is isolated to the nltk.text module and was patched in commit d8e4753.
Potential Impact
An unauthenticated attacker can cause a denial of service by triggering indefinite CPU consumption in any application exposing Text.findall() to external input. This results in service unavailability for legitimate users due to CPU saturation. There is no impact on confidentiality or integrity.
Mitigation Recommendations
A patch is available and was applied in commit d8e4753. Users should update to the patched version to remediate this vulnerability. No additional mitigation is required if the update is applied.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- BREW-gptline-CVE-2026-80205
- Osv Schema Version
- 1.7.3
- Ecosystems
- ["Homebrew"]
- Cvss Version
- 3.1
Threat ID: 6aac8e5a55bf5e2cf5491af6
Added to database: 09/18/2026, 01:05:30 UTC
Last enriched: 09/18/2026, 01:51:18 UTC
Last updated: 09/18/2026, 02:07:07 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.