{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-129229","id":"CVE-2026-129229","title":"NLTK: Compile-time regex DoS in NLTK search/tokenizer sinks: quadratic regex-engine compile bypasses the match-only timeout","description":"NLTK (Natural Language Toolkit) is a suite of open source Python modules, data sets, and tutorials supporting research and development in Natural Language Processing. From 3.10.0 until 3.10.4, TokenSearcher.findall and Text.findall accept caller-controlled regular expressions with an unbounded number of capturing groups throughout the affected range. Starting in 3.10.3, nltk.redos.compile and Rege","descriptionLong":"NLTK (Natural Language Toolkit) is a suite of open source Python modules, data sets, and tutorials supporting research and development in Natural Language Processing. From 3.10.0 until 3.10.4, TokenSearcher.findall and Text.findall accept caller-controlled regular expressions with an unbounded number of capturing groups throughout the affected range. Starting in 3.10.3, nltk.redos.compile and RegexpTokenizer expose the same compile-time vector. The third-party regex engine compiles group-dense patterns with roughly quadratic cost before the match-time timeout begins, allowing a small unauthenticated request to exhaust CPU and deny service. This issue is fixed in version 3.10.4.","published":"2026-11-19T17:19:13.777Z","updated":"2026-11-19T17:19:13.777Z","reserved":"2026-11-13T19:21:46.634Z","status":"PUBLISHED","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub_M"}],"rating":"high","products":["nltk"],"affectedProducts":[{"vendor":"nltk","product":"nltk","defaultStatus":null,"versions":[{"version":">= 3.10.0, < 3.10.4","status":"affected"}],"platforms":[]}],"packages":[],"cwes":["CWE-400","CWE-1333"],"aliases":[],"references":[{"url":"https://github.com/nltk/nltk/security/advisories/GHSA-32p6-cwhc-8r78","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/nltk/nltk/pull/3895","tags":["x_refsource_MISC"]},{"url":"https://github.com/nltk/nltk/commit/002bcf714ef8cb8baf94436f4be73e5516914412","tags":["x_refsource_MISC"]},{"url":"https://github.com/nltk/nltk/releases/tag/v3.10.4","tags":["x_refsource_MISC"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":null,"epssPercentile":null,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-129229","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-129229","ok":false,"note":"not found"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-129229","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-129229","ok":false,"note":"no score yet"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}