High severity7.5NVD Advisory· Published Jul 14, 2026· Updated Jul 28, 2026
CVE-2026-49476
CVE-2026-49476
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
soupsievePyPI | < 2.8.4 | 2.8.4 |
Affected products
31- Package: https://pypi.org/project/soupsieve
cpe:2.3:a:facelessuser:soup_sieve:*:*:*:*:*:beautiful_soup:*:*+ 1 more
- cpe:2.3:a:facelessuser:soup_sieve:*:*:*:*:*:beautiful_soup:*:*range: <2.8.4
- (no CPE)range: <2.8.4
- osv-coords28 versionspkg:apk/chainguard/datadog-agent-7.71-core-integrationspkg:apk/chainguard/datadog-agent-7.72-core-integrationspkg:apk/chainguard/datadog-agent-7.73-core-integrationspkg:apk/chainguard/datadog-agent-7.74-core-integrationspkg:apk/chainguard/datadog-agent-7.76-core-integrationspkg:apk/chainguard/datadog-agent-7.77-core-integrationspkg:apk/chainguard/datadog-agent-7.78-core-integrationspkg:apk/chainguard/datadog-agent-7.79-core-integrationspkg:apk/chainguard/datadog-agent-fips-7.71-core-integrationspkg:apk/chainguard/datadog-agent-fips-7.72-core-integrationspkg:apk/chainguard/datadog-agent-fips-7.73-core-integrationspkg:apk/chainguard/datadog-agent-fips-7.74-core-integrationspkg:apk/chainguard/datadog-agent-fips-7.76-core-integrationspkg:apk/chainguard/datadog-agent-fips-7.77-core-integrationspkg:apk/chainguard/datadog-agent-fips-7.78-core-integrationspkg:apk/chainguard/datadog-agent-fips-7.79-core-integrationspkg:apk/chainguard/kubeflow-pipelines-visualization-serverpkg:apk/chainguard/open-webuipkg:apk/wolfi/datadog-agent-7.72-core-integrationspkg:apk/wolfi/datadog-agent-7.73-core-integrationspkg:apk/wolfi/datadog-agent-7.74-core-integrationspkg:apk/wolfi/datadog-agent-7.76-core-integrationspkg:apk/wolfi/datadog-agent-7.77-core-integrationspkg:apk/wolfi/datadog-agent-7.78-core-integrationspkg:apk/wolfi/datadog-agent-7.79-core-integrationspkg:apk/wolfi/kubeflow-pipelines-visualization-serverpkg:apk/wolfi/open-webuipkg:rpm/opensuse/python-soupsieve&distro=openSUSE%20Leap%2016.0
< 7.71.2-r31+ 27 more
- (no CPE)range: < 7.71.2-r31
- (no CPE)range: < 7.72.4-r33
- (no CPE)range: < 7.73.3-r23
- (no CPE)range: < 7.74.1-r23
- (no CPE)range: < 7.76.3-r30
- (no CPE)range: < 7.77.3-r22
- (no CPE)range: < 7.78.4-r15
- (no CPE)range: < 7.79.2-r13
- (no CPE)range: < 7.71.2-r24
- (no CPE)range: < 7.72.4-r27
- (no CPE)range: < 7.73.3-r25
- (no CPE)range: < 7.74.1-r25
- (no CPE)range: < 7.76.3-r30
- (no CPE)range: < 7.77.3-r26
- (no CPE)range: < 7.78.4-r12
- (no CPE)range: < 7.79.2-r6
- (no CPE)range: < 2.16.1-r9
- (no CPE)range: < 0.10.1-r3
- (no CPE)range: < 7.72.4-r33
- (no CPE)range: < 7.73.3-r23
- (no CPE)range: < 7.74.1-r23
- (no CPE)range: < 7.76.3-r30
- (no CPE)range: < 7.77.3-r22
- (no CPE)range: < 7.78.4-r15
- (no CPE)range: < 7.79.2-r13
- (no CPE)range: < 2.16.1-r9
- (no CPE)range: < 0.10.1-r3
- (no CPE)range: < 2.6-160000.4.1
Patches
Vulnerability mechanics
References
4- github.com/facelessuser/soupsieve/commit/28108ab805818c832d9568142a99844fd95a0d39nvdPatch
- github.com/facelessuser/soupsieve/security/advisories/GHSA-2wc2-fm75-p42xnvdExploitVendor AdvisoryWEB
- github.com/advisories/GHSA-2wc2-fm75-p42xghsaADVISORY
- github.com/facelessuser/soupsieve/releases/tag/2.8.4nvdRelease Notes
News mentions
0No linked articles in our index yet.