Soup Sieve: Memory Exhaustion via Large Comma-Separated Selector Lists in soupsieve
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Partial Red Hat: 2 fixed, 11 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-400.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| facelessuser | soupsieve | before 2.8.4 | 2.8.4 | Patch available | CNA |
| — | soupsieve (PyPI) | before 2.8.4 | 2.8.4 | Patch available | GHSA-2wc2-fm75-p42x |
- soupsieve Vendorfacelessuser Affected before 2.8.4 Fixed in 2.8.4 Patch available CNA
- soupsieve (PyPI) Vendor— Affected before 2.8.4 Fixed in 2.8.4 Patch available GHSA-2wc2-fm75-p42x
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:facelessuser:soup_sieve:*:*:*:*:*:beautiful_soup:*:* | before 2.8.4 | Vulnerable | facelessuser |
- cpe:2.3:a:facelessuser:soup_sieve:*:*:*:*:*:beautiful_soup:*:* Versions before 2.8.4 Vulnerable ·facelessuser
Remediation
- Fix · CNA soupsieve (facelessuser) Fixed in 2.8.4
- Fix · GHSA-2wc2-fm75-p42x soupsieve (PyPI) Fixed in 2.8.4 Advisory →
Red Hat 2 advisories
- RHSA-2026:60520 Released 2026-08-27 · Red Hat rating CriticalRHOAI 3.4.4 - Red Hat OpenShift AI
- Red Hat OpenShift AI 3.4 registry.redhat.io/rhoai/odh-automl-rhel9, registry.redhat.io/rhoai/odh-autorag-rhel9, registry.redhat.io/rhoai/odh-built-in-detector-rhel9 +47
- RHSA-2026:34119 Released 2026-07-01 · Red Hat rating ImportantRed Hat Hardened Images RPMs bug fix and enhancement update
- Red Hat Hardened Images python-rpds-py-2026.6.3-1.hum1@src, python3-rpds-py-2026.6.3-1.hum1@aarch64, python3-rpds-py-2026.6.3-1.hum1@x86_64
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Exploit Intelligence | Affected | No fix yet: Fix deferred |
| Lightspeed Core | Affected | No fix yet: Fix deferred |
| Migration Toolkit for Applications 8 | Affected | No fix yet: Fix deferred |
| OpenShift Lightspeed | Affected | No fix yet: Fix deferred |
| Red Hat Ansible Automation Platform 2 | Affected | No fix yet: Fix deferred |
| Red Hat OpenShift AI (RHOAI) | Affected | No fix yet |
| Red Hat OpenShift Container Platform 4 | Affected | No fix yet: Fix deferred |
| Red Hat OpenShift Virtualization 4 | Affected | No fix yet: Fix deferred |
| Red Hat OpenStack Platform 17.1 | Affected | No fix yet: Fix deferred |
| Red Hat Quay 3 | Affected | No fix yet: Fix deferred |
| Red Hat Satellite 6 | Affected | No fix yet: Fix deferred |
| Red Hat Hardened Images | Fixed | RHSA-2026:34119 |
| Red Hat OpenShift AI 3.4 | Fixed | RHSA-2026:60520 |
Not affected: 3 products
- Red Hat Hardened Images
- Red Hat OpenShift AI (RHOAI)
- Red Hat OpenShift AI 3.4
Timeline
- 2026-10-02 Threatist record created from CVE-2026-49476
- 2026-10-03 Alias added: GHSA-2wc2-fm75-p42x
- 2026-10-21 EPSS moved to the 50th–90th percentile
References
More facelessuser Soup Sieve vulnerabilities
- TI-2026-36631 Soup Sieve: Regular Expression Denial of Service (ReDoS) in soupsieve Selector Parser CVSS 3.1HIGH 7.5
Sources
- CVE-2026-49476 · CVE Program
- CVE-2026-49476 · NVD
- FIRST EPSS
- GHSA-2wc2-fm75-p42x · GitHub Advisory Database · CC BY 4.0
- CVE-2026-49476 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences