Vulnerability
CVE-2026-86000
Soup Sieve is a CSS selector library designed to be used with Beautiful Soup 4. Prior to 2.9, the selector parser in src/soupsieve/css_parser.py defines IDENTIFIER with adjacent quantified groups over overlapping character classes, and VALUE embeds IDENTIFIER for attribute selectors. When an attacker-controlled selector contains a long identifier or unquoted attribute-value run followed by input that makes the overall match fail, the regular expression engine explores quadratically many splits between the overlapping groups. User-controlled selectors can reach this path through soupsieve.compile(), soupsieve.select(), or BeautifulSoup.select(), while applications using only hard-coded selectors are unaffected. The resulting CPU consumption can hold the Python GIL, exhaust application workers, and stall a service; successful plain identifier matches are linear, and the issue does not cause memory corruption or code execution. The issue is fixed in version 2.9.
35 advisories report this vulnerability, across 8 ecosystems.
Advisories
-
AZL-103325
CVE-2026-86000 affecting package python-soupsieve 2.6-3
- CGA-2p6q-2944-866h
- CGA-2wxq-8xgw-hq8h
- CGA-4gcg-j35w-v4pr
- CGA-4x87-2cjq-p92j
- CGA-7gj8-mp7p-mj74
- CGA-7p8m-4c85-w3rr
- CGA-9665-c584-w9p9
- CGA-96jp-52m7-9r7g
- CGA-cg83-p4cg-f3w4
- CGA-cqcf-wr6w-3972
- CGA-fh68-rjjq-5cpq
- CGA-gg94-59jv-qg4v
- CGA-h273-vpwh-pm26
- CGA-jw7q-cwmm-3xgc
- CGA-m7cm-2m4p-93wp
- CGA-mm4f-jp95-c259
- CGA-pmhx-76q5-mf6v
- CGA-q5j6-8p7f-8vv8
- CGA-qm3w-mv55-x899
- CGA-vjfx-85jc-8947
- CGA-vmfq-9fjc-qff8
- CGA-vrh6-x663-cmgx
- CGA-wjvj-gpc7-mw7h
- CGA-xq28-8gm9-9c6q
-
DEBIAN-CVE-2026-86000
Soup Sieve is a CSS selector library designed to be used with Beautiful Soup 4. Prior to 2.9, the selector parser in src/soupsieve/css_parser.py defines IDENTIFIER with adjacent quantified groups over overlapping…
-
GHSA-gjv8-xp57-g29c
Soup Sieve: Polynomial-time ReDoS (O(n²)) in the `IDENTIFIER` / `VALUE` selector sub-patterns
-
PYSEC-2026-4170
Soup Sieve: Polynomial-time ReDoS (O(n²)) in the `IDENTIFIER` / `VALUE` selector sub-patterns
-
SUSE-SU-2026:24267-1
Security update for python-soupsieve
-
SUSE-SU-2026:4365-1
Security update for python-soupsieve
-
SUSE-SU-2026:5164-1
Security update for python-soupsieve
-
SUSEVEX-CVE-2026-86000
Soup Sieve is a CSS selector library designed to be used with Beautiful Soup 4. Prior to 2.9, the selector parser in src/soupsieve/css_parser.py defines IDENTIFIER with adjacent quantified groups over overlapping…
-
UBUNTU-CVE-2026-86000
Soup Sieve is a CSS selector library designed to be used with Beautiful Soup 4. Prior to 2.9, the selector parser in src/soupsieve/css_parser.py defines IDENTIFIER with adjacent quantified groups over overlapping…
-
openSUSE-SU-2026:11866-1
python313-soupsieve-2.9.2-1.1 on GA media
-
openSUSE-SU-2026:22149-1
Security update for python-soupsieve