CVE-2026-49476 json
Soup Sieve: Memory Exhaustion via Large Comma-Separated Selector Lists in soupsieve
published 2026-07-09 4 mo ago modified 2026-10-24 15 d ago also GHSA-2wc2-fm75-p42x , PYSEC-2026-3071 , EUVD-2026-44539
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 51%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi soupsieve 2.8.4
- facelessuser soup_sieve 2.8.4
- soupsieve Debian 14 2.8.4-1
debian advisories DEBIAN-CVE-2026-49476
- python-rpds-py hummingbird 1 2026.6.3-1.hum1
- python3-rpds-py hummingbird 1 2026.6.3-1.hum1
red hat advisories RHSA-2026:34119
- python-soupsieve SLES for SAP 15 SP6, SLES 15 SP6-LTSS, SLE Module for Python 3 15 SP7 2.5-150600.3.3.1
- python-soupsieve SLES for SAP 15 SP6, SLES for SAP 15 SP5, SLES for SAP 15 SP4 +8 more 1.9.5-150200.3.3.1
- python-soupsieve SLES for SAP applications 16.0, SLES 16.0 2.6-160000.4.1
suse advisories SUSE-SU-2026:3240-1SUSE-SU-2026:3239-1SUSE-SU-2026:22660-1
- python-soupsieve openSUSE Leap 16.0 2.6-160000.4.1
opensuse advisories openSUSE-SU-2026:21342-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-49476 updated cvss 5.9
python-soupsieve: Soupsieve: Denial of Service via crafted CSS selector string
-
Red Hat Exploit Intelligence exploit-intelligence-tech-preview/vulnerability-analysis-rhel9 Red Hat Lightspeed Core lightspeed-core/rag-tool-cpu-rhel9, lightspeed-core/rag-tool-cuda-12.9-rhel9 Red Hat Migration Toolkit for Applications 8 mta/mta-solution-server-rhel9 Red Hat OpenShift Lightspeed openshift-lightspeed/lightspeed-ocp-rag-rhel9, openshift-lightspeed-tech-preview/lightspeed-rag-tool-rhel9 Red Hat Ansible Automation Platform 2 ansible-automation-platform-25/lightspeed-chatbot-rhel8affected: workaround, no fix available “Fix deferred”
-
Red Hat OpenShift AI (RHOAI) rhoai/odh-workbench-jupyter-pytorch-llmcompressor-cuda-py312-rhel9affected: workaround, no fix available
-
Red Hat OpenShift Container Platform 4 openshift4/ose-olm-catalogd-rhel9, python-soupsieve 2.1.0-3.el9ocp.2 Red Hat OpenShift Virtualization 4 container-native-virtualization/ocp-virt-validation-checkup-rhel9 Red Hat OpenStack Platform 17.1 python3-soupsieve Red Hat Quay 3 quay/quay-rhel8, quay/quay-rhel9 Red Hat Satellite 6 python-soupsieve 2.1.0-3.el9ocp.2affected: workaround, no fix available “Fix deferred”
-
Red Hat Hardened Images python-rpds-py 2026.6.3-1.hum1, python3-rpds-py 2026.6.3-1.hum1fixed: vendor fix RHSA-2026:34119
-
Red Hat OpenShift AI 3.4 rhoai/odh-th06-cpu-torch210-py312-rhel9 1787076778, rhoai/odh-th06-rocm64-torch291-py312-rhel9 1787076481, rhoai/odh-th06-cuda130-torch210-py312-rhel9 1787077779, rhoai/odh-pipeline-runtime-minimal-cpu-py312-rhel9 1787073936, rhoai/odh-pipeline-runtime-pytorch-cuda-py312-rhel9 1787073873, rhoai/odh-pipeline-runtime-pytorch-rocm-py312-rhel9 1787073611, +13 morefixed: vendor fix RHSA-2026:60520
-
Red Hat Hardened Images python-attrs 26.1.0-3.hum1, python-urllib3 2.7.0-3.hum1not affected: component not present
-
Red Hat OpenShift AI (RHOAI) rhoai/odh-automl-rhel9, rhoai/odh-autorag-rhel9, rhoai/odh-th06-cpu-torch291-py312-rhel9, rhoai/odh-th06-cuda130-torch291-py312-rhel9, rhoai/odh-trustyai-nemo-guardrails-server-rhel9not affected: vulnerable code not in execute path
-
Red Hat OpenShift AI 3.4 rhoai/odh-cli-rhel9 1787330837, rhoai/rhai-cli-rhel9 1787330837, rhoai/odh-automl-rhel9 1786612415, rhoai/odh-mlflow-rhel9 1787226790, rhoai/odh-autorag-rhel9 1786612637, rhoai/odh-trainer-rhel9 1787089049, +81 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 3 mo ago
Exploit prediction
0.64% chance of exploitation in the next 30 days, higher than 51% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/facelessuser/soupsieve/security/advisories/GHSA-2wc2-fm75-p42x referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | soupsieve | <2.8.4 |
2.8.4 |
Affected products
- facelessuser soupsieve
Classification
References
-
github.com
/facelessuser/soupsieve/commit/28108ab805818c832d9568142a99844fd95a0d39
patch
-
github.com
/facelessuser/soupsieve/security/advisories/GHSA-2wc2-fm75-p42x
exploit, web, vendor-advisory
-
github.com
/facelessuser/soupsieve/releases/tag/2.8.4
release-notes
-
github.com
/facelessuser/soupsieve
package
-
pypi.org
/project/soupsieve
package
-
github.com
/advisories/GHSA-2wc2-fm75-p42x
advisory
-
nvd.nist.gov
/vuln/detail/CVE-2026-49476
advisory
Sources
- CVE List CVE-2026-49476
- GitHub Advisory GHSA-2wc2-fm75-p42x
- NVD CVE-2026-49476
- OSV PYSEC-2026-3071
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.