Vulnerability · Published Jul 14, 2026 · Assigned by GitHub_M

CVE-2026-49476Soup Sieve: Memory Exhaustion via Large Comma-Separated Selector Lists in soupsieve

High 7.5

In plain English

A high-severity uncontrolled resource consumption in soupsieve from facelessuser. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 51% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.6%top 48.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12soupsieveno fix listedDEBIAN-CVE-2026-49476
Debian:13soupsieveno fix listedDEBIAN-CVE-2026-49476
Debian:14soupsieve2.8.4-1DEBIAN-CVE-2026-49476
PyPIsoupsieve2.8.4GHSA-2wc2-fm75-p42x
PyPIsoupsieve2.8.4PYSEC-2026-3071
Ubuntu:22.04:LTSsoupsieveno fix listedUBUNTU-CVE-2026-49476
Ubuntu:24.04:LTSsoupsieveno fix listedUBUNTU-CVE-2026-49476
Ubuntu:26.04:LTSsoupsieveno fix listedUBUNTU-CVE-2026-49476
Ubuntu:26.10soupsieveno fix listedUBUNTU-CVE-2026-49476

Affected products (as reported)

VendorProductVersions
facelessuser soupsieve < 2.8.4

Weakness: CWE-400, CWE-770 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References