Vulnerability record

CVE-2026-126298

highCVSS 4.0 8.7EPSS 0.58%Published · nltk

The short answer

CVE-2026-126298 affects nltk nltk and is rated high (CVSS 8.7). It is not in CISA's KEV catalog; EPSS puts the chance of exploitation in the next 30 days at 0.58%.

What it is

NLTK before 3.10.4 contains a denial of service vulnerability in Tree.chomsky_normal_form that allows remote attackers to exhaust CPU through quadratic-time right-factor binarization using list.pop(0). Attackers can supply a wide flat treebank tree parsed by Tree.fromstring to force tens of seconds of single-threaded CPU consumption, blocking the processing thread.

Weakness: CWE-400.

Severity

8.7 high

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Exploited (CISA KEV)

Not listed

CISA lists confirmed exploitation only

EPSS, next 30 days

0.58%

Higher than 48% of scored CVEs

How it can be exploited

Attack vector
Network
Attack complexity
Low
Attack requirements
None
Privileges required
None
User interaction
None
Confidentiality impact
None
Integrity impact
None
Availability impact
High

Affected products

nltk. NVD's record lists the exact affected versions.

References

Questions

Is CVE-2026-126298 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog as of 2026-11-13. FIRST's EPSS estimates a 0.58% chance of exploitation in the next 30 days.

How do I fix CVE-2026-126298?

Follow the vendor advisory in the references below. NVD lists the affected versions under its configurations.

From NVD, CISA KEV, FIRST EPSS and OSV.dev, checked . Status on NVD: Awaiting Analysis. The description is NVD's text, quoted as published.

Related

Know the day a CVE lands in your code

Connect a GitHub repository and ZeusQA checks its dependencies daily, briefs each advisory and opens the fix. Three test runs free, no card.