Skip to main content

Gptline: NLTK: ReDoS in nltk.text.Text.findall() via unvalidated user-supplied regular expressions (CVE-2026-80205)

0
High
Published: 09/02/2026 (09/02/2026, 09:04:32 UTC)
Source: GCVE Database
Product: gptline

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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected software

Homebrewmore threats →ghsa
gptline
pkg:brew/gptline
Affected versions
>=1.0.8 <1.0.8_22

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

AILast updated: 09/18/2026, 01:51:18 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses