Bug 2572672 (CVE-2026-126191)

Summary: CVE-2026-126191 soupsieve: soupsieve: Denial of Service via regular expression backtracking in selector compilation
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: akhatavk, anpicker, aos-team-art-private, aprice, aruklets, asdas, bcaton, cmyers, crizzo, dkeler, dnakabaa, doconnor, dpaolell, ebourniv, eglynn, hasun, jdelft, jfula, jjoyce, jlanda, jowilson, jpretori, jsamir, jschluet, jupierce, kaycoth, kshier, lcouzens, lgarciaa, lhh, mbiarnes, mburns, mgarciac, nyancey, oezr, ometelka, pakotvan, ppalepu, ppostler, prdhamdh, ptisnovs, rbobbitt, sbunciak, sghai, shudeshp, sidsharm, simaishi, stcannon, sthirugn, suppawar, syedriko, thason, vlaad, 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 soupsieve. A remote attacker who can provide untrusted CSS selectors can trigger exponential backtracking in regular expression processing by submitting crafted escape sequences. This failure occurs during selector compilation, leading to excessive resource consumption and causing a Denial of Service (DoS) by stalling application worker processes.
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:

Description OSIDB Bzimport 2026-11-12 17:11:25 UTC
Soup Sieve is a CSS selector library designed to be used with Beautiful Soup 4. Prior to 3.0, the CSS_ESCAPES and IDENTIFIER regular-expression subpatterns can backtrack exponentially on runs of ambiguous digit escapes in an attribute-name or tag position of an otherwise valid selector. The failure occurs during selector compilation through soupsieve.compile() or Beautiful Soup select() before SELECTOR_LIMIT is applied, so an application that accepts untrusted selector strings can have a worker stalled by a short input. This issue is fixed in version 3.0.