{"answers":{"affected":"6 open source packages ship an affected version, including svgo. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-29074 in the wild and no public exploit code.","fix":"Upgrade svgo to a fixed version for your release line: 2.8.1, 3.3.3 or 4.0.1.","what":"CVE-2026-29074 is a high-severity denial of service vulnerability in svgo, published on 6 Mar 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-29074 and fix it if it is affected.\n\nWhat it is: CVE-2026-29074 is a high-severity denial of service vulnerability in svgo, published on 6 Mar 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-29074 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- svgo (npm): affected from 2.1.0; fixed in 2.8.1\n- svgo (npm): affected from 2.1.0; fixed in 2.8.1\n- svgo (npm): affected from 3.0.0; fixed in 3.3.3\n- svgo (npm): affected from 3.0.0; fixed in 3.3.3\n- svgo (npm): affected from 4.0.0; fixed in 4.0.1\n- svgo (npm): affected from 4.0.0; fixed in 4.0.1\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-29074/ (Markdown: https://insights.sbomify.com/CVE-2026-29074/index.md)","id":"CVE-2026-29074","markdown":"https://insights.sbomify.com/CVE-2026-29074/index.md","name":"CVE-2026-29074","record":{"aliases":["CLSA-2026-1779324470","DEBIAN-CVE-2026-29074","GHSA-xpqw-6gx7-v673","ROOT-APP-NPM-CVE-2026-29074"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"SVG optimization library","requires_auth":"none","summary":"Attackers can cause denial of service in SVGO by submitting malicious SVG files with entity expansion, leading to application crashes.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"svgo","vendor":"svgo"}],"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-776","name":"Improper Restriction of Recursive Entity References in DTDs"}],"description":"SVGO, short for SVG Optimizer, is a Node.js library and command-line application for optimizing SVG files. From version 2.1.0 to before version 2.8.1, from version 3.0.0 to before version 3.3.3, and before version 4.0.1, SVGO accepts XML with custom entities, without guards against entity expansion or recursion. This can result in a small XML file (811 bytes) stalling the application and even crashing the Node.js process with JavaScript heap out of memory. This issue has been patched in versions 2.8.1, 3.3.3, and 4.0.1.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"SVGO: DoS through entity expansion in DOCTYPE (Billion Laughs)","id":"CVE-2026-29074","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"denial_of_service","year":"2026"},"n_packages":6,"n_references":1,"next":{"headline":"Mesa: Checking out of untrusted code in `benchmarks.yml` workflow may lead to code execution in privileged runner","id":"CVE-2026-29075"},"packages":[{"ecosystem":"npm","fixed":["2.8.1"],"introduced":["2.1.0"],"last_affected":[],"package":"svgo","purl":null,"source":"GHSA-xpqw-6gx7-v673"},{"ecosystem":"npm","fixed":["2.8.1"],"introduced":["2.1.0"],"last_affected":[],"package":"svgo","purl":"pkg:npm/svgo","source":"GHSA-xpqw-6gx7-v673"},{"ecosystem":"npm","fixed":["3.3.3"],"introduced":["3.0.0"],"last_affected":[],"package":"svgo","purl":null,"source":"GHSA-xpqw-6gx7-v673"},{"ecosystem":"npm","fixed":["3.3.3"],"introduced":["3.0.0"],"last_affected":[],"package":"svgo","purl":"pkg:npm/svgo","source":"GHSA-xpqw-6gx7-v673"},{"ecosystem":"npm","fixed":["4.0.1"],"introduced":["4.0.0"],"last_affected":[],"package":"svgo","purl":null,"source":"GHSA-xpqw-6gx7-v673"},{"ecosystem":"npm","fixed":["4.0.1"],"introduced":["4.0.0"],"last_affected":[],"package":"svgo","purl":"pkg:npm/svgo","source":"GHSA-xpqw-6gx7-v673"}],"prev":{"headline":"SiYuan: Direct SQL Query API accessible to Reader-level users enables unauthorized database access","id":"CVE-2026-29073"},"products":["svgo"],"published":"2026-03-06","related":[],"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":"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":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-09-10","vendors":["svg"]},"summary":"Attackers can cause denial of service in SVGO by submitting malicious SVG files with entity expansion, leading to application crashes.","url":"https://insights.sbomify.com/CVE-2026-29074/"}