NLTK: Quadratic-time CPU denial of service in CCG lexicon parser (fromstring) on wide bracket bodies and operator chains — GHSA-89P3-FCCH-88PH
GitHub · GitHub · GHSA-89P3-FCCH-88PH
ID
GHSA-89P3-FCCH-88PH
GHSA-89P3-FCCH-88PH
Date
Source
GitHub
GitHub
Vendor
GitHub
GitHub
Threat
high
high
CVSS
7.5
7.5
EPSS
0.00582
0.00582
Summary
## Summary The public CCG lexicon parser `nltk.ccg.lexicon.fromstring` parses caller-influenced lexicon text with two pure-Python loops whose cost is quadratic in the input width. A service that parses an untrusted CCG lexicon string can be driven into tens of seconds of single-threaded CPU by a few-megabyte input, starving the request worker. No authentication or user interaction is required. ## Root Cause…
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-89P3-FCCH-88PH
- Source
- GitHub
- Vendor
- GitHub
- Published by source
- 2026-11-14
- Last source activity
- 2026-11-14
- Additional identifiers
- CVE-2026-126299
- Curated by
- hlukh.ch
Related advisories and connections
These advisories are connected by shared CVE, product, vendor, source, or time signals.