CVE-2026-81725: NLTK before 3.10.3 Regular Expression Denial of Service via Pl196xCorpusReader

Published Aug 27, 2026
·
Updated

NLTK before 3.10.3 contains a regular expression denial of service vulnerability in Pl196xCorpusReader that allows attackers to cause quadratic CPU consumption by supplying malformed TEI blocks with many unmatched opening tags. Attackers can exploit lazy regex patterns in the readblock method through public APIs like words() and taggedwords() to force repeated rescans and achieve near-quadratic runtime growth.

Affected Software

1 affected component
nltk nltk<3.10.3

Event History

Aug 27, 2026
CVE Published
via MITRE·02:51 PM
Data Sourced
via MITRE·02:51 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:21 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which NLTK versions are affected?

NLTK versions before 3.10.3 are affected. Version 3.10.3 is not identified as affected by the provided information.

2

What must an attacker be able to do to trigger the issue?

An attacker must be able to supply malformed TEI blocks containing many unmatched opening tags to code that processes them through Pl196xCorpusReader. The vulnerable parsing behavior can be reached through public APIs including words() and tagged_words().

3

What is the expected impact of successful exploitation?

Successful exploitation causes excessive CPU consumption through repeated regular-expression rescans, with near-quadratic runtime growth. The provided severity vector indicates an availability impact and does not indicate confidentiality or integrity impact.

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203