{"cve":"CVE-2026-49476","nvd":{"published":"2026-07-14T21:17:01.877","modified":"2026-10-24T21:10:00.130","status":"Analyzed","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-400","CWE-770"],"references":["https://github.com/facelessuser/soupsieve/commit/28108ab805818c832d9568142a99844fd95a0d39","https://github.com/facelessuser/soupsieve/releases/tag/2.8.4","https://github.com/facelessuser/soupsieve/security/advisories/GHSA-2wc2-fm75-p42x","https://github.com/facelessuser/soupsieve/security/advisories/GHSA-2wc2-fm75-p42x"],"products":["facelessuser:soup_sieve"],"source":"nvd","synced_at":"2026-10-25T17:50:06.907763985+00:00"},"epss":{"cve":"CVE-2026-49476","score":0.00644,"percentile":0.50571,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-2wc2-fm75-p42x","url":"https://osv.dev/vulnerability/GHSA-2wc2-fm75-p42x","summary":"Soup Sieve has Memory Exhaustion via Large Comma-Separated Selector Lists","modified":"2026-09-10T03:50:51.299551127Z","packages":[{"ecosystem":"PyPI","name":"soupsieve","purl":"pkg:pypi/soupsieve","ranges":["<2.8.4"],"fixed":["2.8.4"]}]},{"id":"PYSEC-2026-3071","url":"https://osv.dev/vulnerability/PYSEC-2026-3071","summary":"Soup Sieve has Memory Exhaustion via Large Comma-Separated Selector Lists","modified":"2026-07-13T16:31:33.701425500Z","packages":[{"ecosystem":"PyPI","name":"soupsieve","purl":"pkg:pypi/soupsieve","ranges":["<2.8.4"],"fixed":["2.8.4"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}