CVE-2025-57810CWE-20CWE-770

jsPDF Parsing of Corrupt PNGs Leads to Potential Denial of Service (DoS)

High · published August 26, 2025

CVSS v4.0
8.7
EPSS
1%
Percentile
52.6
In the wild
Unconfirmed
What it is

jsPDF is a library to generate PDFs in JavaScript. Prior to 3.0.2, user control of the first argument of the addImage method results in CPU utilization and denial of service. If given the possibility to pass unsanitized image data or URLs to the addImage method, a user can provide a harmful PNG file that results in high CPU utilization and denial of service. The vulnerability was fixed in jsPDF 3.0.2.

The record
Technical detail
CVSS v4.0
8.7 · HIGH
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
EPSS
0.00700 · 52.6th percentile
Weaknesses
CWE-20 · Improper Input Validation; CWE-770 · Allocation of Resources Without Limits or Throttling
Published
2025-08-26T15:37Z
EPSS history
Timeline
  • 26 AUG 15:37Z
    jsPDF Parsing of Corrupt PNGs Leads to Potential Denial of Service (DoS)
    cvelistv5