ADVISORIES

Vulnerability

CVE-2026-106443

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.

4 advisories report this vulnerability, across 3 ecosystems.

High severity All PyPI 2Debian 1Ubuntu 1

Advisories

  • DEBIAN-CVE-2026-106443

    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…

    CVE-2026-106443 Debian Updated 13 October 2026
  • GHSA-r543-q48m-4c9j

    WeasyPrint: EPS images reach the Ghostscript interpreter resulting in RCE

    High CVE-2026-106443 PyPI Updated 15 October 2026
  • PYSEC-2026-4311

    WeasyPrint: EPS images reach the Ghostscript interpreter resulting in RCE

    CVE-2026-106443 PyPI Updated 15 October 2026
  • UBUNTU-CVE-2026-106443

    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…

    CVE-2026-106443 Ubuntu Updated 24 November 2026

References