{"cve":"CVE-2026-31899","nvd":{"published":"2026-03-13T19:54:38.190","modified":"2026-06-17T10:34:43.337","status":"Analyzed","description":"CairoSVG is an SVG converter based on Cairo, a 2D graphics library. Prior to Kozea/CairoSVG has exponential denial of service via recursive <use> element amplification in cairosvg/defs.py. This causes CPU exhaustion from a small input.","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-674"],"references":["https://github.com/Kozea/CairoSVG/commit/6dde8685ed3f19837767bce7a13a5491e3d0e0bf","https://github.com/Kozea/CairoSVG/security/advisories/GHSA-f38f-5xpm-9r7c"],"products":["courtbouillon:cairosvg"],"source":"nvd","synced_at":"2026-10-19T22:25:53.701907451+00:00"},"epss":{"cve":"CVE-2026-31899","score":0.0052,"percentile":0.44213,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-f38f-5xpm-9r7c","url":"https://osv.dev/vulnerability/GHSA-f38f-5xpm-9r7c","summary":"CairoSVG vulnerable to Exponential DoS via recursive <use> element amplification","modified":"2026-07-13T07:26:50.032778438Z","packages":[{"ecosystem":"PyPI","name":"cairosvg","purl":"pkg:pypi/cairosvg","ranges":["<2.9.0"],"fixed":["2.9.0"]}]},{"id":"PYSEC-2026-2122","url":"https://osv.dev/vulnerability/PYSEC-2026-2122","summary":"","modified":"2026-07-13T07:15:15.810384298Z","packages":[{"ecosystem":"PyPI","name":"cairosvg","purl":"pkg:pypi/cairosvg","ranges":["<2.9.0"],"fixed":["2.9.0"]}]}],"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."]}