{"id":"CVE-2021-3842","published":"2022-01-04T14:50:09Z","modified":"2024-08-03T17:09:09Z","title":"Inefficient Regular Expression Complexity in nltk/nltk","vendor":"nltk","product":"nltk/nltk","tier":"tail","description":{"text":"nltk is vulnerable to Inefficient Regular Expression Complexity","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01571,"percentile":0.75994,"provenance":"source"},"cwes":[{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity"}],"references":[{"url":"https://huntr.dev/bounties/761a761e-2be2-430a-8d92-6f74ffe9866a","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/nltk/nltk/commit/2a50a3edc9d35f57ae42a921c621edc160877f4d","tags":["x_refsource_MISC"]}],"priority":{"score":20.4,"factors":[{"name":"EPSS percentile","points":15.2},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"nltk","affectedVersions":[{"vendor":"nltk","product":"nltk/nltk","versions":[">= unspecified, < 3.6.6"]}],"affected":[{"ecosystem":"PyPI","package":"nltk","vulnerableRanges":["<3.6.6"],"patched":["3.6.6"],"from":["GHSA-rqjh-jp2r-59cj","PYSEC-2022-5"],"provenance":"source"}],"summary":{"text":"The inefficient regular expression complexity flaw lives in the nltk/nltk product, the Natural Language Toolkit library. An attacker with network access can trigger it without authentication or user interaction, with no special configuration required, and the result is a high impact on availability.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:15:14Z"},"euvd":{"id":"EUVD-2022-0162","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2019-14751","published":"2019-08-22","fixed":"3.4.5","kev":false},{"cve":"CVE-2021-3828","published":"2021-09-27","fixed":"3.6.4","kev":false},{"cve":"CVE-2021-3842","published":"2022-01-04","fixed":"3.6.6","kev":false},{"cve":"CVE-2021-43854","published":"2021-12-23","fixed":"3.6.6","kev":false,"link":{"from":"CVE-2021-43854","to":"CVE-2021-3842","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:nltk","fromFixed":"3.6.5","toFixed":"3.6.6","daysApart":12}]}},{"cve":"CVE-2024-39705","published":"2024-06-27","fixed":"3.9","kev":false},{"cve":"CVE-2025-14009","published":"2026-02-18","fixed":"3.9.3","kev":false}],"package":"PyPI:nltk"}}