Skip to content
Heist/ feed
Back to feed
HighFix available

weasyprint — security advisory

Type: advisorySources: OSVAdvisory ID: 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 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.

Products
weasyprint
Affected versions
57.2-1, 59.0-1, 60.2-1, 61.0-1, 61.1-1, 61.2-1, 61.2-2, 62.0-1, 62.1-1, 62.2-1, 62.3-1, 67.0-1, 69.0-1, 69.0-2, 70.0-1
Fixed versions
70.0-1
CVEs
CVE-2026-106443
Confirmed fixed CVEs
Not specified
Updated in this feed
30 Oct 2026, 10:32 UTC · Revision 1

Source evidence

DEBIAN-CVE-2026-106443

core-osv · Original source

Published 6 Oct 2026, 19:18 UTC

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.

osv:DEBIAN-CVE-2026-106443

weasyprint

Fixed versions: Not specified

weasyprint

Fixed versions: Not specified

weasyprint

Fixed versions: 70.0-1

Complete source record
{
  "id": "72d18ec9a9587cd6fff56487d288562fa8d5f57cf7c6872cfad34c735ae82166",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2026-106443",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2026-106443",
    "summary": "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.",
    "evidence": "osv:DEBIAN-CVE-2026-106443",
    "products": [
      {
        "name": {
          "value": "weasyprint",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "57.2-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "59.0-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "60.2-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "61.0-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "61.1-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "61.2-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "61.2-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "62.0-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "62.1-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "62.2-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "62.3-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "67.0-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "69.0-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "69.0-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "70.0-1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "weasyprint",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "62.3-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "67.0-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "69.0-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "69.0-2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "70.0-1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "weasyprint",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "70.0-1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "62.3-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "67.0-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "69.0-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "69.0-2",
            "evidence": "/affected/2/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "DEBIAN-CVE-2026-106443",
      "aliases": [
        "DEBIAN-CVE-2026-106443"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "weasyprint",
            "purl": "pkg:deb/debian/weasyprint?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "versions": [
            "57.2-1",
            "59.0-1",
            "60.2-1",
            "61.0-1",
            "61.1-1",
            "61.2-1",
            "61.2-2",
            "62.0-1",
            "62.1-1",
            "62.2-1",
            "62.3-1",
            "67.0-1",
            "69.0-1",
            "69.0-2",
            "70.0-1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-106443.json"
          },
          "ecosystem_specific": {
            "urgency": "unimportant"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "weasyprint",
            "purl": "pkg:deb/debian/weasyprint?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "versions": [
            "62.3-1",
            "67.0-1",
            "69.0-1",
            "69.0-2",
            "70.0-1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-106443.json"
          },
          "ecosystem_specific": {
            "urgency": "unimportant"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "70.0-1"
                }
              ]
            }
          ],
          "package": {
            "name": "weasyprint",
            "purl": "pkg:deb/debian/weasyprint?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "versions": [
            "62.3-1",
            "67.0-1",
            "69.0-1",
            "69.0-2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-106443.json"
          },
          "ecosystem_specific": {
            "urgency": "unimportant"
          }
        }
      ],
      "modified": "2026-10-13T17:00:07.834787744Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-106443"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2026-106443"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-106443",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 311843,
  "published_at": "2026-10-06T19:18:13.327+00:00"
}