CVE-2026-126297: NLTK before 3.10.4 CPU Denial of Service via ConllCorpusReader srl_instances

Published Nov 13, 2026
·
Updated

NLTK before 3.10.4 contains a quadratic-time denial of service vulnerability in ConllCorpusReader.getsrlinstances that allows remote attackers to exhaust CPU through nested span rescans. Attackers can supply a crafted CoNLL SRL corpus with many predicates and span columns, placing the head span last, to pin a core for minutes.

Affected Software

1 affected component
pypi/nltk<3.10.4

Event History

Nov 13, 2026
CVE Published
via MITRE·09:36 AM
Data Sourced
via MITRE·09:36 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:17 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is exposed to this issue?

Applications using NLTK versions before 3.10.4 that process attacker-controlled CoNLL semantic role labeling (SRL) corpora are exposed. The issue can be triggered remotely when an attacker can cause the application to parse a crafted corpus.

2

What does an attacker need to exploit it?

No authentication or user interaction is required. The attacker needs to supply a CoNLL SRL corpus containing many predicates and span columns, with the head span placed last.

3

What is the impact of successful exploitation?

The crafted input causes nested span rescans with quadratic-time behavior, allowing an attacker to exhaust CPU resources. A single processing task can pin a CPU core for minutes, resulting in denial of service.

4

How can this be remediated?

Upgrade NLTK to version 3.10.4 or later. If upgrading cannot happen immediately, do not process untrusted CoNLL SRL corpora and apply resource limits to parsing workloads.

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