{"id":"CVE-2026-25535","aliases":["GHSA-67pg-wm7f-q7fj"],"summary":"jsPDF Affected by Client-Side/Server-Side Denial of Service via Malicious GIF Dimensions","published_at":"2026-02-19T14:34:05.648Z","modified_at":"2026-09-10T03:49:48.422831Z","products":[],"rating":{"severity":"high","score":8.7,"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","attack_path":"internet_unauthenticated","user_interaction":false,"malicious":false,"red_hat":"Important","vendor_ratings":[{"source":"Red Hat","rating":"Important"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.008589999750256538,"percentile":0.592270016670227,"date":"2026-11-19T00:00:00Z"},"priority":10.7,"details":"jsPDF is a library to generate PDFs in JavaScript. Prior to 4.2.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 GIF file that results in out of memory errors and denial of service. Harmful GIF files have large width and/or height entries in their headers, which lead to excessive memory allocation. Other affected methods are: `html`. The vulnerability has been fixed in jsPDF 4.2.0. As a workaround, sanitize image data or URLs before passing it to the addImage method or one of the other affected methods.","affected_stack":[],"affected_other":[{"ecosystem":"CVE","package":"parallax/jsPDF","versions":["< 4.2.0"],"provider":"cvelistv5","source":"CVE-2026-25535","relation":"self"},{"ecosystem":"NVD","package":"parall:jspdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.2.0"}]}],"fixed":["4.2.0"],"provider":"nvd","source":"CVE-2026-25535","relation":"self"},{"ecosystem":"TuxCare:npm","package":"jspdf","purl":"pkg:npm/jspdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.0.4-tuxcare.0"},{"fixed":"3.0.4-tuxcare.6"}]}],"versions":["3.0.4","3.0.4-tuxcare.1","3.0.4-tuxcare.2","3.0.4-tuxcare.3","3.0.4-tuxcare.4","3.0.4-tuxcare.5"],"fixed":["3.0.4-tuxcare.6"],"provider":"osv","source":"CLSA-2026-1773620207","relation":"upstream"},{"ecosystem":"TuxCare:npm","package":"jspdf","purl":"pkg:npm/jspdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.5.2-tuxcare.0"},{"fixed":"2.5.2-tuxcare.7"}]}],"versions":["2.5.2","2.5.2-tuxcare.1","2.5.2-tuxcare.2","2.5.2-tuxcare.3","2.5.2-tuxcare.4","2.5.2-tuxcare.5","2.5.2-tuxcare.6"],"fixed":["2.5.2-tuxcare.7"],"provider":"osv","source":"CLSA-2026-1773620213","relation":"upstream"},{"ecosystem":"TuxCare:npm","package":"jspdf","purl":"pkg:npm/jspdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.5.1-tuxcare.0"},{"fixed":"2.5.1-tuxcare.1"}]}],"versions":["2.5.1"],"fixed":["2.5.1-tuxcare.1"],"provider":"osv","source":"CLSA-2026-1780534264","relation":"upstream"},{"ecosystem":"TuxCare:npm","package":"jspdf","purl":"pkg:npm/jspdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.4.1-tuxcare.0"},{"fixed":"1.4.1-tuxcare.2"}]}],"versions":["1.4.1","1.4.1-tuxcare.1"],"fixed":["1.4.1-tuxcare.2"],"provider":"osv","source":"CLSA-2026-1780966320","relation":"upstream"},{"ecosystem":"npm","package":"jspdf","purl":"pkg:npm/jspdf","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"4.2.0"}]}],"fixed":["4.2.0"],"provider":"osv","source":"GHSA-67pg-wm7f-q7fj","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Security 4.8","cpe":"cpe:/a:redhat:advanced_cluster_security:4.8::el8","status":"fixed","packages":["advanced-cluster-security"],"package_count":1,"fixed":[],"advisories":["RHSA-2026:7110"],"provider":"redhat-vex","source":"CVE-2026-25535"},{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Security 4.8","cpe":"cpe:/a:redhat:advanced_cluster_security:4.8::el8","status":"not_affected","packages":["advanced-cluster-security"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-25535"},{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Security 4.9","cpe":"cpe:/a:redhat:advanced_cluster_security:4.9::el8","status":"fixed","packages":["advanced-cluster-security"],"package_count":1,"fixed":[],"advisories":["RHSA-2026:7128"],"provider":"redhat-vex","source":"CVE-2026-25535"},{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Security 4.9","cpe":"cpe:/a:redhat:advanced_cluster_security:4.9::el8","status":"not_affected","packages":["advanced-cluster-security"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-25535"}],"records":[{"provider":"csaf-bsi","source_id":"WID-SEC-W-2026-2933","relation":"upstream","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2026-2933","license":"TLP:CLEAR, mirroring permitted","published_at":"2026-08-19T22:00:00Z","modified_at":"2026-11-02T23:00:00Z","summary":"Splunk SOAR: Mehrere Schwachstellen","details":"Ein Angreifer kann mehrere Schwachstellen in Splunk SOAR ausnutzen, um Sicherheitsvorkehrungen zu umgehen, um Informationen offenzulegen, um Dateien zu manipulieren, um einen SQL-Injection Angriff durchzuführen, um einen Cross-Site Scripting Angriff durchzuführen, und um beliebigen Programmcode auszuführen.\n\nSplunk SOAR ist eine Sicherheitsautomatisierungs- und Reaktionsplattform, die es Unternehmen ermöglicht, Sicherheitsvorfälle zu orchestrieren und zu automatisieren.","severity":[{"type":"BSI","score":"hoch","source":"WID-SEC-W-2026-2933"}],"affected":[],"product_status":[],"references":[{"type":"WEB","url":"https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-2933.json"},{"type":"WEB","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2026-2933"},{"type":"WEB","url":"https://advisory.splunk.com/advisories/SVD-2026-0804"},{"type":"WEB","url":"https://advisory.splunk.com/advisories/SVD-2026-0805"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:63385"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:71179"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:71210"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:59153"},{"type":"WEB","url":"https://www.ibm.com/support/pages/node/7291610"},{"type":"WEB","url":"https://www.ibm.com/support/pages/node/7292374"},{"type":"WEB","url":"https://linux.oracle.com/errata/ELSA-2026-604898.html"},{"type":"WEB","url":"https://www.ibm.com/support/pages/node/7293833"},{"type":"WEB","url":"https://lists.debian.org/debian-security-announce/2026/msg00513.html"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:93440"},{"type":"WEB","url":"https://www.ibm.com/support/pages/node/7295132"}]},{"provider":"osv","source_id":"CLSA-2026-1773620207","relation":"upstream","url":"https://osv.dev/vulnerability/CLSA-2026-1773620207","published_at":"2026-08-04T14:52:12Z","modified_at":"2026-10-15T09:47:46.836381Z","summary":"TuxCare security update for jspdf (3 CVEs)","details":"TuxCare rebuilt jspdf to address 3 CVEs. Fixed in 3.0.4-tuxcare.6.","severity":[],"affected":[{"ecosystem":"TuxCare:npm","package":"jspdf","purl":"pkg:npm/jspdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.0.4-tuxcare.0"},{"fixed":"3.0.4-tuxcare.6"}]}],"versions":["3.0.4","3.0.4-tuxcare.1","3.0.4-tuxcare.2","3.0.4-tuxcare.3","3.0.4-tuxcare.4","3.0.4-tuxcare.5"],"fixed":["3.0.4-tuxcare.6"],"provider":"osv","source":"CLSA-2026-1773620207","relation":"upstream"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"CLSA-2026-1773620213","relation":"upstream","url":"https://osv.dev/vulnerability/CLSA-2026-1773620213","published_at":"2026-08-04T14:52:12Z","modified_at":"2026-10-15T09:47:47.178165Z","summary":"TuxCare security update for jspdf (3 CVEs)","details":"TuxCare rebuilt jspdf to address 3 CVEs. Fixed in 2.5.2-tuxcare.7.","severity":[],"affected":[{"ecosystem":"TuxCare:npm","package":"jspdf","purl":"pkg:npm/jspdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.5.2-tuxcare.0"},{"fixed":"2.5.2-tuxcare.7"}]}],"versions":["2.5.2","2.5.2-tuxcare.1","2.5.2-tuxcare.2","2.5.2-tuxcare.3","2.5.2-tuxcare.4","2.5.2-tuxcare.5","2.5.2-tuxcare.6"],"fixed":["2.5.2-tuxcare.7"],"provider":"osv","source":"CLSA-2026-1773620213","relation":"upstream"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"CLSA-2026-1780534264","relation":"upstream","url":"https://osv.dev/vulnerability/CLSA-2026-1780534264","published_at":"2026-08-04T14:52:35Z","modified_at":"2026-10-15T09:47:50.756486Z","summary":"TuxCare security update for jspdf (12 CVEs)","details":"TuxCare rebuilt jspdf to address 12 CVEs. Fixed in 2.5.1-tuxcare.1.","severity":[],"affected":[{"ecosystem":"TuxCare:npm","package":"jspdf","purl":"pkg:npm/jspdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.5.1-tuxcare.0"},{"fixed":"2.5.1-tuxcare.1"}]}],"versions":["2.5.1"],"fixed":["2.5.1-tuxcare.1"],"provider":"osv","source":"CLSA-2026-1780534264","relation":"upstream"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"CLSA-2026-1780966320","relation":"upstream","url":"https://osv.dev/vulnerability/CLSA-2026-1780966320","published_at":"2026-08-04T14:52:35Z","modified_at":"2026-10-15T09:47:50.242378Z","summary":"TuxCare security update for jspdf (9 CVEs)","details":"TuxCare rebuilt jspdf to address 9 CVEs. Fixed in 1.4.1-tuxcare.2.","severity":[],"affected":[{"ecosystem":"TuxCare:npm","package":"jspdf","purl":"pkg:npm/jspdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.4.1-tuxcare.0"},{"fixed":"1.4.1-tuxcare.2"}]}],"versions":["1.4.1","1.4.1-tuxcare.1"],"fixed":["1.4.1-tuxcare.2"],"provider":"osv","source":"CLSA-2026-1780966320","relation":"upstream"}],"product_status":[],"references":[]},{"provider":"cvelistv5","source_id":"CVE-2026-25535","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2026-25535","license":"CC-BY-4.0","published_at":"2026-02-19T14:34:05.648Z","modified_at":"2026-09-07T12:04:56.383Z","summary":"jsPDF Affected by Client-Side/Server-Side Denial of Service via Malicious GIF Dimensions","details":"jsPDF is a library to generate PDFs in JavaScript. Prior to 4.2.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 GIF file that results in out of memory errors and denial of service. Harmful GIF files have large width and/or height entries in their headers, which lead to excessive memory allocation. Other affected methods are: `html`. The vulnerability has been fixed in jsPDF 4.2.0. As a workaround, sanitize image data or URLs before passing it to the addImage method or one of the other affected methods.","severity":[{"type":"CVSS_V4","score":"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","source":"CVE-2026-25535"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"redhat-SADP:CVE-2026-25535"}],"affected":[{"ecosystem":"CVE","package":"parallax/jsPDF","versions":["< 4.2.0"],"provider":"cvelistv5","source":"CVE-2026-25535","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/parallax/jsPDF/security/advisories/GHSA-67pg-wm7f-q7fj"},{"type":"WEB","url":"https://github.com/parallax/jsPDF/commit/2e5e156e284d92c7d134bce97e6418756941d5e6"},{"type":"WEB","url":"https://github.com/ZeroXJacks/CVEs/blob/main/2026/CVE-2026-25535.md"},{"type":"WEB","url":"https://github.com/parallax/jsPDF/releases/tag/v4.2.0"}]},{"provider":"nvd","source_id":"CVE-2026-25535","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-25535","severity":[],"affected":[{"ecosystem":"NVD","package":"parall:jspdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.2.0"}]}],"fixed":["4.2.0"],"provider":"nvd","source":"CVE-2026-25535","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"GHSA-67pg-wm7f-q7fj","relation":"self","url":"https://osv.dev/vulnerability/GHSA-67pg-wm7f-q7fj","license":"CC-BY-4.0","published_at":"2026-02-19T15:25:48Z","modified_at":"2026-09-10T03:49:48.422831Z","summary":"jsPDF Affected by Client-Side/Server-Side Denial of Service via Malicious GIF Dimensions","details":"### Impact\n\nUser control of the first argument of the `addImage` method results in denial of service.\n\nIf given the possibility to pass unsanitized image data or URLs to the `addImage` method, a user can provide a harmful GIF file that results in out of memory errors and denial of service. Harmful GIF files have large width and/or height entries in their headers, wich lead to excessive memory allocation.\n\nOther affected methods are: `html`.\n\nExample attack vector:\n\n```js\nimport { jsPDF } from \"jspdf\" \n\n// malicious GIF image data with large width/height headers\nconst payload = ...\n\nconst doc = new jsPDF();\n\ndoc.addImage(payload, \"GIF\", 0, 0, 100, 100);\n```\n\n### Patches\n\nThe vulnerability has been fixed in jsPDF 4.1.1. Upgrade to jspdf@>=4.2.0.\n\n### Workarounds\n\nSanitize image data or URLs before passing it to the addImage method or one of the other affected methods.\n### References\nhttps://github.com/ZeroXJacks/CVEs/blob/main/2026/CVE-2026-25535.md","severity":[{"type":"CVSS_V4","score":"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","source":"GHSA-67pg-wm7f-q7fj"}],"affected":[{"ecosystem":"npm","package":"jspdf","purl":"pkg:npm/jspdf","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"4.2.0"}]}],"fixed":["4.2.0"],"provider":"osv","source":"GHSA-67pg-wm7f-q7fj","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/parallax/jsPDF/security/advisories/GHSA-67pg-wm7f-q7fj"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-25535"},{"type":"WEB","url":"https://github.com/parallax/jsPDF/commit/2e5e156e284d92c7d134bce97e6418756941d5e6"},{"type":"WEB","url":"https://github.com/ZeroXJacks/CVEs/blob/main/2026/CVE-2026-25535.md"},{"type":"PACKAGE","url":"https://github.com/parallax/jsPDF"},{"type":"WEB","url":"https://github.com/parallax/jsPDF/releases/tag/v4.2.0"}]},{"provider":"redhat-vex","source_id":"CVE-2026-25535","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2026-25535","license":"CC-BY-4.0","published_at":"2026-02-19T14:34:05.648Z","modified_at":"2026-03-03T16:24:22Z","summary":"jsPDF: denial of service via malicious GIF dimensions","details":"A flaw was found in jsPDF. The addImage and html methods accept user input in their first argument without proper sanitization. An attacker can supply a specially crafted GIF file, specifically with invalid width and height header values, forcing the application to allocate an excessive amount of memory, leading to an out-of-memory condition, causing an application crash and denial of service.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"CVE-2026-25535"},{"type":"Red Hat","score":"Important","source":"CVE-2026-25535"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Security 4.8","cpe":"cpe:/a:redhat:advanced_cluster_security:4.8::el8","status":"fixed","packages":["advanced-cluster-security"],"package_count":1,"fixed":[],"advisories":["RHSA-2026:7110"],"provider":"redhat-vex","source":"CVE-2026-25535"},{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Security 4.8","cpe":"cpe:/a:redhat:advanced_cluster_security:4.8::el8","status":"not_affected","packages":["advanced-cluster-security"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-25535"},{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Security 4.9","cpe":"cpe:/a:redhat:advanced_cluster_security:4.9::el8","status":"fixed","packages":["advanced-cluster-security"],"package_count":1,"fixed":[],"advisories":["RHSA-2026:7128"],"provider":"redhat-vex","source":"CVE-2026-25535"},{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Security 4.9","cpe":"cpe:/a:redhat:advanced_cluster_security:4.9::el8","status":"not_affected","packages":["advanced-cluster-security"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-25535"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-25535.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-25535"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2440992"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2026-25535"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-25535"},{"type":"WEB","url":"https://github.com/ZeroXJacks/CVEs/blob/main/2026/CVE-2026-25535.md"},{"type":"WEB","url":"https://github.com/parallax/jsPDF/commit/2e5e156e284d92c7d134bce97e6418756941d5e6"},{"type":"WEB","url":"https://github.com/parallax/jsPDF/releases/tag/v4.2.0"},{"type":"WEB","url":"https://github.com/parallax/jsPDF/security/advisories/GHSA-67pg-wm7f-q7fj"}]}],"references":[{"type":"WEB","url":"https://github.com/parallax/jsPDF/security/advisories/GHSA-67pg-wm7f-q7fj"},{"type":"WEB","url":"https://github.com/parallax/jsPDF/commit/2e5e156e284d92c7d134bce97e6418756941d5e6"},{"type":"WEB","url":"https://github.com/ZeroXJacks/CVEs/blob/main/2026/CVE-2026-25535.md"},{"type":"WEB","url":"https://github.com/parallax/jsPDF/releases/tag/v4.2.0"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-25535"},{"type":"PACKAGE","url":"https://github.com/parallax/jsPDF"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-25535.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-25535"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2440992"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2026-25535"}],"sources":[{"provider":"csaf-bsi","source_id":"WID-SEC-W-2026-2933","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2026-2933","license":"TLP:CLEAR, mirroring permitted","modified_at":"2026-11-02T23:00:00Z","relation":"upstream"},{"provider":"osv","source_id":"CLSA-2026-1773620207","url":"https://osv.dev/vulnerability/CLSA-2026-1773620207","modified_at":"2026-10-15T09:47:46.836381Z","relation":"upstream"},{"provider":"osv","source_id":"CLSA-2026-1773620213","url":"https://osv.dev/vulnerability/CLSA-2026-1773620213","modified_at":"2026-10-15T09:47:47.178165Z","relation":"upstream"},{"provider":"osv","source_id":"CLSA-2026-1780534264","url":"https://osv.dev/vulnerability/CLSA-2026-1780534264","modified_at":"2026-10-15T09:47:50.756486Z","relation":"upstream"},{"provider":"osv","source_id":"CLSA-2026-1780966320","url":"https://osv.dev/vulnerability/CLSA-2026-1780966320","modified_at":"2026-10-15T09:47:50.242378Z","relation":"upstream"},{"provider":"cvelistv5","source_id":"CVE-2026-25535","url":"https://www.cve.org/CVERecord?id=CVE-2026-25535","license":"CC-BY-4.0","modified_at":"2026-09-07T12:04:56.383Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2026-25535","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-25535","relation":"self"},{"provider":"osv","source_id":"GHSA-67pg-wm7f-q7fj","url":"https://osv.dev/vulnerability/GHSA-67pg-wm7f-q7fj","license":"CC-BY-4.0","modified_at":"2026-09-10T03:49:48.422831Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2026-25535","url":"https://access.redhat.com/security/cve/CVE-2026-25535","license":"CC-BY-4.0","modified_at":"2026-03-03T16:24:22Z","relation":"self"}]}
