Back to list

NLTK: Quadratic-time CPU denial of service in ConllCorpusReader SRL instance builder via nested span rescan — GHSA-V8F3-6PHW-6MH9

GitHub · GitHub · GHSA-V8F3-6PHW-6MH9

ID
GHSA-V8F3-6PHW-6MH9
Date
Source
GitHub
Vendor
GitHub
Threat
high
CVSS
7.5
EPSS
0.00582

Summary

## Summary `ConllCorpusReader.srl_instances()` builds semantic-role-labeling instances from a CoNLL corpus block. For a sentence block with P predicates and P span columns, the instance builder rescans every span column (and every span within it) once per predicate while searching for each predicate's head, giving O(P^2 * R) work. A single well-formed block that places the head span in the last column forces the…

Timeline

Published by source
2026-11-14

Risk context

  • Reported severity or threat level: high.
  • Reported CVSS score: 7.5 out of 10.
  • Reported EPSS value: 0.00582.
  • Review exposure for the affected product or family: pip: nltk.

Product

pip: nltk

What to do

General, cautious steps (verify details in the official source):

  • Prioritize patching or mitigation immediately (treat as actively risky).
  • Identify affected product versions in your inventory and verify whether you are impacted.
  • Apply vendor patches/updates or recommended mitigations as soon as available.
  • Read the official advisory for exact affected versions and remediation steps.

Official advisory

Evidence and provenance

Canonical advisory ID
GHSA-V8F3-6PHW-6MH9
Source
GitHub
Vendor
GitHub
Published by source
2026-11-14
Last source activity
2026-11-14
Additional identifiers
CVE-2026-126297
Curated by
hlukh.ch

Related advisories and connections

These advisories are connected by shared CVE, product, vendor, source, or time signals.