Description
Soup Sieve is a CSS selector library designed to be used with Beautiful Soup 4. Prior to 2.8.4, the CSS selector parser in soupsieve contains a regular expression vulnerable to catastrophic backtracking when processing an attribute selector with an unterminated quoted value in soupsieve/css_parser.py, allowing an attacker who can supply untrusted CSS selector strings to soupsieve.compile() or Beautiful Soup .select() / .select_one() to cause CPU exhaustion and denial of service. This issue is fixed in version 2.8.4.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| facelessuser | soupsieve | < 2.8.4 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | soupsieve | 2.8.4-1 | — |
| Debian 13 | soupsieve | No fix yet | — |
| Debian 12 | soupsieve | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | soupsieve | No fix yet | — |
| Ubuntu 26.04 LTS | soupsieve | No fix yet | — |
| Ubuntu 24.04 LTS | soupsieve | No fix yet | — |
| Ubuntu 22.04 LTS | soupsieve | No fix yet | — |
| Ubuntu 20.04 LTS | soupsieve | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Hardened Images 1 | python-rpds-py +1 | 2026.6.3-1.hum1 | RHSA-2026:34119 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | python-soupsieve | 1.9.5-150200.3.3.1 | SUSE-SU-2026:3239-1 |
| SLES 15 SP6 | python-soupsieve | 1.9.5-150200.3.3.1 | SUSE-SU-2026:3240-1, SUSE-SU-2026:3239-1 |
| SLES 15 SP5 | python-soupsieve | 1.9.5-150200.3.3.1 | SUSE-SU-2026:3239-1 |
| SLES 15 SP4 | python-soupsieve | 1.9.5-150200.3.3.1 | SUSE-SU-2026:3239-1 |
| SLES 3 | python-soupsieve | 2.5-150600.3.3.1 | SUSE-SU-2026:3240-1 |
Show 7 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 16.0 | python-soupsieve | 2.6-160000.4.1 | SUSE-SU-2026:22660-1 |
| SLES for SAP 15 SP6 | python-soupsieve | 1.9.5-150200.3.3.1 | SUSE-SU-2026:3240-1, SUSE-SU-2026:3239-1 |
| SLES for SAP 15 SP5 | python-soupsieve | 1.9.5-150200.3.3.1 | SUSE-SU-2026:3239-1 |
| SLES for SAP 15 SP4 | python-soupsieve | 1.9.5-150200.3.3.1 | SUSE-SU-2026:3239-1 |
| SLES 16.0 | python-soupsieve | 2.6-160000.4.1 | SUSE-SU-2026:22660-1 |
| SLE HPC 15 SP5 | python-soupsieve | 1.9.5-150200.3.3.1 | SUSE-SU-2026:3239-1 |
| SLE HPC 15 SP4 | python-soupsieve | 1.9.5-150200.3.3.1 | SUSE-SU-2026:3239-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 16.0 | python-soupsieve | 2.6-160000.4.1 | openSUSE-SU-2026:21342-1 |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | datadog-agent-7.72-core-integrations | 7.72.4-r33 | — |
| Wolfi rolling | datadog-agent-7.73-core-integrations | 7.73.3-r23 | — |
| Wolfi rolling | datadog-agent-7.77-core-integrations | 7.77.3-r22 | — |
| Wolfi rolling | datadog-agent-7.78-core-integrations | 7.78.4-r15 | — |
| Wolfi rolling | datadog-agent-7.79-core-integrations | 7.79.2-r13 | — |
| Wolfi rolling | kubeflow-pipelines-visualization-server | 2.16.1-r9 | — |
| Wolfi rolling | open-webui | 0.10.1-r3 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | soupsieve | < 2.8.4 | 2.8.4 | GHSA-836r-79rf-4m37 |
Advisories 5
- RHSA-2026:34119 Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update Red Hat Security Advisories (RHSA) · Oct 16, 2026
- SUSE-SU-2026:3239-1 Security update for python-soupsieve SUSE / openSUSE Security Updates · Jul 28, 2026
- SUSE-SU-2026:3240-1 Security update for python-soupsieve SUSE / openSUSE Security Updates · Jul 28, 2026
- SUSE-SU-2026:22660-1 Security update for python-soupsieve SUSE / openSUSE Security Updates · Jul 17, 2026
- openSUSE-SU-2026:21342-1 Security update for python-soupsieve SUSE / openSUSE Security Updates · Jul 15, 2026