jsPDF Affected by Denial of Service (DoS) via Unvalidated BMP Dimensions in BMPDecoder
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 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 4.1.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 BMP file that results in out of memory errors and denial of service. Harmful BMP files have large width and/or height entries in their headers, which lead to excessive memory allocation. The html method is also affected. The vulnerability has been fixed in [email protected].
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- 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 4.1.0 | 4.1.0 | Patch available | CNA |
| — | jspdf (npm) | before 4.1.0 | 4.1.0 | Patch available | GHSA-95fx-jjr5-f39c |
- jsPDF Vendorparallax Affected before 4.1.0 Fixed in 4.1.0 Patch available CNA
- jspdf (npm) Vendor— Affected before 4.1.0 Fixed in 4.1.0 Patch available GHSA-95fx-jjr5-f39c
Remediation
- Fix · CNA jsPDF (parallax) Fixed in 4.1.0
- Fix · GHSA-95fx-jjr5-f39c jspdf (npm) Fixed in 4.1.0 Advisory →
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: Fix deferred |
Timeline
- 2026-10-02 Threatist record created from CVE-2026-24133
- 2026-10-03 Alias added: GHSA-95fx-jjr5-f39c
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-35693 jsPDF Parsing of Corrupt PNGs Leads to Potential Denial of Service (DoS) 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
Sources
- CVE-2026-24133 · CVE Program
- CVE-2026-24133 · NVD
- FIRST EPSS
- GHSA-95fx-jjr5-f39c · GitHub Advisory Database · CC BY 4.0
- CVE-2026-24133 · 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