- Accueil
- Vulnérabilités
- CVE-2026-106443
CVE-2026-106443
WeasyPrint: EPS images reach the Ghostscript interpreter resulting in RCE
Résumé
WeasyPrint helps web developers to create PDF documents. Prior to 70.0, the image-loading path in weasyprint/images.py passes fetched image bytes from HTML img URLs, CSS image values, SVG image references, and data URIs to Pillow's generic image dispatcher without excluding EPS or PostScript formats. On hosts with Ghostscript installed, Pillow EpsImagePlugin invokes the interpreter for attacker-controlled PostScript, which can produce interpreter-permitted effects and can lead to remote code execution when the installed Ghostscript version has a usable sandbox bypass. Hosts without Ghostscript do not reach this rasterization path. This issue is fixed in version 70.0.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
Kozea (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| Weasyprint | Versions non précisées | — | CNA (éditeur ou attributeur) |
Pypi (2 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| weasyprint | avant 70.0 (exclu) |
70.0 |
OSV |
| weasyprint | avant 70.0 (exclu) |
70.0 |
GitHub Advisory |
Correctif
Mise à jour — PyPI/weasyprint 70.0source officielle
Source : OSV
Mise à jour — PyPI/weasyprint 70.0source officielle
Source : GitHub Advisory
Contournement
Aucun contournement renseigné.
Savoir si vous êtes touché
Aucune méthode de vérification renseignée.
Chronologie
- — Publication de la CVE (cve)
Avis CERT-FR
- PYSEC-2026-4311 — WeasyPrint: EPS images reach the Ghostscript interpreter resulting in RCE 15 oct. 2026
- GHSA-r543-q48m-4c9j — WeasyPrint: EPS images reach the Ghostscript interpreter resulting in RCE 7 oct. 2026
Références
- https://github.com/Kozea/WeasyPrint/commit/39cd37ce1610bd890388e26591c569db1cbab542x_refsource_MISC
- https://github.com/Kozea/WeasyPrint/releases/tag/v70.0x_refsource_MISC
- https://github.com/Kozea/WeasyPrint/security/advisories/GHSA-r543-q48m-4c9jx_refsource_CONFIRM
- https://nvd.nist.gov/vuln/detail/CVE-2026-106443ADVISORY
- https://github.com/Kozea/WeasyPrintPACKAGE
- https://pypi.org/project/weasyprintPACKAGE
- https://github.com/advisories/GHSA-r543-q48m-4c9jADVISORY
Provenance des données
- Statut
- NVD
- Date de publication
- NVD
- Description
- CNA (éditeur ou attributeur)
- Score CVSS
- CNA (éditeur ou attributeur)
- Faiblesse (CWE)
- CNA (éditeur ou attributeur)
- Vecteur CVSS
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H(CVSS 3.1, CNA:GitHub_M)- Faiblesse
- CWE-20 · Validation d'entrée (générique)