Live threats

All CVEs / Kozea

CVE-2026-106443Kozea WeasyPrint

High 8.8

Priority
53
CVSS 3.1
8.8
EPSS
—
Auth required
Yes
Published
Oct 6, 2026
Updated
Oct 6, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-20
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for WeasyPrint.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI weasyprint < 70.0 70.0 pip install "weasyprint>=70.0"
PyPI weasyprint < 70.0 70.0 pip install "weasyprint>=70.0"

Per OSV / GitHub Advisories (GHSA-r543-q48m-4c9j, PYSEC-2026-4311). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.