Buffer Overflow Affecting pdfkit package, versions [0,]


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.39% (31st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-PDFKIT-17391903
  • published21 Jun 2026
  • disclosed17 Jun 2026
  • creditUnknown

Introduced: 17 Jun 2026

NewCVE-2025-26240  (opens in a new tab)
CWE-120  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

There is no fixed version for pdfkit.

Overview

pdfkit is a Wkhtmltopdf python wrapper to convert html to pdf using the webkit rendering engine and qt

Affected versions of this package are vulnerable to Buffer Overflow via the from_string function. An attacker can execute arbitrary JavaScript code within the server application context and exfiltrate local files by supplying crafted input.

CVSS Base Scores

version 4.0
version 3.1