{
  "threat_severity" : "Important",
  "public_date" : "2026-03-13T19:38:43Z",
  "bugzilla" : {
    "description" : "CairoSVG: CairoSVG: Denial of Service via recursive <use> element amplification",
    "id" : "2447447",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2447447"
  },
  "cvss3" : {
    "cvss3_base_score" : "7.5",
    "cvss3_scoring_vector" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
    "status" : "draft"
  },
  "cwe" : "CWE-776",
  "details" : [ "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.", "A flaw was found in CairoSVG, an SVG converter. A remote attacker could exploit this vulnerability by submitting a specially crafted SVG file that contains recursive `<use>` elements. This can lead to an exponential increase in processing time and CPU exhaustion, resulting in a Denial of Service (DoS) for the system." ],
  "statement" : "This is an IMPORTANT denial of service vulnerability in CairoSVG, affecting systems that process untrusted SVG input. The flaw allows an attacker to trigger exponential CPU exhaustion through recursive `<use>` element amplification. Red Hat products that include `python-cairosvg` and process untrusted SVG content are affected.",
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2026-31899\nhttps://nvd.nist.gov/vuln/detail/CVE-2026-31899\nhttps://github.com/Kozea/CairoSVG/commit/6dde8685ed3f19837767bce7a13a5491e3d0e0bf\nhttps://github.com/Kozea/CairoSVG/security/advisories/GHSA-f38f-5xpm-9r7c" ],
  "name" : "CVE-2026-31899",
  "mitigation" : {
    "value" : "To mitigate this issue, avoid processing untrusted SVG files with CairoSVG. If processing untrusted SVG content is unavoidable, consider isolating the CairoSVG processing within a sandboxed environment to limit potential resource exhaustion.",
    "lang" : "en:us"
  },
  "csaw" : false
}