jsPDF Parsing of Corrupt PNGs Leads to Potential Denial of Service (DoS)
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Partial Red Hat: 1 fixed, 1 without a fix
Attack profile from CVSS 4.0 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-770.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| parallax | jsPDF | before 3.0.2 | 3.0.2 | Patch available | CNA |
| — | jspdf (npm) | before 3.0.2 | 3.0.2 | Patch available | GHSA-8mvj-3j78-4qmw |
- jsPDF Vendorparallax Affected before 3.0.2 Fixed in 3.0.2 Patch available CNA
- jspdf (npm) Vendor— Affected before 3.0.2 Fixed in 3.0.2 Patch available GHSA-8mvj-3j78-4qmw
Remediation
- Fix · CNA jsPDF (parallax) Fixed in 3.0.2
- Fix · GHSA-8mvj-3j78-4qmw jspdf (npm) Fixed in 3.0.2 Advisory →
Red Hat 1 advisory
- RHSA-2026:6226 Released 2026-03-31 · Red Hat rating ImportantMulticluster Global Hub 1.6.2 security update
- Multicluster Global Hub 1.6.6 registry.redhat.io/multicluster-globalhub/multicluster-globalhub-agent-rhel9, registry.redhat.io/multicluster-globalhub/multicluster-globalhub-grafana-rhel9, registry.redhat.io/multicluster-globalhub/multicluster-globalhub-manager-rhel9 +2
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Advanced Cluster Security 4 | Affected | No fix yet |
| Multicluster Global Hub 1.6.5 | Fixed | RHSA-2026:6226 |
Not affected: 2 products
- Multicluster Global Hub 1.6.5
- Red Hat Advanced Cluster Security 4
Timeline
- 2026-10-02 Threatist record created from CVE-2025-57810
- 2026-10-03 Alias added: GHSA-8mvj-3j78-4qmw
References
More parallax Jspdf vulnerabilities
- TI-2026-20644 jsPDF Affected by Client-Side/Server-Side Denial of Service via Malicious GIF Dimensions CVSS 4.0HIGH 8.7
- TI-2025-21292 jsPDF Bypass Regular Expression Denial of Service (ReDoS) CVSS 4.0HIGH 8.7
- TI-2025-41976 jsPDF has Local File Inclusion/Path Traversal vulnerability CVSS 4.0CRITICAL 9.2
- TI-2026-24484 jsPDF has HTML Injection in New Window paths CVSS 3.1CRITICAL 9.6
- TI-2026-20823 jsPDF has PDF Object Injection via Unsanitized Input in addJS Method CVSS 3.1HIGH 8.8
- TI-2026-19451 jsPDF Affected by Denial of Service (DoS) via Unvalidated BMP Dimensions in BMPDecoder CVSS 4.0HIGH 8.7
Sources
- CVE-2025-57810 · CVE Program
- CVE-2025-57810 · NVD
- FIRST EPSS
- GHSA-8mvj-3j78-4qmw · GitHub Advisory Database · CC BY 4.0
- CVE-2025-57810 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences