CVE-2026-81723: NLTK before 3.10.3 Quadratic CPU Exhaustion via XMLCorpusView

Published Aug 27, 2026
·
Updated

NLTK versions before 3.10.3 contain a quadratic CPU exhaustion vulnerability in XMLCorpusView.readxmlfragment() that rescans accumulated XML fragments on every 1 KiB block read. Attackers can provide malformed XML corpus files to cause severe CPU consumption and denial of service through affected readers like BNCCorpusReader.

Affected Software

1 affected component
nltk Natural Language Toolkit<3.10.3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade nltk to a version that resolves this vulnerability.

    Fixed in 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

What must an attacker be able to do to trigger the denial of service?

An attacker must be able to provide a malformed XML corpus file that is processed by an affected NLTK XML reader, such as BNCCorpusReader. No authentication or user interaction is required according to the supplied vector.

2

Which deployments are realistically exposed?

Deployments are exposed when they use NLTK before 3.10.3 and process XML corpus files from untrusted or attacker-influenced sources through XMLCorpusView-based readers. The impact is CPU exhaustion and resulting denial of service; confidentiality and integrity are not affected.

3

What is the available remediation?

Upgrade NLTK to version 3.10.3 or later. The affected range is NLTK versions before 3.10.3.

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