CVE-2026-106443

published 6 Oct 2026 · updated 6 Oct 2026

WeasyPrint: EPS images reach the Ghostscript interpreter resulting in RCE

8.8HighCVSS 8.8EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Kozea<70.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-106443 severity on Zeptric[![CVE-2026-106443](https://zeptric.io/badge/cve/CVE-2026-106443.svg)](https://zeptric.io/cve/CVE-2026-106443)