CVE-2026-12061: Regular Expression Denial of Service in NLTK ReviewsCorpusReader
CVE-2026-12061 is a regular expression denial-of-service vulnerability in NLTK's ReviewsCorpusReader. Its FEATURES regular expression exhibits quadratic backtracking when processing a crafted, long review line without brackets. Processing such input through reviews(), features(), or sents() can cause excessive CPU consumption and hang the calling thread or process. NLTK 3.10.0 fixes the vulnerable expression by bounding the per-label word run. The precise affected-version range is not established.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
An attacker-controlled review line can cause excessive CPU consumption and stall applications that process untrusted reviews corpora. The vulnerability is rated High with a CVSS v3.0 score of 7.5, reflecting high availability impact and no assessed confidentiality or integrity impact.
Mitigation
If you can’t patch tonight, do this now.
Until patched, avoid processing untrusted reviews corpora with ReviewsCorpusReader. Reject excessively long bracket-less lines before parsing, enforce input-size and processing-time limits, and isolate parsing in resource-constrained worker processes where feasible.
Remediation
Patch, then assume compromise.
Upgrade nltk and applicable related packages to version 3.10.0 or later. For VMware Tanzu Greenplum deployments, version 7.8.4 includes a fix for this CVE; apply the vendor's corresponding release and component updates.
Exploits
No public exploits tracked yet. Mallory keeps watching.
References
Frequently asked questions
- Is CVE-2026-12061 exploited in the wild?
- As of Nov 7, 2026, Mallory has no reports of CVE-2026-12061 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-12061?
- As of Nov 7, 2026, Mallory has found no public exploit for CVE-2026-12061.
- Is there a patch for CVE-2026-12061?
- Upgrade nltk and applicable related packages to version 3.10.0 or later. For VMware Tanzu Greenplum deployments, version 7.8.4 includes a fix for this CVE; apply the vendor's corresponding release and component updates.
Recent activity
2 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.