Advisory Published

USN-7365-1: NLTK vulnerabilities

First published: Mon Mar 24 2025(Updated: )

It was discovered that NLTK contained a regex that is susceptible to catastrophic backtracking. An attacker could possibly use this issue to cause a denial of service. (CVE-2021-3842, CVE-2021-43854)

Affected SoftwareAffected VersionHow to fix
All of
ubuntu/python3-nltk<3.4.5-2ubuntu0.1~esm2
3.4.5-2ubuntu0.1~esm2
Ubuntu=20.04
All of
ubuntu/python-nltk<3.2.5-1ubuntu0.1+esm2
3.2.5-1ubuntu0.1+esm2
Ubuntu=18.04
All of
ubuntu/python3-nltk<3.2.5-1ubuntu0.1+esm2
3.2.5-1ubuntu0.1+esm2
Ubuntu=18.04
All of
ubuntu/python-nltk<3.1-1ubuntu0.1+esm2
3.1-1ubuntu0.1+esm2
Ubuntu=16.04
All of
ubuntu/python3-nltk<3.1-1ubuntu0.1+esm2
3.1-1ubuntu0.1+esm2
Ubuntu=16.04
All of
ubuntu/python-nltk<2.0~b9-0ubuntu4.1~esm4
2.0~b9-0ubuntu4.1~esm4
Ubuntu=14.04

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Child vulnerabilities

(Contains the following vulnerabilities)

Frequently Asked Questions

  • What is the severity of USN-7365-1?

    The severity of USN-7365-1 is categorized as capable of causing a denial of service due to catastrophic backtracking in a regex.

  • How do I fix USN-7365-1?

    To fix USN-7365-1, upgrade the affected NLTK package to the recommended version specified in the advisory.

  • What software is affected by USN-7365-1?

    USN-7365-1 affects multiple versions of the NLTK package across various Ubuntu distributions.

  • Can USN-7365-1 be exploited remotely?

    Yes, USN-7365-1 can potentially be exploited remotely by an attacker to trigger a denial of service.

  • What versions of NLTK are vulnerable according to USN-7365-1?

    According to USN-7365-1, vulnerable NLTK versions include 3.4.5, 3.2.5, 3.1, and 2.0~b9 based on the specific Ubuntu release.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203