{"id":"CVE-2026-24133","published":"2026-02-02T20:32:37Z","modified":"2026-02-03T15:17:40Z","title":"jsPDF Affected by Denial of Service (DoS) via Unvalidated BMP Dimensions in BMPDecoder","vendor":"parallax","product":"jsPDF","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00617,"percentile":0.50506,"provenance":"source"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"references":[{"url":"https://github.com/parallax/jsPDF/security/advisories/GHSA-95fx-jjr5-f39c","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/parallax/jsPDF/commit/ae4b93f76d8fc1baa5614bd5fdb5d174c3b85f0d","tags":["x_refsource_MISC"]},{"url":"https://github.com/parallax/jsPDF/releases/tag/v4.1.0","tags":["x_refsource_MISC"]}],"priority":{"score":16.2,"factors":[{"name":"EPSS percentile","points":10.1},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"parallax","affectedVersions":[{"vendor":"parallax","product":"jsPDF","versions":["< 4.1.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-02-03T15:16:10.492386Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"jspdf","vulnerableRanges":["<4.1.0"],"patched":["4.1.0"],"from":["GHSA-95fx-jjr5-f39c"],"provenance":"source"}],"summary":{"text":"The jsPDF library, a JavaScript PDF generation tool, fails to validate BMP image dimensions in its BMPDecoder, which affects versions prior to 4.1.0 when processing images passed to its addImage method (the html method is also affected). An attacker who can supply unsanitised image data or URLs to addImage, over the network and without authentication or user interaction, can send a crafted BMP file with oversized width and/or height headers that causes excessive memory allocation, leading to out-of-memory errors and denial of service.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:06:52Z"},"euvd":{"id":"EUVD-2026-5295","exploited":false,"provenance":"source"}}