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.
CVE-2026-25535
This high-severity CVE scores 7.5 under NVD CVSS v3. EPSS exploit-prediction score not yet available (the EPSS model rescores nightly; freshly-published CVEs typically appear within 48 hours). GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 7.5
- EG Score
- 7.5(low)
- EPSS
- 49.3%
- KEV
- Not listed
Published
February 19, 2026
Last Modified
June 30, 2026
Advisory Details (9)
Auto-updated Jul 3, 20262440992 – (CVE-2026-25535) CVE-2026-25535 jsPDF: denial of service via malicious GIF dimensions
https://bugzilla.redhat.com/show_bug.cgi?id=2440992Client-Side/Server-Side Denial of Service via Malicious GIF Dimensions · Advisory · parallax/jsPDF · GitHub
https://github.com/parallax/jsPDF/security/advisories/GHSA-67pg-wm7f-q7fjv4.2.0
Patch available: parallax/jsPDF v4.2.0
https://github.com/parallax/jsPDF/releases/tag/v4.2.0commit 2e5e156e284d (parallax/jsPDF)
Patch available: parallax/jsPDF v4.2.0 (contains commit 2e5e156e284d)
https://github.com/parallax/jsPDF/commit/2e5e156e284d92c7d134bce97e6418756941d5e6CVEs/2026/CVE-2026-25535.md at main · ZeroXJacks/CVEs · GitHub
https://github.com/ZeroXJacks/CVEs/blob/main/2026/CVE-2026-25535.mdVendor Advisories for CVE-2026-25535(2)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Patch Availability(2)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| redhat | advanced-cluster-security/rhacs-main-rhel8:1775594119 | 2026-04-08 | redhat |
| redhat | advanced-cluster-security/rhacs-main-rhel8:1775594284 | 2026-04-08 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(1 across 1 ecosystem)
npm(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| jspdf | — | 4.2.0 | — |
Weakness Classification(2)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 12× in last 7d / 15× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-07 13:46 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-01 15:06 UTCEPSS rescore
- 2026-07-01 15:06 UTCEPSS rescore
- 2026-06-30 23:22 UTCEPSS rescore
- 2026-06-30 23:22 UTCEPSS rescore
- 2026-06-30 04:36 UTCEG score recompute
- 2026-06-30 04:36 UTCVendor advisory
- 2026-06-30 04:31 UTCNVD updatefirst tracked
Related CVEs(same vendor + same CWE)
Same vendor
10 shownredhat
Same CWE
10 shownCWE-400
Frequently asked(5)
What is CVE-2026-25535?
When was CVE-2026-25535 disclosed?
Is CVE-2026-25535 actively exploited?
What is the CVSS score of CVE-2026-25535?
How do I remediate CVE-2026-25535?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-25535
Is Your Infrastructure Affected by CVE-2026-25535?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.