CVE-2026-24133
HIGH 8.7CVSS 4.0jsPDF Vulnerable to Denial of Service (DoS) via Unvalidated BMP Dimensions in BMPDecoder
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 jsPDF@4.1.0.
- Published
- 2 Feb 2026
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-20CWE-400CWE-770
- Also known as
- GHSA-95fx-jjr5-f39c
- Sources
- NVDJSONOSV GHSA-95fx-jjr5-f39cJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | HIGH 8.7 | 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:X/V:X/RE:X/U:X |
| OSV | GitHub | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | parall | jspdfcpe:2.3:a:parall:jspdf:*:*:*:*:*:node.js:*:* |
< 4.1.0 | 4.1.0 |
| OSV | npm | jspdf | < 4.1.0 | 4.1.0 |
References
- https://github.com/parallax/jsPDF/commit/ae4b93f76d8fc1baa5614bd5fdb5d174c3b85f0d · Patch, WEB
- https://github.com/parallax/jsPDF/releases/tag/v4.1.0 · Release Notes, WEB
- https://github.com/parallax/jsPDF/security/advisories/GHSA-95fx-jjr5-f39c · Exploit, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-24133 · ADVISORY
- https://github.com/parallax/jsPDF · PACKAGE
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 2 Feb 2026)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 2 Feb 2026)