Source: weasyprint Version: 69.0-2 X-Debbugs-CC: [email protected] Severity: grave Tags: security upstream
Hi, The following vulnerability was published for weasyprint. CVE-2026-106443[0]: | 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. If you fix the vulnerability please also make sure to include the CVE (Common Vulnerabilities & Exposures) id in your changelog entry. For further information see: [0] https://security-tracker.debian.org/tracker/CVE-2026-106443 https://www.cve.org/CVERecord?id=CVE-2026-106443 [1] https://github.com/Kozea/WeasyPrint/security/advisories/GHSA-r543-q48m-4c9j [2] https://github.com/Kozea/WeasyPrint/commit/39cd37ce1610bd890388e26591c569db1cbab542 Please adjust the affected versions in the BTS as needed. Regards, Salvatore

