{"cve":"CVE-2026-106443","nvd":{"published":"2026-10-06T19:18:13.327","modified":"2026-10-06T20:17:26.023","status":"Deferred","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8},"cwes":["CWE-20"],"references":["https://github.com/Kozea/WeasyPrint/commit/39cd37ce1610bd890388e26591c569db1cbab542","https://github.com/Kozea/WeasyPrint/releases/tag/v70.0","https://github.com/Kozea/WeasyPrint/security/advisories/GHSA-r543-q48m-4c9j"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:58:01.639778232+00:00"},"epss":{"cve":"CVE-2026-106443","score":0.00705,"percentile":0.53058,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-r543-q48m-4c9j","url":"https://osv.dev/vulnerability/GHSA-r543-q48m-4c9j","summary":"WeasyPrint: EPS images reach the Ghostscript interpreter resulting in RCE","modified":"2026-10-15T14:56:08.607638818Z","packages":[{"ecosystem":"PyPI","name":"weasyprint","purl":"pkg:pypi/weasyprint","ranges":["<70.0"],"fixed":["70.0"]}]},{"id":"PYSEC-2026-4311","url":"https://osv.dev/vulnerability/PYSEC-2026-4311","summary":"WeasyPrint: EPS images reach the Ghostscript interpreter resulting in RCE","modified":"2026-10-15T14:45:13.479239877Z","packages":[{"ecosystem":"PyPI","name":"weasyprint","purl":"pkg:pypi/weasyprint","ranges":["<70.0"],"fixed":["70.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}