Home / parallax / jsPDF / CVE-2026-25535
CVE-2026-25535: is it exploited, and which versions of parallax jsPDF are affected and fixed?
CVE-2026-25535 is a denial of service (uncontrolled resource consumption) vulnerability in parallax jsPDF. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 14:08 UTC). Affected: jspdf before 4.2.0 (GitHub advisory GHSA-67pg-wm7f-q7fj). Fixed in 4.2.0 (GitHub advisory GHSA-67pg-wm7f-q7fj). Severity: High (8.7, CVSS 4.0, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:08 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:13 UTC.
What is CVE-2026-25535?
jsPDF Affected by Client-Side/Server-Side Denial of Service via Malicious GIF Dimensions
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.
From the CVE record by GitHub_M, last updated September 7, 2026, 12:04 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| parallax | jsPDF | < 4.2.0 |
As the CVE record by GitHub_M states it, last updated September 7, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | jspdf | < 4.2.0 | 4.2.0 | GHSA-67pg-wm7f-q7fj |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated February 19, 2026. Summary: jsPDF Affected by Client-Side/Server-Side Denial of Service via Malicious GIF Dimensions.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| parall | jspdf | before 4.2.0 | application |
NVD analysis (status Modified), last modified August 18, 2026, 12:17 UTC.
How severe is CVE-2026-25535?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.7 | CVSS 4.0 | 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 | GitHub_M |
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | redhat-SADP |
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-25535 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: yes; technical impact: partial (CISA ADP, February 19, 2026)
- EPSS
- 0.86% probability of exploitation activity in the next 30 days, percentile 59.6 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-400 Uncontrolled Resource Consumption
- CWE-770 Allocation of Resources Without Limits or Throttling
Where are the vendor advisories and references?
- https://github.com/parallax/jsPDF/security/advisories/GHSA-67pg-wm7f-q7fj x_refsource_CONFIRM
- https://github.com/parallax/jsPDF/commit/2e5e156e284d92c7d134bce97e6418756941d5e6 x_refsource_MISC
- https://github.com/ZeroXJacks/CVEs/blob/main/2026/CVE-2026-25535.md x_refsource_MISC
- https://github.com/parallax/jsPDF/releases/tag/v4.2.0 x_refsource_MISC
- https://access.redhat.com/security/cve/CVE-2026-25535 vdb-entry, x_refsource_REDHAT
- RHBZ#2440992 issue-tracking, x_refsource_REDHAT
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-25535.json x_sadp-csaf-vex
- https://access.redhat.com/errata/RHSA-2026:7110 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:7128 vendor-advisory, x_refsource_REDHAT
When was it published, and where is the official record?
- Reserved
- February 2, 2026
- Published
- February 19, 2026, 14:34 UTC
- CVE record updated
- September 7, 2026, 12:04 UTC by GitHub_M
- NVD
- Modified, last modified August 18, 2026, 12:17 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:13 UTC; KEV December 3, 2026, 14:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect jsPDF?
- Mar 18, 2026CVE-2026-31938 parallax jsPDF: cross-site scripting (XSS)
- Mar 18, 2026CVE-2026-31898 parallax jsPDF: improper output encoding
- Feb 19, 2026CVE-2026-25940 parallax jsPDF: improper output encoding
- Feb 19, 2026CVE-2026-25755 parallax jsPDF: code injection (remote code execution)
- Feb 2, 2026CVE-2026-24040 parallax jsPDF: race condition
- Feb 2, 2026CVE-2026-24043 parallax jsPDF: injection
- Feb 2, 2026CVE-2026-24133 parallax jsPDF: denial of service (resources allocated without limits)
- Feb 2, 2026CVE-2026-24737 parallax jsPDF: improper output encoding
Questions about CVE-2026-25535
Is CVE-2026-25535 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:08 UTC. FIRST's EPSS gives it a 0.86% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of parallax jsPDF are affected by CVE-2026-25535?
jspdf before 4.2.0, per the GitHub advisory GHSA-67pg-wm7f-q7fj. The tables above give every range the sources list.
Which version fixes CVE-2026-25535?
4.2.0, per the GitHub advisory GHSA-67pg-wm7f-q7fj. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-25535?
High (8.7, CVSS 4.0, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-25535?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.