Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.5%top 59%

The URLS regular expression in nltk/tokenize/casual.py, compiled into TweetTokenizer.WORD_RE and applied by TweetTokenizer.tokenize, contains a… (CVE-2026-72818)

0
Medium
Published: 08/25/2026 (08/25/2026, 00:00:00 UTC)
Source: GCVE Database
Product: nltk

Description

The URLS regular expression in nltk/tokenize/casual.py, compiled into TweetTokenizer.WORD_RE and applied by TweetTokenizer.tokenize, contains a naked-domain branch whose domain-label prefix [a-z0-9]+(?:[.\-][a-z0-9]+)* is unbounded. Input consisting of many alternating label separators can be partitioned in exponentially many ways, and because the branch also requires a trailing top-level domain that such input never supplies, the engine explores those partitions before failing at each offset. A few kilobytes of input therefore consumes seconds to minutes of single-threaded CPU, and the HANG_RE substitution performed before matching does not collapse the pattern. TweetTokenizer is intended for tokenizing untrusted social-media text, so any service that applies it, or the module-level casual_tokenize, to submitted text can be stalled per request without authentication. Version 3.10.1 bounds the label repetition.

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

Ubuntu:Pro:14.04:LTSmore threats →ghsa
nltk
pkg:deb/ubuntu/nltk?arch=source&distro=esm-infra-legacy/trusty
Affected versions
=2.0~b9-0ubuntu4=2.0~b9-0ubuntu4.1~esm2=2.0~b9-0ubuntu4.1~esm4=2.0~b9-0ubuntu4.1~esm5=2.0~b9-0ubuntu4.1~esm6
Ubuntu:Pro:16.04:LTSmore threats →ghsa
nltk
pkg:deb/ubuntu/nltk?arch=source&distro=esm-apps-legacy/xenial
Affected versions
=3.0.4-1=3.0.5-1=3.1-1=3.1-1ubuntu0.1=3.1-1ubuntu0.1+esm1=3.1-1ubuntu0.1+esm2=3.1-1ubuntu0.1+esm3=3.1-1ubuntu0.1+esm4
Ubuntu:Pro:18.04:LTSmore threats →ghsa
nltk
pkg:deb/ubuntu/nltk?arch=source&distro=esm-apps/bionic
Affected versions
=3.2.4-1=3.2.5-1=3.2.5-1ubuntu0.1=3.2.5-1ubuntu0.1+esm1=3.2.5-1ubuntu0.1+esm2=3.2.5-1ubuntu0.1+esm3=3.2.5-1ubuntu0.1+esm4
Ubuntu:Pro:20.04:LTSmore threats →ghsa
nltk
pkg:deb/ubuntu/nltk?arch=source&distro=esm-apps/focal
Affected versions
=3.4.5-1=3.4.5-2=3.4.5-2ubuntu0.1~esm1=3.4.5-2ubuntu0.1~esm2=3.4.5-2ubuntu0.1~esm3=3.4.5-2ubuntu0.1~esm4
Ubuntu:Pro:22.04:LTSmore threats →ghsa
nltk
pkg:deb/ubuntu/nltk?arch=source&distro=esm-apps/jammy
Affected versions
=3.5-1=3.6.5-1=3.6.7-1=3.7-1=3.7-1ubuntu0.1~esm1=3.7-1ubuntu0.1~esm2
Ubuntu:Pro:24.04:LTSmore threats →ghsa
nltk
pkg:deb/ubuntu/nltk?arch=source&distro=esm-apps/noble
Affected versions
=3.8.1-1=3.8.1-1ubuntu0.1~esm1=3.8.1-1ubuntu0.1~esm2
Ubuntu:Pro:26.04:LTSmore threats →ghsa
nltk
pkg:deb/ubuntu/nltk?arch=source&distro=esm-apps/resolute
Affected versions
=3.9.1-2=3.9.1-2build1=3.9.2-1=3.9.2-1ubuntu0.1~esm1=3.9.2-1ubuntu0.1~esm2

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

Technical Details

Gcve Source
db.gcve.eu
Osv Id
UBUNTU-CVE-2026-72818
Osv Schema Version
1.7.0
Aliases
[]
Ecosystems
["Ubuntu:Pro:14.04:LTS","Ubuntu:Pro:16.04:LTS","Ubuntu:Pro:18.04:LTS","Ubuntu:Pro:20.04:LTS","Ubuntu:Pro:22.04:LTS","Ubuntu:Pro:24.04:LTS","Ubuntu:Pro:26.04:LTS"]
Database Specific Severity
null
Cvss Version
3.1

Threat ID: 6a9053e7acd9273b49696867

Added to database: 08/27/2026, 15:12:39 UTC

Last updated: 08/27/2026, 22:52:13 UTC

Views: 2

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.

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