CVE-2026-126190 Soup Sieve: Polynomial-time denial of service in the descendant combinator
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · 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 4.0, Soup Sieve repeatedly walks the same ancestors while matching descendant combinators, and each additional descendant combinator raises the polynomial degree of the work on deeply nested attacker-influenced HTML or XML. Applications using selectors such as section div div through select(), select_one(), or Beautiful Soup CSS APIs against untrusted documents can have a worker occupied for seconds or minutes, while trusted-only document processing is not affected. Selectors compiled with NOCACHE continue to use the old uncached behavior. This issue is fixed in version 4.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) | < 4.0.0; = 0.4; = 0.5; = 0.5.1 +58 more | 4.0.0 | Fixed |
| facelessuser soupsieve | = < 4.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi soupsieve(PyPI) | < 4.0.0 | 4.0.0 |
| 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 |
| pypi soupsieve(PyPI) | = 1.7.2 | No fix listed |
Show 68 more
| Product | Affected versions | Fixed in |
|---|---|---|
| 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 |
| pypi soupsieve(PyPI) | = 3.0.2 | No fix listed |
| pypi soupsieve(PyPI) | = 3.0.3 | No fix listed |
| pypi soupsieve(PyPI) | = 3.0.4 | No fix listed |
| facelessuser soupsieve | = < 4.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-mmhr-3c5m-f64f vendor-advisory
- https://github.com/facelessuser/soupsieve/pull/351 patch
- https://github.com/facelessuser/soupsieve/commit/ff1a5ce7e5addc31626d7b6053511fecdb4f6320 patch
- https://github.com/facelessuser/soupsieve/releases/tag/4.0
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product
- Debian Security Tracker CVE-2026-126190 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- ENISA EUVD EUVD-2026-124549 third-party-advisory