High severity · published Oct 6, 2026
CVE-2026-106443
WeasyPrint: EPS images reach the Ghostscript interpreter resulting in RCE
8.8
CVSS
0.7%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.7% · higher than 53% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
WE
WeasyPrint · Kozea
< 70.0 · source: vendor
Affected product
WE
WeasyPrint
Kozea
More from WeasyPrint
7.5
CVE-2025-68616
WeasyPrint Vulnerable to Server-Side Request Forgery (SSRF) Protection Bypass via HTTP Redirect
7.4
CVE-2024-28184
WeasyPrint helps web developers to create PDF documents
6.5
CVE-2026-49452
WeasyPrint: CSS Injection via Presentational Hints
6.2
CVE-2026-55073
WeasyPrint restrictive URL fetcher bypass allows local file read and SSRF