PT-2026-25365

CVE-2026-31899

·

Publicado

2026-01-01

·

Atualizado

2026-10-20

Descrição por

CVSS 2.0
7.8
Alta
MétricasAV:N/AC:L/Au:N/C:N/I:N/A:C
Name of the Vulnerable Software and Affected Versions CairoSVG versions prior to 2.9.0
Description CairoSVG is an SVG converter based on Cairo, a 2D graphics library. A denial of service can occur due to recursive <use> element amplification within the cairosvg/defs.py file, specifically in the use() function. This amplification leads to CPU exhaustion even from a small input file. A 1,411-byte SVG payload can pin the CPU at 100% indefinitely. The issue arises from the recursive processing of <use> elements without depth or count limits. The amplification factor is O(10^N) rendering calls from O(N) input.
Recommendations Update CairoSVG to version 2.9.0 or later. As a temporary workaround, consider limiting the recursion depth within the use() function to prevent excessive CPU usage.
Explorabilidade
Exploit
Correção
Impactos
Pesquisadores
Fornecedores
Produtos afetados
Identificadores relacionados
GHSA-F38F-5XPM-9R7C
OPENSUSE-SU-2026:10379-1
OPENSUSE-SU-2026:11729-1
OPENSUSE-SU-2026:20886-1
PYSEC-2026-2122
SUSE-SU-2026:1421-1
SUSE-SU-2026:22024-1
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾