← Vulnerability feed

Vulnerability record · CVE-2026-25535 · published 19 February 2026

CVE-2026-25535: Parall jspdf uncontrolled resource consumption vulnerability

Parall · Jspdf

jsPDF is a library to generate PDFs in JavaScript. Prior to 4.2.0, user control of the first argument of the `addImage` method results in denial of service. If given the possibility to pass unsanitized image data or URLs to the `addImage` method, a user can provide a harmful GIF file that results in out of memory errors and denial of service. Harmful GIF files have large width and/or height entries in their headers, which lead to excessive memory allocation. Other affected methods are: `html`. The vulnerability has been fixed in jsPDF 4.2.0. As a workaround, sanitize image data or URLs before passing it to the addImage method or one of the other affected methods.

8.7 CVSS 4.0 High EPSS 0.92% · top 41.4% CWE-400 · Uncontrolled resource consumptionCWE-770 · Allocation without limits
8.7CVSS 4.0 base score
0.92%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
9References, 1 tagged exploit
18 Aug 2026Last modified by NVD

Description

jsPDF is a library to generate PDFs in JavaScript. Prior to 4.2.0, user control of the first argument of the `addImage` method results in denial of service. If given the possibility to pass unsanitized image data or URLs to the `addImage` method, a user can provide a harmful GIF file that results in out of memory errors and denial of service. Harmful GIF files have large width and/or height entries in their headers, which lead to excessive memory allocation. Other affected methods are: `html`. The vulnerability has been fixed in jsPDF 4.2.0. As a workaround, sanitize image data or URLs before passing it to the addImage method or one of the other affected methods.

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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2026-25535 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.2CVE-2025-68428Parall jspdf path traversal vulnerabilityjsPDF is a library to generate PDFs in JavaScript. Prior to version 4.0.0, user control of the first argument of the loadFile method in the node.js b…EPSS 2.2%8.8CVE-2026-25755Parall jspdf code injection vulnerabilityjsPDF is a library to generate PDFs in JavaScript. Prior to 4.2.0, user control of the argument of the `addJS` method allows an attacker to inject ar…EPSS 0.80%8.7CVE-2026-24133Parall jspdf allocation without limits vulnerabilityjsPDF is a library to generate PDFs in JavaScript. Prior to 4.1.0, user control of the first argument of the addImage method results in denial of ser…EPSS 0.59%8.7CVE-2025-57810Parall jspdf improper input validation vulnerabilityjsPDF 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 utilizati…EPSS 0.71%8.7CVE-2025-29907Parall jspdf uncontrolled resource consumption vulnerabilityjsPDF is a library to generate PDFs in JavaScript. Prior to 3.0.1, user control of the first argument of the addImage method results in CPU utilizati…EPSS 0.69%8.1CVE-2026-25940Parall jspdf vulnerabilityjsPDF is a library to generate PDFs in JavaScript. Prior to 4.2.0, user control of properties and methods of the Acroform module allows users to inje…EPSS 0.63%8.1CVE-2026-24737Parall jspdf expression language injection vulnerabilityjsPDF is a library to generate PDFs in JavaScript. Prior to 4.1.0, user control of properties and methods of the Acroform module allows users to inje…EPSS 0.55%7.5CVE-2021-23353Parall jspdf vulnerabilityThis affects the package jspdf before 2.3.1. ReDoS is possible via the addImage function.EPSS 2.6%

Source: NIST National Vulnerability Database (record CVE-2026-25535), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.