Skip to content
OpenAdvisories

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 allocates unbounded memory when compiling large comma-separated selector lists, allowing an attacker who can supply a crafted selector string to soupsieve.compile() or Beautiful Soup .select() / .select_one() to allocate hundreds of megabytes of heap memory from a relatively small input and cause denial of service. This issue is fixed in version 2.8.4.

Affected products

VendorProductAffectedFixed
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.

ReleasePackageFixed inAdvisory
Debian 14 soupsieve 2.8.4-1 —
Debian 13 soupsieve No fix yet —
Debian 12 soupsieve No fix yet —
ReleasePackageFixed inAdvisory
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 —
ReleasePackageFixed inAdvisory
Red Hat Hardened Images 1 python-rpds-py +1 2026.6.3-1.hum1 RHSA-2026:34119
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 python-soupsieve 2.6-160000.4.1 openSUSE-SU-2026:21342-1

Wolfi

ReleasePackageFixed inAdvisory
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

EcosystemPackageAffectedFixedRecord
PyPI soupsieve < 2.8.4 2.8.4 GHSA-2wc2-fm75-p42x

Advisories 5

References