{"id":"CVE-2025-57810","aliases":["CLSA-2026-1773620205","GHSA-8mvj-3j78-4qmw"],"summary":"jsPDF Parsing of Corrupt PNGs Leads to Potential Denial of Service (DoS)","published_at":"2025-08-26T15:37:28.071Z","modified_at":"2026-10-15T09:47:47.091232Z","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":"Moderate","vendor_ratings":[{"source":"Red Hat","rating":"Moderate"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.006909999996423721,"percentile":0.5362600088119507,"date":"2026-11-19T00:00:00Z"},"priority":10.7,"details":"jsPDF is a library to generate PDFs in JavaScript. Prior to 3.0.2, user control of the first argument of the addImage method results in CPU utilization and denial of service. If given the possibility to pass unsanitized image data or URLs to the addImage method, a user can provide a harmful PNG file that results in high CPU utilization and denial of service. The vulnerability was fixed in jsPDF 3.0.2.","affected_stack":[],"affected_other":[{"ecosystem":"CVE","package":"parallax/jsPDF","versions":["< 3.0.2"],"provider":"cvelistv5","source":"CVE-2025-57810","relation":"self"},{"ecosystem":"NVD","package":"parall:jspdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.2"}]}],"fixed":["3.0.2"],"provider":"nvd","source":"CVE-2025-57810","relation":"self"},{"ecosystem":"TuxCare:npm","package":"jspdf","purl":"pkg:npm/jspdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.5.2-tuxcare.0"},{"fixed":"2.5.2-tuxcare.3"}]}],"versions":["2.5.2","2.5.2-tuxcare.1","2.5.2-tuxcare.2"],"fixed":["2.5.2-tuxcare.3"],"provider":"osv","source":"CLSA-2026-1773620205","relation":"self"},{"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.1"}]}],"versions":["1.4.1"],"fixed":["1.4.1-tuxcare.1"],"provider":"osv","source":"CLSA-2026-1780966318","relation":"upstream"},{"ecosystem":"npm","package":"jspdf","purl":"pkg:npm/jspdf","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"3.0.2"}]}],"fixed":["3.0.2"],"provider":"osv","source":"GHSA-8mvj-3j78-4qmw","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"Multicluster Global Hub 1.6.5","cpe":"cpe:/a:redhat:multicluster_globalhub:1.6::el9","status":"fixed","packages":["multicluster-globalhub"],"package_count":1,"fixed":[],"advisories":["RHSA-2026:6226"],"provider":"redhat-vex","source":"CVE-2025-57810"},{"vendor":"Red Hat","product":"Multicluster Global Hub 1.6.5","cpe":"cpe:/a:redhat:multicluster_globalhub:1.6::el9","status":"not_affected","packages":["multicluster-globalhub"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2025-57810"},{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Security 4","cpe":"cpe:/a:redhat:advanced_cluster_security:4","status":"affected","packages":["advanced-cluster-security/rhacs-main-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2025-57810"},{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Security 4","cpe":"cpe:/a:redhat:advanced_cluster_security:4","status":"affected","packages":["advanced-cluster-security/rhacs-roxctl-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"Out of support scope","provider":"redhat-vex","source":"CVE-2025-57810"},{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Security 4","cpe":"cpe:/a:redhat:advanced_cluster_security:4","status":"not_affected","packages":["advanced-cluster-security/rhacs-central-db-rhel8","advanced-cluster-security/rhacs-rhel8-operator","advanced-cluster-security/rhacs-scanner-v4-db-rhel8","advanced-cluster-security/rhacs-scanner-v4-rhel8"],"package_count":4,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2025-57810"}],"records":[{"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-1780966318","relation":"upstream","url":"https://osv.dev/vulnerability/CLSA-2026-1780966318","published_at":"2026-08-04T14:52:35Z","modified_at":"2026-10-15T09:47:50.523982Z","summary":"TuxCare security update for jspdf (6 CVEs)","details":"TuxCare rebuilt jspdf to address 6 CVEs. Fixed in 1.4.1-tuxcare.1.","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.1"}]}],"versions":["1.4.1"],"fixed":["1.4.1-tuxcare.1"],"provider":"osv","source":"CLSA-2026-1780966318","relation":"upstream"}],"product_status":[],"references":[]},{"provider":"cvelistv5","source_id":"CVE-2025-57810","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2025-57810","license":"CC-BY-4.0","published_at":"2025-08-26T15:37:28.071Z","modified_at":"2025-08-26T15:58:25.184Z","summary":"jsPDF Parsing of Corrupt PNGs Leads to Potential Denial of Service (DoS)","details":"jsPDF is a library to generate PDFs in JavaScript. Prior to 3.0.2, user control of the first argument of the addImage method results in CPU utilization and denial of service. If given the possibility to pass unsanitized image data or URLs to the addImage method, a user can provide a harmful PNG file that results in high CPU utilization and denial of service. The vulnerability was fixed in jsPDF 3.0.2.","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-2025-57810"}],"affected":[{"ecosystem":"CVE","package":"parallax/jsPDF","versions":["< 3.0.2"],"provider":"cvelistv5","source":"CVE-2025-57810","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/parallax/jsPDF/security/advisories/GHSA-8mvj-3j78-4qmw"},{"type":"WEB","url":"https://github.com/parallax/jsPDF/pull/3880"},{"type":"WEB","url":"https://github.com/parallax/jsPDF/commit/4cf3ab619e565d9b88b4b130bff901b91d8688e9"},{"type":"WEB","url":"https://github.com/parallax/jsPDF/releases/tag/v3.0.2"}]},{"provider":"nvd","source_id":"CVE-2025-57810","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-57810","severity":[],"affected":[{"ecosystem":"NVD","package":"parall:jspdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.2"}]}],"fixed":["3.0.2"],"provider":"nvd","source":"CVE-2025-57810","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"CLSA-2026-1773620205","relation":"self","url":"https://osv.dev/vulnerability/CLSA-2026-1773620205","published_at":"2026-08-04T14:52:12Z","modified_at":"2026-10-15T09:47:47.091232Z","summary":"TuxCare security update for jspdf (1 CVE)","details":"TuxCare rebuilt jspdf to address 1 CVE. Fixed in 2.5.2-tuxcare.3.","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.3"}]}],"versions":["2.5.2","2.5.2-tuxcare.1","2.5.2-tuxcare.2"],"fixed":["2.5.2-tuxcare.3"],"provider":"osv","source":"CLSA-2026-1773620205","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"GHSA-8mvj-3j78-4qmw","relation":"self","url":"https://osv.dev/vulnerability/GHSA-8mvj-3j78-4qmw","license":"CC-BY-4.0","published_at":"2025-08-26T16:19:04Z","modified_at":"2026-09-10T03:50:58.004119Z","summary":"jsPDF Denial of Service (DoS)","details":"### Impact\nUser control of the first argument of the addImage method results in CPU utilization and 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 PNG file that results in high CPU utilization and denial of service.\n\nOther affected methods are: `html`.\n\nExample payload:\n\n```js\nimport { jsPDF } from \"jspdf\" \n\nconst payload = new Uint8Array([117, 171, 90, 253, 166, 154, 105, 166, 154])\n\nconst doc = new jsPDF();\nconst startTime = performance.now();\ntry {\n  doc.addImage(payload, \"PNG\", 10, 40, 180, 180, undefined, \"SLOW\");\n} finally {\n  const endTime = performance.now();\n  console.log(`Call to doc.addImage took ${endTime - startTime} milliseconds`);\n}\n```\n\n### Patches\nThe vulnerability was fixed in jsPDF 3.0.2. Upgrade to jspdf@>=3.0.2.\n\nIn jspdf@>=3.0.2, invalid PNG files throw an Error instead of causing very long running loops.\n\n### Workarounds\nSanitize image data or URLs before passing it to the addImage method or one of the other affected methods.\n\n### Credits\nResearcher: Aleksey Solovev (Positive Technologies)","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":"GHSA-8mvj-3j78-4qmw"},{"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-8mvj-3j78-4qmw"}],"affected":[{"ecosystem":"npm","package":"jspdf","purl":"pkg:npm/jspdf","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"3.0.2"}]}],"fixed":["3.0.2"],"provider":"osv","source":"GHSA-8mvj-3j78-4qmw","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/parallax/jsPDF/security/advisories/GHSA-8mvj-3j78-4qmw"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-57810"},{"type":"WEB","url":"https://github.com/parallax/jsPDF/pull/3880"},{"type":"WEB","url":"https://github.com/parallax/jsPDF/commit/4cf3ab619e565d9b88b4b130bff901b91d8688e9"},{"type":"PACKAGE","url":"https://github.com/parallax/jsPDF"},{"type":"WEB","url":"https://github.com/parallax/jsPDF/releases/tag/v3.0.2"}]},{"provider":"redhat-vex","source_id":"CVE-2025-57810","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2025-57810","license":"CC-BY-4.0","published_at":"2025-08-26T15:37:28.071Z","modified_at":"2026-03-16T08:31:18Z","summary":"jspdf: jsPDF Denial of Service (DoS)","details":"An excessive resource consumption flaw has been discovered in the jsPDF npm library. Passing a maliciously crafted PNG file to the library may result in high CPU usage and a denial of service of the program the library is being used in.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","source":"CVE-2025-57810"},{"type":"Red Hat","score":"Moderate","source":"CVE-2025-57810"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"Multicluster Global Hub 1.6.5","cpe":"cpe:/a:redhat:multicluster_globalhub:1.6::el9","status":"fixed","packages":["multicluster-globalhub"],"package_count":1,"fixed":[],"advisories":["RHSA-2026:6226"],"provider":"redhat-vex","source":"CVE-2025-57810"},{"vendor":"Red Hat","product":"Multicluster Global Hub 1.6.5","cpe":"cpe:/a:redhat:multicluster_globalhub:1.6::el9","status":"not_affected","packages":["multicluster-globalhub"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2025-57810"},{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Security 4","cpe":"cpe:/a:redhat:advanced_cluster_security:4","status":"affected","packages":["advanced-cluster-security/rhacs-main-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2025-57810"},{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Security 4","cpe":"cpe:/a:redhat:advanced_cluster_security:4","status":"affected","packages":["advanced-cluster-security/rhacs-roxctl-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"Out of support scope","provider":"redhat-vex","source":"CVE-2025-57810"},{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Security 4","cpe":"cpe:/a:redhat:advanced_cluster_security:4","status":"not_affected","packages":["advanced-cluster-security/rhacs-central-db-rhel8","advanced-cluster-security/rhacs-rhel8-operator","advanced-cluster-security/rhacs-scanner-v4-db-rhel8","advanced-cluster-security/rhacs-scanner-v4-rhel8"],"package_count":4,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2025-57810"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-57810.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2025-57810"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2391077"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2025-57810"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-57810"},{"type":"WEB","url":"https://github.com/parallax/jsPDF/commit/4cf3ab619e565d9b88b4b130bff901b91d8688e9"},{"type":"WEB","url":"https://github.com/parallax/jsPDF/pull/3880"},{"type":"WEB","url":"https://github.com/parallax/jsPDF/releases/tag/v3.0.2"},{"type":"WEB","url":"https://github.com/parallax/jsPDF/security/advisories/GHSA-8mvj-3j78-4qmw"}]}],"references":[{"type":"WEB","url":"https://github.com/parallax/jsPDF/security/advisories/GHSA-8mvj-3j78-4qmw"},{"type":"WEB","url":"https://github.com/parallax/jsPDF/pull/3880"},{"type":"WEB","url":"https://github.com/parallax/jsPDF/commit/4cf3ab619e565d9b88b4b130bff901b91d8688e9"},{"type":"WEB","url":"https://github.com/parallax/jsPDF/releases/tag/v3.0.2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-57810"},{"type":"PACKAGE","url":"https://github.com/parallax/jsPDF"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-57810.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2025-57810"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2391077"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2025-57810"}],"sources":[{"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-1780966318","url":"https://osv.dev/vulnerability/CLSA-2026-1780966318","modified_at":"2026-10-15T09:47:50.523982Z","relation":"upstream"},{"provider":"cvelistv5","source_id":"CVE-2025-57810","url":"https://www.cve.org/CVERecord?id=CVE-2025-57810","license":"CC-BY-4.0","modified_at":"2025-08-26T15:58:25.184Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2025-57810","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-57810","relation":"self"},{"provider":"osv","source_id":"CLSA-2026-1773620205","url":"https://osv.dev/vulnerability/CLSA-2026-1773620205","modified_at":"2026-10-15T09:47:47.091232Z","relation":"self"},{"provider":"osv","source_id":"GHSA-8mvj-3j78-4qmw","url":"https://osv.dev/vulnerability/GHSA-8mvj-3j78-4qmw","license":"CC-BY-4.0","modified_at":"2026-09-10T03:50:58.004119Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2025-57810","url":"https://access.redhat.com/security/cve/CVE-2025-57810","license":"CC-BY-4.0","modified_at":"2026-03-16T08:31:18Z","relation":"self"}]}
