Live threats

All CVEs / Nltk

CVE-2021-3842Nltk

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
1.6%
probability of exploitation in 30 days · percentile 76
Auth required
No
Published
Jan 4, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-1333
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

nltk is vulnerable to Inefficient Regular Expression Complexity

Original NVD text.

What to do

  1. Apply the vendor's security update for Nltk.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI nltk < 3.6.6 3.6.6 pip install "nltk>=3.6.6"
PyPI nltk < 3.6.6 3.6.6 pip install "nltk>=3.6.6"

Per OSV / GitHub Advisories (GHSA-rqjh-jp2r-59cj, PYSEC-2022-5). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
nltknltk< 3.6.6
debiandebian_linux9.0
debiandebian_linux10.0
debiandebian_linux11.0
fedoraprojectfedora35

Official sources

References

Links published by the sources. Open them with care.