# CVE-2026-106443: WeasyPrint: EPS images reach the Ghostscript interpreter resulting in RCE

- Priority: **Routine**
- Reason: Not severe (CVSS 8.8, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-10-06 · Modified: 2026-10-06
- Aliases: GHSA-r543-q48m-4c9j, UBUNTU-CVE-2026-106443, DEBIAN-CVE-2026-106443, PYSEC-2026-4311
- Record: https://cvemate.com/vulnerability/CVE-2026-106443 · JSON: https://cvemate.com/vulnerability/CVE-2026-106443/json

## Description

```text
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.
```

## Signals

- CVSS: 8.8 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.915%, percentile 61.356%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian weasyprint (Debian): All versions (No fix recorded) \| \< 70.0-1
- ubuntu weasyprint (Ubuntu): All versions (No fix recorded)
- kozea weasyprint: \< 70.0
- PyPI weasyprint (PyPI): \< 70.0

## References

- <https://github.com/Kozea/WeasyPrint/security/advisories/GHSA-r543-q48m-4c9j>
- <https://github.com/Kozea/WeasyPrint/commit/39cd37ce1610bd890388e26591c569db1cbab542>
- <https://github.com/Kozea/WeasyPrint/releases/tag/v70.0>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-106443>
- <https://github.com/Kozea/WeasyPrint>
- <https://ubuntu.com/security/CVE-2026-106443>
- <https://www.cve.org/CVERecord?id=CVE-2026-106443>
- <https://security-tracker.debian.org/tracker/CVE-2026-106443>
- <https://pypi.org/project/weasyprint>
- <https://github.com/advisories/GHSA-r543-q48m-4c9j>

---

Data as of 2026-12-05T09:45:27.988Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
