> CVE-2026-72818 [HIGH]

« BACK_TO_HOME
PUBLISHED
2026-08-20 22:18
MODIFIED
2026-08-20 22:18
CVSS_SCORE V3
8.7
EPSS (Prob. Exploit)
0.74%
Top 46.2%
DATA SOURCES:
NVD đź”— 2026-08-20 CWE MITRE đź”— 2026-09-01 FIRST EPSS đź”— 2026-10-18 GITHUB đź”— 2026-10-29 OSV đź”— 2026-10-26

> 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.

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
None (N)
Aucune authentification requise
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
None (N)
Aucune divulgation d'informations
I (Impact Intégrité)
Integrity Impact
None (N)
Aucune modification de données possible
A (Impact Disponibilité)
Availability Impact
High (H)
Interruption totale du service possible

> RÉSUMÉ DES IMPACTS

Confidentialité
None
Aucune divulgation d'informations
Intégrité
None
Aucune modification de données possible
Disponibilité
High
Interruption totale du service possible

> WEAKNESSES

CWE-1333

> CWE DETAILED DESCRIPTIONS

CWE-1333: Inefficient Regular Expression Complexity - The product uses a regular expression with a worst-case computational complexity that is inefficient and possibly exponential.

> GITHUB SECURITY ADVISORY

GHSA-qx2g-xrx7-vfh8 HIGH

NLTK TweetTokenizer vulnerable to denial of service through catastrophic regex backtracking

AFFECTED PACKAGES:
PIP / nltk
< 3.10.1
Fixed in: 3.10.1

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

NLTK TweetTokenizer URL Pattern Backtracks Catastrophically on Naked-Domain-Like Input

AFFECTED PACKAGES:
Unknown / Unknown
45 versions affected
ALIASES:
GHSA-qx2g-xrx7-vfh8, PYSEC-2026-3870

> HISTORIQUE DES MODIFICATIONS

Première apparition
20/08/2026 22:18
Source: NVD
📊 ENRICHISSEMENT 01/09/2026 06:02
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-1333: Inefficient Regular Expression Complexity - The product uses a regular expression with a worst-case computational complexity that is inefficient and possibly exponential.
Total des modifications: 1 Dernière mise à jour: 1 month ago

> REFERENCES

https://github.com/nltk/nltk
https://github.com/nltk/nltk/blob/3.9.4/nltk/tokenize/casual.py
https://github.com/nltk/nltk/issues/3704
https://github.com/nltk/nltk/releases/tag/v3.10.1
https://www.vulncheck.com/advisories/nltk-tweettokenizer-url-pattern-backtracks-...
« BACK_TO_HOME