CVE-2026-106443 WeasyPrint: EPS images reach the Ghostscript interpreter resulting in RCE
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- UbuntuDebianRed Hat
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.
Upgrade path
9 packages: 2 fixed, 6 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/weasyprint(Debian 12) | = 57.2-1; = 59.0-1; = 60.2-1; = 61.0-1 +12 more | No fix listed | No fix yet |
| debian/weasyprint(Debian 13) | = 62.3-1; = 67.0-1; = 69.0-1; = 69.0-2 +2 more | No fix listed | No fix yet |
| ubuntu/weasyprint(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/weasyprint(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/weasyprint(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/weasyprint(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| debian/weasyprint(Debian 14) | < 70.0-1; = 62.3-1; = 67.0-1; = 69.0-1 +1 more | 70.0-1 | Fixed |
| pypi weasyprint(PyPI) | < 70.0; <= 69.0; = 0.1; = 0.2 +117 more | 70.0 | Fixed |
| Kozea WeasyPrint | = < 70.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Kozea WeasyPrint | = < 70.0 | No fix listed |
| pypi weasyprint(PyPI) | < 70.0 | 70.0 |
| pypi weasyprint(PyPI) | = 0.1 | No fix listed |
| pypi weasyprint(PyPI) | = 0.10 | No fix listed |
| pypi weasyprint(PyPI) | = 0.11 | No fix listed |
| pypi weasyprint(PyPI) | = 0.12 | No fix listed |
| pypi weasyprint(PyPI) | = 0.13 | No fix listed |
| pypi weasyprint(PyPI) | = 0.14 | No fix listed |
| pypi weasyprint(PyPI) | = 0.15 | No fix listed |
| pypi weasyprint(PyPI) | = 0.16 | No fix listed |
| pypi weasyprint(PyPI) | = 0.17 | No fix listed |
| pypi weasyprint(PyPI) | = 0.17.1 | No fix listed |
| pypi weasyprint(PyPI) | = 0.18 | No fix listed |
| pypi weasyprint(PyPI) | = 0.19 | No fix listed |
| pypi weasyprint(PyPI) | = 0.19.1 | No fix listed |
| pypi weasyprint(PyPI) | = 0.19.2 | No fix listed |
| pypi weasyprint(PyPI) | = 0.2 | No fix listed |
| pypi weasyprint(PyPI) | = 0.2.1 | No fix listed |
| pypi weasyprint(PyPI) | = 0.2.2 | No fix listed |
| pypi weasyprint(PyPI) | = 0.20 | No fix listed |
| pypi weasyprint(PyPI) | = 0.20.1 | No fix listed |
| pypi weasyprint(PyPI) | = 0.20.2 | No fix listed |
| pypi weasyprint(PyPI) | = 0.21 | No fix listed |
| pypi weasyprint(PyPI) | = 0.22 | No fix listed |
| pypi weasyprint(PyPI) | = 0.23 | No fix listed |
Show 128 more
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi weasyprint(PyPI) | = 0.24 | No fix listed |
| pypi weasyprint(PyPI) | = 0.25 | No fix listed |
| pypi weasyprint(PyPI) | = 0.26 | No fix listed |
| pypi weasyprint(PyPI) | = 0.27 | No fix listed |
| pypi weasyprint(PyPI) | = 0.28 | No fix listed |
| pypi weasyprint(PyPI) | = 0.29 | No fix listed |
| pypi weasyprint(PyPI) | = 0.3 | No fix listed |
| pypi weasyprint(PyPI) | = 0.3.1 | No fix listed |
| pypi weasyprint(PyPI) | = 0.30 | No fix listed |
| pypi weasyprint(PyPI) | = 0.31 | No fix listed |
| pypi weasyprint(PyPI) | = 0.32 | No fix listed |
| pypi weasyprint(PyPI) | = 0.33 | No fix listed |
| pypi weasyprint(PyPI) | = 0.34 | No fix listed |
| pypi weasyprint(PyPI) | = 0.35 | No fix listed |
| pypi weasyprint(PyPI) | = 0.36 | No fix listed |
| pypi weasyprint(PyPI) | = 0.37 | No fix listed |
| pypi weasyprint(PyPI) | = 0.38 | No fix listed |
| pypi weasyprint(PyPI) | = 0.39 | No fix listed |
| pypi weasyprint(PyPI) | = 0.4 | No fix listed |
| pypi weasyprint(PyPI) | = 0.40 | No fix listed |
| pypi weasyprint(PyPI) | = 0.41 | No fix listed |
| pypi weasyprint(PyPI) | = 0.42 | No fix listed |
| pypi weasyprint(PyPI) | = 0.42.1 | No fix listed |
| pypi weasyprint(PyPI) | = 0.42.2 | No fix listed |
| pypi weasyprint(PyPI) | = 0.42.3 | No fix listed |
| pypi weasyprint(PyPI) | = 0.5 | No fix listed |
| pypi weasyprint(PyPI) | = 0.6 | No fix listed |
| pypi weasyprint(PyPI) | = 0.6.1 | No fix listed |
| pypi weasyprint(PyPI) | = 0.7 | No fix listed |
| pypi weasyprint(PyPI) | = 0.7.1 | No fix listed |
| pypi weasyprint(PyPI) | = 0.8 | No fix listed |
| pypi weasyprint(PyPI) | = 0.9 | No fix listed |
| pypi weasyprint(PyPI) | = 43 | No fix listed |
| pypi weasyprint(PyPI) | = 43rc1 | No fix listed |
| pypi weasyprint(PyPI) | = 43rc2 | No fix listed |
| pypi weasyprint(PyPI) | = 44 | No fix listed |
| pypi weasyprint(PyPI) | = 45 | No fix listed |
| pypi weasyprint(PyPI) | = 46 | No fix listed |
| pypi weasyprint(PyPI) | = 47 | No fix listed |
| pypi weasyprint(PyPI) | = 48 | No fix listed |
| pypi weasyprint(PyPI) | = 49 | No fix listed |
| pypi weasyprint(PyPI) | = 50 | No fix listed |
| pypi weasyprint(PyPI) | = 51 | No fix listed |
| pypi weasyprint(PyPI) | = 52 | No fix listed |
| pypi weasyprint(PyPI) | = 52.1 | No fix listed |
| pypi weasyprint(PyPI) | = 52.2 | No fix listed |
| pypi weasyprint(PyPI) | = 52.3 | No fix listed |
| pypi weasyprint(PyPI) | = 52.4 | No fix listed |
| pypi weasyprint(PyPI) | = 52.5 | No fix listed |
| pypi weasyprint(PyPI) | = 53.0 | No fix listed |
| pypi weasyprint(PyPI) | = 53.0b1 | No fix listed |
| pypi weasyprint(PyPI) | = 53.0b2 | No fix listed |
| pypi weasyprint(PyPI) | = 53.1 | No fix listed |
| pypi weasyprint(PyPI) | = 53.2 | No fix listed |
| pypi weasyprint(PyPI) | = 53.3 | No fix listed |
| pypi weasyprint(PyPI) | = 53.4 | No fix listed |
| pypi weasyprint(PyPI) | = 54.0 | No fix listed |
| pypi weasyprint(PyPI) | = 54.0b1 | No fix listed |
| pypi weasyprint(PyPI) | = 54.1 | No fix listed |
| pypi weasyprint(PyPI) | = 54.2 | No fix listed |
| pypi weasyprint(PyPI) | = 54.3 | No fix listed |
| pypi weasyprint(PyPI) | = 55.0 | No fix listed |
| pypi weasyprint(PyPI) | = 55.0b1 | No fix listed |
| pypi weasyprint(PyPI) | = 56.0 | No fix listed |
| pypi weasyprint(PyPI) | = 56.0b1 | No fix listed |
| pypi weasyprint(PyPI) | = 56.1 | No fix listed |
| pypi weasyprint(PyPI) | = 57.0 | No fix listed |
| pypi weasyprint(PyPI) | = 57.0b1 | No fix listed |
| pypi weasyprint(PyPI) | = 57.1 | No fix listed |
| pypi weasyprint(PyPI) | = 57.2 | No fix listed |
| pypi weasyprint(PyPI) | = 58.0 | No fix listed |
| pypi weasyprint(PyPI) | = 58.0b1 | No fix listed |
| pypi weasyprint(PyPI) | = 58.1 | No fix listed |
| pypi weasyprint(PyPI) | = 59.0 | No fix listed |
| pypi weasyprint(PyPI) | = 59.0b1 | No fix listed |
| pypi weasyprint(PyPI) | = 60.0 | No fix listed |
| pypi weasyprint(PyPI) | = 60.1 | No fix listed |
| pypi weasyprint(PyPI) | = 60.2 | No fix listed |
| pypi weasyprint(PyPI) | = 61.0 | No fix listed |
| pypi weasyprint(PyPI) | = 61.1 | No fix listed |
| pypi weasyprint(PyPI) | = 61.2 | No fix listed |
| pypi weasyprint(PyPI) | = 62.0 | No fix listed |
| pypi weasyprint(PyPI) | = 62.1 | No fix listed |
| pypi weasyprint(PyPI) | = 62.2 | No fix listed |
| pypi weasyprint(PyPI) | = 62.3 | No fix listed |
| pypi weasyprint(PyPI) | = 63.0 | No fix listed |
| pypi weasyprint(PyPI) | = 63.1 | No fix listed |
| pypi weasyprint(PyPI) | = 64.0 | No fix listed |
| pypi weasyprint(PyPI) | = 64.1 | No fix listed |
| pypi weasyprint(PyPI) | = 65.0 | No fix listed |
| pypi weasyprint(PyPI) | = 65.1 | No fix listed |
| pypi weasyprint(PyPI) | = 66.0 | No fix listed |
| pypi weasyprint(PyPI) | = 67.0 | No fix listed |
| pypi weasyprint(PyPI) | = 68.0 | No fix listed |
| pypi weasyprint(PyPI) | = 68.1 | No fix listed |
| pypi weasyprint(PyPI) | = 69.0 | No fix listed |
| debian/weasyprint(Debian:12) | All versions | No fix listed |
| debian/weasyprint(Debian:12) | = 57.2-1 | No fix listed |
| debian/weasyprint(Debian:12) | = 59.0-1 | No fix listed |
| debian/weasyprint(Debian:12) | = 60.2-1 | No fix listed |
| debian/weasyprint(Debian:12) | = 61.0-1 | No fix listed |
| debian/weasyprint(Debian:12) | = 61.1-1 | No fix listed |
| debian/weasyprint(Debian:12) | = 61.2-1 | No fix listed |
| debian/weasyprint(Debian:12) | = 61.2-2 | No fix listed |
| debian/weasyprint(Debian:12) | = 62.0-1 | No fix listed |
| debian/weasyprint(Debian:12) | = 62.1-1 | No fix listed |
| debian/weasyprint(Debian:12) | = 62.2-1 | No fix listed |
| debian/weasyprint(Debian:12) | = 62.3-1 | No fix listed |
| debian/weasyprint(Debian:12) | = 67.0-1 | No fix listed |
| debian/weasyprint(Debian:12) | = 69.0-1 | No fix listed |
| debian/weasyprint(Debian:12) | = 69.0-2 | No fix listed |
| debian/weasyprint(Debian:12) | = 70.0-1 | No fix listed |
| debian/weasyprint(Debian:13) | All versions | No fix listed |
| debian/weasyprint(Debian:13) | = 62.3-1 | No fix listed |
| debian/weasyprint(Debian:13) | = 67.0-1 | No fix listed |
| debian/weasyprint(Debian:13) | = 69.0-1 | No fix listed |
| debian/weasyprint(Debian:13) | = 69.0-2 | No fix listed |
| debian/weasyprint(Debian:13) | = 70.0-1 | No fix listed |
| debian/weasyprint(Debian:14) | < 70.0-1 | 70.0-1 |
| debian/weasyprint(Debian:14) | = 62.3-1 | No fix listed |
| debian/weasyprint(Debian:14) | = 67.0-1 | No fix listed |
| debian/weasyprint(Debian:14) | = 69.0-1 | No fix listed |
| debian/weasyprint(Debian:14) | = 69.0-2 | No fix listed |
| pypi weasyprint(PyPI) | <= 69.0 | No fix listed |
| ubuntu/weasyprint(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/weasyprint(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/weasyprint(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/weasyprint(Ubuntu:26.10) | All versions | No fix listed |
References
- https://github.com/Kozea/WeasyPrint/security/advisories/GHSA-r543-q48m-4c9j vendor-advisory
- https://github.com/Kozea/WeasyPrint/commit/39cd37ce1610bd890388e26591c569db1cbab542 patch
- https://github.com/Kozea/WeasyPrint/releases/tag/v70.0
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- pypi.org product
- github.com vendor-advisory
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2547123 issue-tracking
- www.cve.org
- Debian Security Tracker CVE-2026-106443 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- bugs.debian.org issue-tracking
- ENISA EUVD EUVD-2026-93668 third-party-advisory