# CVE-2025-57810: jsPDF Parsing of Corrupt PNGs Leads to Potential Denial of Service (DoS)

- 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.72%, higher than 55% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-08-26T15:37:28.071Z
- Modified: 2026-09-10T03:50:58.004Z
- Also known as: GHSA-8mvj-3j78-4qmw
- Weaknesses: CWE-20, CWE-770, CWE-835
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

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

## 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:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- 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 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/parallax/jsPDF/security/advisories/GHSA-8mvj-3j78-4qmw> (exploit, vendor-advisory, web)
- <https://github.com/parallax/jsPDF/pull/3880> (issue-tracking, web)
- <https://github.com/parallax/jsPDF/commit/4cf3ab619e565d9b88b4b130bff901b91d8688e9> (patch, web)
- <https://github.com/parallax/jsPDF/releases/tag/v3.0.2> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-57810> (advisory)
- <https://github.com/parallax/jsPDF> (package)

## Sources

- CVE List: [CVE-2025-57810](https://www.cve.org/CVERecord?id=CVE-2025-57810), CVE Terms of Use, modified 2025-08-26
- GitHub Advisory Database: [GHSA-8mvj-3j78-4qmw](https://github.com/advisories/GHSA-8mvj-3j78-4qmw), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2025-57810](https://nvd.nist.gov/vuln/detail/CVE-2025-57810), Public domain, modified 2026-06-17

---

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