CVE-2026-126193 Soup Sieve: Uncontrolled recursion in Soup Sieve CSS parser lets nested pseudo-class selectors exhaust the Python call stack
- 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 for Beautiful Soup. From 0.4 until 3.0, deeply nested CSS pseudo-class selectors can cause recursive parsing to exceed Python’s recursion limit and raise RecursionError . Applications accepting untrusted selectors may experience failure of the affected request or task if the exception is not handled. The demonstrated behavior is recoverable and does not establish an interpreter crash or persistent service-wide denial of service. This vulnerability is fixed in version 3.0.
Upgrade path
10 packages: 2 fixed, 7 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| azure linux python-soupsieve(Azure Linux 4.0) | All versions | No fix listed | No fix yet |
| debian/soupsieve(Debian 12) | = 2.3.2-1; = 2.4-1; = 2.4.1-1; = 2.4.1-2 +10 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 +4 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) | = 0.4; = 0.5; = 0.5.1; = 0.5.2 +56 more | 3.0.2 | Fixed |
| facelessuser soupsieve | = >= 0.4, < 3.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi soupsieve(PyPI) | >= 0.4, <= 2.10 | No fix listed |
| pypi soupsieve(PyPI) | >= 0.4, < 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 69 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 | = >= 0.4, < 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:12) | = 4.1.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:13) | = 4.1.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 |
| azure linux python-soupsieve(Azure Linux:4.0) | All versions | No fix listed |
References
- https://github.com/facelessuser/soupsieve/security/advisories/GHSA-7g44-g9rc-x53w exploit vendor-advisory
- https://github.com/facelessuser/soupsieve/pull/306 patch
- https://github.com/facelessuser/soupsieve/commit/52de12f157a373614ad0f486d434551c5a4378ee patch
- https://github.com/facelessuser/soupsieve/releases/tag/3.0
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product
- MSRC Security Update Guide vendor-advisory
- Release Notes vendor-advisory
- Debian Security Tracker CVE-2026-126193 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- ENISA EUVD EUVD-2026-124559 third-party-advisory