Bug 2572672 (CVE-2026-126191) - CVE-2026-126191 soupsieve: soupsieve: Denial of Service via regular expression backtracking in selector compilation
Summary: CVE-2026-126191 soupsieve: soupsieve: Denial of Service via regular expressio...
Keywords:
Status: NEW
Alias: CVE-2026-126191
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-12 17:11 UTC by OSIDB Bzimport
Modified: 2026-11-12 17:19 UTC (History)
55 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.