NLTK before 3.10.4 CPU Denial of Service via ConllCorpusReader srl_instances

State
Published
Severity
8.7 High
Published
Nov 13, 2026
Updated
Nov 17, 2026
Reserved
Nov 10, 2026

Read the record on cve.org

Description

NLTK before 3.10.4 contains a quadratic-time denial of service vulnerability in ConllCorpusReader._get_srl_instances 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.

ProductVersions
nltk nltkbefore 3.10.4 Affected3.10.4 Not Affected

Weaknesses

  • CWE-400 Uncontrolled Resource Consumption

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.