# CVE-2026-24133: jsPDF Affected by Denial of Service (DoS) via Unvalidated BMP Dimensions in BMPDecoder

- Severity: High 8.7 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.62%, higher than 50% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-02-02T18:29:13.000Z
- Modified: 2026-09-10T03:50:34.569Z
- Also known as: GHSA-95fx-jjr5-f39c
- Weaknesses: CWE-20, CWE-400, CWE-770
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- parallax jsPDF: < 4.1.0
- jspdf (npm): before 4.1.0
- parall jspdf: before 4.1.0

## Every score

- GitHub_M: CVSS:4.0 8.7 High `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: CVSS:4.0 High `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: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/parallax/jsPDF/security/advisories/GHSA-95fx-jjr5-f39c> (exploit, vendor-advisory, web)
- <https://github.com/parallax/jsPDF/commit/ae4b93f76d8fc1baa5614bd5fdb5d174c3b85f0d> (patch, web)
- <https://github.com/parallax/jsPDF/releases/tag/v4.1.0> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-24133> (advisory)
- <https://github.com/parallax/jsPDF> (package)

## Sources

- CVE List: [CVE-2026-24133](https://www.cve.org/CVERecord?id=CVE-2026-24133), CVE Terms of Use, modified 2026-02-03
- GitHub Advisory Database: [GHSA-95fx-jjr5-f39c](https://github.com/advisories/GHSA-95fx-jjr5-f39c), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-24133](https://nvd.nist.gov/vuln/detail/CVE-2026-24133), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-24133 · Whole record: https://cve.day/CVE-2026-24133.json · Rebuilt by cve.day 2026-11-25T22:59:13.375Z
