{"answers":{"affected":"3 open source packages ship an affected version, including soupsieve. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-49476 exists.","fix":"Upgrade soupsieve to 2.8.4 or later.","what":"CVE-2026-49476 is a high-severity denial of service vulnerability in facelessuser soupsieve, published on 14 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-49476 and fix it if it is affected.\n\nWhat it is: CVE-2026-49476 is a high-severity denial of service vulnerability in facelessuser soupsieve, published on 14 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-49476 exists.\n\nAffected packages and fixed versions:\n- soupsieve (PyPI): affected all versions; fixed in 2.8.4\n- soupsieve (PyPI): affected all versions; fixed in 2.8.4\n- soupsieve (PyPI): affected all versions; fixed in 2.8.4\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-49476/ (Markdown: https://insights.sbomify.com/CVE-2026-49476/index.md)","id":"CVE-2026-49476","markdown":"https://insights.sbomify.com/CVE-2026-49476/index.md","name":"CVE-2026-49476","record":{"aliases":["CLEANSTART-2026-BV00323","DEBIAN-CVE-2026-49476","ECHO-c2b7-6171-92cf","GHSA-2wc2-fm75-p42x","MINI-h7x5-466j-47m5","MINI-hp7q-24qh-m8gg","MINI-jpgq-cj2c-g48x","MINI-qgx4-w4xm-h7m5","MINI-wf3r-mpxx-pgg3","MINI-x2wm-8g8q-25c9","PYSEC-2026-3071","ROOT-APP-PYPI-CVE-2026-49476","UBUNTU-CVE-2026-49476"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Python CSS selector library","requires_auth":"none","summary":"Attackers can cause denial of service by supplying crafted CSS selector strings that trigger unbounded memory allocation in the soupsieve library.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"soup_sieve","vendor":"facelessuser"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"},{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"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.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Soup Sieve: Memory Exhaustion via Large Comma-Separated Selector Lists in soupsieve","id":"CVE-2026-49476","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"denial_of_service","year":"2026"},"n_packages":3,"n_references":3,"next":{"headline":"Soup Sieve: Regular Expression Denial of Service (ReDoS) in soupsieve Selector Parser","id":"CVE-2026-49477"},"packages":[{"ecosystem":"PyPI","fixed":["2.8.4"],"introduced":["0"],"last_affected":[],"package":"soupsieve","purl":null,"source":"GHSA-2wc2-fm75-p42x"},{"ecosystem":"PyPI","fixed":["2.8.4"],"introduced":["0"],"last_affected":[],"package":"soupsieve","purl":"pkg:pypi/soupsieve","source":"GHSA-2wc2-fm75-p42x"},{"ecosystem":"PyPI","fixed":["2.8.4"],"introduced":["0"],"last_affected":[],"package":"soupsieve","purl":"pkg:pypi/soupsieve","source":"PYSEC-2026-3071"}],"prev":{"headline":"FreeSWITCH: Out-of-bounds memory access in core STUN attribute parsing","id":"CVE-2026-49475"},"products":["soupsieve"],"published":"2026-07-14","related":[{"cvss_score":7.5,"headline":"Soup Sieve: Regular Expression Denial of Service (ReDoS) in soupsieve Selector Parser","id":"CVE-2026-49477","kev_date_added":null,"published":"2026-07-14"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-07-15","vendors":["facelessuser"]},"summary":"Attackers can cause denial of service by supplying crafted CSS selector strings that trigger unbounded memory allocation in the soupsieve library.","url":"https://insights.sbomify.com/CVE-2026-49476/"}