Bug 2573545 (CVE-2026-126298)

Summary: CVE-2026-126298 nltk: nltk: Denial of Service via inefficient tree processing in Tree.chomsky_normal_form
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: anpicker, ebourniv, hasun, jfula, jlanda, jowilson, kshier, nyancey, ometelka, ptisnovs, rbobbitt, sbunciak, simaishi, stcannon, syedriko, xdharmai, yguenane
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in NLTK. A remote attacker could cause a Denial of Service (DoS) by supplying specially crafted syntax tree data to be parsed and processed. Due to an algorithmic inefficiency during tree conversion in the Chomsky Normal Form function (Tree.chomsky_normal_form), handling wide tree structures triggers excessive CPU resource consumption. This thread blocking leaves the application unable to process other requests.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2581671, 2581682    
Bug Blocks:    

Description OSIDB Bzimport 2026-11-13 22:41:28 UTC
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.