- Accueil
- Vulnérabilités
- CVE-2026-132275
CVE-2026-132275
svglib: Exponential resource consumption via nested <use> references in svg2rlg
Résumé
svglib reads SVG files and converts them to other formats. Prior to 2.3.1, the svg2rlg() renderer recursively expands nested SVG <use> references by deep-copying each referenced subtree; SvgRenderer.renderUse() in src/svglib/svglib.py calls xlink_href_target(), which rejects direct cycles but permits acyclic reference graphs with repeated fan-out. A small attacker-controlled SVG can therefore trigger exponentially increasing node expansion, consuming excessive CPU and memory in any application that renders it without a non-default option; HTML-to-PDF workflows using xhtml2pdf can reach the same renderer when an embedded data:image/svg+xml image in an HTML img element is passed to pisa.CreatePDF(). This issue is fixed in 2.3.1.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
deeplook (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| svglib | Versions non précisées | — | CNA (éditeur ou attributeur) |
Pypi (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| svglib | avant 2.3.1 (exclu) |
2.3.1 |
GitHub Advisory |
Correctif
Mise à jour — PyPI/svglib 2.3.1source officielle
Source : GitHub Advisory
Contournement
Aucun contournement renseigné.
Savoir si vous êtes touché
Exploit signalé par les sources
Ces liens sont étiquetés « exploit » par le NVD ou par CVE.org. Nous ne les avons pas vérifiés ni copiés ; ouvrez-les avec prudence.
Chronologie
- — Publication de la CVE (cve)
Avis CERT-FR
- GHSA-555j-qj3j-c8jv — svglib: Exponential resource consumption via nested <use> references in svg2rlg 20 nov. 2026
Références
- https://github.com/deeplook/svglib/security/advisories/GHSA-555j-qj3j-c8jvexploit
- https://github.com/deeplook/svglib/commit/7380d3c3836940fd75f8e203fff80077b7d5a425x_refsource_MISC
- https://github.com/deeplook/svglib/releases/tag/v2.3.1x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2026-132275ADVISORY
- https://github.com/deeplook/svglibPACKAGE
Provenance des données
- Statut
- NVD
- Date de publication
- NVD
- Description
- CNA (éditeur ou attributeur)
- Score CVSS
- CNA (éditeur ou attributeur)
- Faiblesse (CWE)
- NVD
- Vecteur CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H(CVSS 3.1, CNA:GitHub_M)- Faiblesse
- CWE-400 · Autre (CWE-400)