{"id":"CVE-2026-49476","published":"2026-07-14T20:53:12Z","modified":"2026-07-15T14:27:06Z","title":"Soup Sieve: Memory Exhaustion via Large Comma-Separated Selector Lists in soupsieve","vendor":"facelessuser","product":"soupsieve","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00644,"percentile":0.51817,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"},{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"references":[{"url":"https://github.com/facelessuser/soupsieve/security/advisories/GHSA-2wc2-fm75-p42x","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/facelessuser/soupsieve/commit/28108ab805818c832d9568142a99844fd95a0d39","tags":["x_refsource_MISC"]},{"url":"https://github.com/facelessuser/soupsieve/releases/tag/2.8.4","tags":["x_refsource_MISC"]}],"priority":{"score":15.6,"factors":[{"name":"EPSS percentile","points":10.36},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"facelessuser","affectedVersions":[{"vendor":"facelessuser","product":"soupsieve","versions":["< 2.8.4"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-07-15T14:26:25.402577Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"soupsieve","vulnerableRanges":["<2.8.4"],"patched":["2.8.4"],"from":["GHSA-2wc2-fm75-p42x","PYSEC-2026-3071"],"provenance":"source"}],"summary":{"text":"The CSS selector parser in Soup Sieve, a selector library for Beautiful Soup 4, allocates unbounded memory when compiling large comma-separated selector lists. An attacker who can supply a crafted selector string to soupsieve.compile() or Beautiful Soup's .select() or .select_one() can exhaust heap memory from a relatively small input, causing denial of service, with no authentication or user interaction required over the network.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:28:13Z"},"euvd":{"id":"EUVD-2026-44539","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-facelessuser-soupsieve-cve-2026-49476","children":[{"from":"CVE-2026-49476","to":"CVE-2026-85999","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:soupsieve","fromFixed":"2.8.4","toFixed":"2.9.0","daysApart":65},{"kind":"same-code","provenance":"machine","files":["soupsieve/css_parser.py"],"commits":["https://github.com/facelessuser/soupsieve/commit/28108ab805818c832d9568142a99844fd95a0d39","https://github.com/facelessuser/soupsieve/commit/cf198fcddc9230f06ed39f974eba0ce076b85cda"],"basis":"rarely changed file"}]},{"from":"CVE-2026-49476","to":"CVE-2026-86000","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:soupsieve","fromFixed":"2.8.4","toFixed":"2.9.0","daysApart":65},{"kind":"same-code","provenance":"machine","files":["soupsieve/css_parser.py"],"commits":["https://github.com/facelessuser/soupsieve/commit/28108ab805818c832d9568142a99844fd95a0d39","https://github.com/facelessuser/soupsieve/commit/ce44e4996e6632871c18cdd7a7fb641be8ef34ef"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2026-49476","published":"2026-07-14","fixed":"2.8.4","kev":false},{"cve":"CVE-2026-49477","published":"2026-07-14","fixed":"2.8.4","kev":false},{"cve":"CVE-2026-85999","published":"2026-09-17","fixed":"2.9.0","kev":false},{"cve":"CVE-2026-86000","published":"2026-09-17","fixed":"2.9.0","kev":false}],"package":"PyPI:soupsieve"}}