Security mailing lists by PureSourceCode

CVE-2026-106443

HIGH 8.8CVSS 3.1

WeasyPrint: EPS images reach the Ghostscript interpreter resulting in RCE

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.

Published
6 Oct 2026
Last modified
15 Oct 2026
Assigned by
security-advisories@github.com
NVD status
Deferred
Weakness
CWE-20
Also known as
GHSA-r543-q48m-4c9jPYSEC-2026-4311
Sources
NVDJSONOSV GHSA-r543-q48m-4c9jJSONOSV PYSEC-2026-4311JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
OSV PyPA CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV PyPI weasyprint < 70.0 70.0

References

History

  • 25 Nov 2026 21:22 UTC · NVD: first stored (published 6 Oct 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 15 Oct 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Oct 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.