CVE-2026-126191 Soup Sieve: Exponential ReDoS in selector compilation via \9-run in CSS_ESCAPES/IDENTIFIER
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
- Technology
- UbuntuDebian
Description
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.
Upgrade path
9 packages: 2 fixed, 6 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/soupsieve(Debian 12) | = 2.3.2-1; = 2.4-1; = 2.4.1-1; = 2.4.1-2 +9 more | No fix listed | No fix yet |
| debian/soupsieve(Debian 13) | = 2.7-1; = 2.7-2; = 2.8.1-1; = 2.8.3-1 +3 more | No fix listed | No fix yet |
| ubuntu/soupsieve(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/soupsieve(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/soupsieve(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/soupsieve(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| debian/soupsieve(Debian 14) | < 4.1-1; = 2.7-1; = 2.7-2; = 2.8.1-1 +2 more | 4.1-1 | Fixed |
| pypi soupsieve(PyPI) | < 3.0.2; <= 2.10; = 0.4; = 0.5 +56 more | 3.0.2 | Fixed |
| facelessuser soupsieve | = < 3.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi soupsieve(PyPI) | <= 2.10 | No fix listed |
| pypi soupsieve(PyPI) | < 3.0.2 | 3.0.2 |
| pypi soupsieve(PyPI) | = 0.4 | No fix listed |
| pypi soupsieve(PyPI) | = 0.5 | No fix listed |
| pypi soupsieve(PyPI) | = 0.5.1 | No fix listed |
| pypi soupsieve(PyPI) | = 0.5.2 | No fix listed |
| pypi soupsieve(PyPI) | = 0.5.3 | No fix listed |
| pypi soupsieve(PyPI) | = 0.6 | No fix listed |
| pypi soupsieve(PyPI) | = 1.0 | No fix listed |
| pypi soupsieve(PyPI) | = 1.0.1 | No fix listed |
| pypi soupsieve(PyPI) | = 1.0.2 | No fix listed |
| pypi soupsieve(PyPI) | = 1.0b1 | No fix listed |
| pypi soupsieve(PyPI) | = 1.0b2 | No fix listed |
| pypi soupsieve(PyPI) | = 1.1 | No fix listed |
| pypi soupsieve(PyPI) | = 1.2 | No fix listed |
| pypi soupsieve(PyPI) | = 1.2.1 | No fix listed |
| pypi soupsieve(PyPI) | = 1.3 | No fix listed |
| pypi soupsieve(PyPI) | = 1.3.1 | No fix listed |
| pypi soupsieve(PyPI) | = 1.4 | No fix listed |
| pypi soupsieve(PyPI) | = 1.5 | No fix listed |
| pypi soupsieve(PyPI) | = 1.6 | No fix listed |
| pypi soupsieve(PyPI) | = 1.6.1 | No fix listed |
| pypi soupsieve(PyPI) | = 1.6.2 | No fix listed |
| pypi soupsieve(PyPI) | = 1.7 | No fix listed |
| pypi soupsieve(PyPI) | = 1.7.1 | No fix listed |
Show 66 more
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi soupsieve(PyPI) | = 1.7.2 | No fix listed |
| pypi soupsieve(PyPI) | = 1.7.3 | No fix listed |
| pypi soupsieve(PyPI) | = 1.8 | No fix listed |
| pypi soupsieve(PyPI) | = 1.9 | No fix listed |
| pypi soupsieve(PyPI) | = 1.9.1 | No fix listed |
| pypi soupsieve(PyPI) | = 1.9.2 | No fix listed |
| pypi soupsieve(PyPI) | = 1.9.3 | No fix listed |
| pypi soupsieve(PyPI) | = 1.9.4 | No fix listed |
| pypi soupsieve(PyPI) | = 1.9.5 | No fix listed |
| pypi soupsieve(PyPI) | = 1.9.6 | No fix listed |
| pypi soupsieve(PyPI) | = 2.0 | No fix listed |
| pypi soupsieve(PyPI) | = 2.0.1 | No fix listed |
| pypi soupsieve(PyPI) | = 2.1 | No fix listed |
| pypi soupsieve(PyPI) | = 2.10 | No fix listed |
| pypi soupsieve(PyPI) | = 2.2 | No fix listed |
| pypi soupsieve(PyPI) | = 2.2.1 | No fix listed |
| pypi soupsieve(PyPI) | = 2.3 | No fix listed |
| pypi soupsieve(PyPI) | = 2.3.1 | No fix listed |
| pypi soupsieve(PyPI) | = 2.3.2 | No fix listed |
| pypi soupsieve(PyPI) | = 2.3.2.post1 | No fix listed |
| pypi soupsieve(PyPI) | = 2.4 | No fix listed |
| pypi soupsieve(PyPI) | = 2.4.1 | No fix listed |
| pypi soupsieve(PyPI) | = 2.5 | No fix listed |
| pypi soupsieve(PyPI) | = 2.6 | No fix listed |
| pypi soupsieve(PyPI) | = 2.7 | No fix listed |
| pypi soupsieve(PyPI) | = 2.8 | No fix listed |
| pypi soupsieve(PyPI) | = 2.8.1 | No fix listed |
| pypi soupsieve(PyPI) | = 2.8.2 | No fix listed |
| pypi soupsieve(PyPI) | = 2.8.3 | No fix listed |
| pypi soupsieve(PyPI) | = 2.8.4 | No fix listed |
| pypi soupsieve(PyPI) | = 2.9 | No fix listed |
| pypi soupsieve(PyPI) | = 2.9.1 | No fix listed |
| pypi soupsieve(PyPI) | = 2.9.2 | No fix listed |
| pypi soupsieve(PyPI) | = 3.0 | No fix listed |
| pypi soupsieve(PyPI) | = 3.0.1 | No fix listed |
| facelessuser soupsieve | = < 3.0 | No fix listed |
| debian/soupsieve(Debian:12) | All versions | No fix listed |
| debian/soupsieve(Debian:12) | = 2.3.2-1 | No fix listed |
| debian/soupsieve(Debian:12) | = 2.4-1 | No fix listed |
| debian/soupsieve(Debian:12) | = 2.4.1-1 | No fix listed |
| debian/soupsieve(Debian:12) | = 2.4.1-2 | No fix listed |
| debian/soupsieve(Debian:12) | = 2.5-1 | No fix listed |
| debian/soupsieve(Debian:12) | = 2.6-1 | No fix listed |
| debian/soupsieve(Debian:12) | = 2.7-1 | No fix listed |
| debian/soupsieve(Debian:12) | = 2.7-2 | No fix listed |
| debian/soupsieve(Debian:12) | = 2.8.1-1 | No fix listed |
| debian/soupsieve(Debian:12) | = 2.8.3-1 | No fix listed |
| debian/soupsieve(Debian:12) | = 2.8.4-1 | No fix listed |
| debian/soupsieve(Debian:12) | = 4.1-1 | No fix listed |
| debian/soupsieve(Debian:13) | All versions | No fix listed |
| debian/soupsieve(Debian:13) | = 2.7-1 | No fix listed |
| debian/soupsieve(Debian:13) | = 2.7-2 | No fix listed |
| debian/soupsieve(Debian:13) | = 2.8.1-1 | No fix listed |
| debian/soupsieve(Debian:13) | = 2.8.3-1 | No fix listed |
| debian/soupsieve(Debian:13) | = 2.8.4-1 | No fix listed |
| debian/soupsieve(Debian:13) | = 4.1-1 | No fix listed |
| debian/soupsieve(Debian:14) | < 4.1-1 | 4.1-1 |
| debian/soupsieve(Debian:14) | = 2.7-1 | No fix listed |
| debian/soupsieve(Debian:14) | = 2.7-2 | No fix listed |
| debian/soupsieve(Debian:14) | = 2.8.1-1 | No fix listed |
| debian/soupsieve(Debian:14) | = 2.8.3-1 | No fix listed |
| debian/soupsieve(Debian:14) | = 2.8.4-1 | No fix listed |
| ubuntu/soupsieve(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/soupsieve(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/soupsieve(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/soupsieve(Ubuntu:26.10) | All versions | No fix listed |
References
- https://github.com/facelessuser/soupsieve/security/advisories/GHSA-6655-6qjp-jx7x vendor-advisory
- https://github.com/facelessuser/soupsieve/pull/300 patch
- https://github.com/facelessuser/soupsieve/commit/dbfa2854ff31a863326bd6660d4e55c6f068db9e patch
- https://github.com/facelessuser/soupsieve/releases/tag/3.0
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product
- Debian Security Tracker CVE-2026-126191 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- ENISA EUVD EUVD-2026-124551 third-party-advisory