Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-12061
Published:July 31, 2026
Updated:August 27, 2026
"ReviewsCorpusReader" extracts feature annotations of the form label followed by a bracketed signed digit (e.g. a label then "[+2]") from each review line, using the module-level "FEATURES" regex. The feature-label sub-pattern is unbounded — an optional greedy run of word-plus-whitespace groups followed by another word, which must then be followed by a literal "[". On a long bracket-less line the label can match from every search position to the end of the line, causing quadratic backtracking. A single crafted line in a reviews corpus hangs "reviews()", "features()", and "sents()".
Affected Packages
nltk (CONDA):
Affected version(s) >=2.0.3 <3.10.0
Fix Suggestion:
Update to version 3.10.0
nltk (PYTHON):
Affected version(s) >=0.8 <3.10.0
Fix Suggestion:
Update to version 3.10.0
Do you need more information?
Contact Us
CVSS v4
Base Score:
8.7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Weakness Type (CWE)
Inefficient Regular Expression Complexity