CVE Explorer
CVE-2026-31899
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"CairoSVG","vendor":"Kozea","versions":[{"status":"affected","version":"< 2.9.0"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:1b7a829547160e6d29cdfbc89b69ca5021cf815b35f67967e9c60d3aded7b8d3 · sha256:308d2d976d2d9c04… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:1b7a829547160e6d29cdfbc89b69ca5021cf815b35f67967e9c60d3aded7b8d3 · sha256:308d2d976d2d9c04… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-674","description":"CWE-674: Uncontrolled Recursion","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:1b7a829547160e6d29cdfbc89b69ca5021cf815b35f67967e9c60d3aded7b8d3 · sha256:308d2d976d2d9c04… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"name":"https://github.com/Kozea/CairoSVG/commit/6dde8685ed3f19837767bce7a13a5491e3d0e0bf","tags":["x_refsource_MISC"],"url":"https://github.com/Kozea/CairoSVG/commit/6dde8685ed3f19837767bce7a13a5491e3d0e0bf"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:1b7a829547160e6d29cdfbc89b69ca5021cf815b35f67967e9c60d3aded7b8d3 · sha256:308d2d976d2d9c04… · /containers/cna/references/1
{"name":"https://github.com/Kozea/CairoSVG/security/advisories/GHSA-f38f-5xpm-9r7c","tags":["x_refsource_CONFIRM"],"url":"https://github.com/Kozea/CairoSVG/security/advisories/GHSA-f38f-5xpm-9r7c"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:1b7a829547160e6d29cdfbc89b69ca5021cf815b35f67967e9c60d3aded7b8d3 · sha256:308d2d976d2d9c04… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.