CVE-2026-126297
NLTK before 3.10.4 contains a quadratic-time denial of service …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/nltk/nltk/security/advisories/GHSA-v8f3-6phw-6mh9
- www.vulncheck.com/advisories/nltk-before-3.10.4-cpu-denial-of-service-via-conllcorpusreade
- nvd.nist.gov/vuln/detail/CVE-2026-126297
- github.com/nltk/nltk/pull/3933
- github.com/nltk/nltk/commit/7bae75fc0f7b1f057ff7d89d24c81bb5a4a0f05a
- github.com/nltk/nltk/commit/9cacbb95d97eaac7debb30d6e7decbe74d2c635f
- github.com/nltk/nltk/releases/tag/v3.10.4
- github.com/advisories/GHSA-v8f3-6phw-6mh9
- nvd.nist.gov/vuln/detail/CVE-2026-126297
- cve.org/CVERecord?id=CVE-2026-126297
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.