CVE-2025-62707
CVE-2025-62707 is a high-severity vulnerability in Pypdf Project Pypdf with a CVSS 3.x base score of 7.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-834.
Key facts
- Severity: High (CVSS 3.x base score 7.5)
- CVSS v4: 6.6
- EPSS exploit prediction: 0% (37th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2025-35625
- Weakness: CWE-834
- Affected product: Pypdf Project Pypdf
- Published:
- Last modified:
Description
pypdf is a free and open-source pure-python PDF library. Prior to version 6.1.3, an attacker who uses this vulnerability can craft a PDF which leads to an infinite loop. This requires parsing the content stream of a page which has an inline image using the DCTDecode filter. This has been fixed in pypdf version 6.1.3.
Frequently asked questions
- What is CVE-2025-62707?
- pypdf is a free and open-source pure-python PDF library. Prior to version 6.1.3, an attacker who uses this vulnerability can craft a PDF which leads to an infinite loop. This requires parsing the content stream of a page which has an inline image using the DCTDecode filter. This has been fixed in pypdf version 6.1.3.
- How severe is CVE-2025-62707?
- CVE-2025-62707 has a CVSS 3.x base score of 7.5, rated high severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is none, integrity none, and availability high.
- Is CVE-2025-62707 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (37th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2025-62707?
- CVE-2025-62707 affects Pypdf Project Pypdf. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2025-62707?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- Does CVE-2025-62707 have an EU (EUVD) identifier?
- Yes. CVE-2025-62707 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-35625.
- When was CVE-2025-62707 published?
- CVE-2025-62707 was published on 2025-10-22 and last updated on 2026-06-17.
References
- https://github.com/py-pdf/pypdf/commit/f2864d6dd9bac7cecd3f4f54308b25ebbfa178f8
- https://github.com/py-pdf/pypdf/pull/3501
- https://github.com/py-pdf/pypdf/releases/tag/6.1.3
- https://github.com/py-pdf/pypdf/security/advisories/GHSA-vr63-x8vc-m265
Affected products (1)
- cpe:2.3:a:pypdf_project:pypdf:*:*:*:*:*:*:*:*
More vulnerabilities in Pypdf Project Pypdf
- CVE-2026-103000 — High (CVSS 7.5): pypdf is a free and open-source pure-python PDF library. Prior to 6.19.0, a crafted PDF can provide unusually large…
- CVE-2026-102999 — High (CVSS 7.5): pypdf is a free and open-source pure-python PDF library. Prior to 6.19.0, a crafted PDF containing many embedded files…
- CVE-2026-102998 — High (CVSS 7.5): pypdf is a free and open-source pure-python PDF library. Prior to 6.19.0, a crafted PDF with form field values can…
- CVE-2026-102997 — High (CVSS 7.5): pypdf is a free and open-source pure-python PDF library. Prior to 6.18.1, a crafted PDF containing a partially…
- CVE-2026-102996 — High (CVSS 7.5): pypdf is a free and open-source pure-python PDF library. Prior to 6.18.1, a crafted PDF can provide a TrueType or Type1…
- CVE-2026-102995 — High (CVSS 7.5): pypdf is a free and open-source pure-python PDF library. Prior to 6.18.1, a crafted PDF can place unusually large…
All CVEs affecting Pypdf Project Pypdf →
Other CWE-834 (Excessive Iteration) vulnerabilities
- CVE-2017-12587 — High (CVSS 8.8): ImageMagick 7.0.6-1 has a large loop vulnerability in the ReadPWPImage function in coders\pwp.c.
- CVE-2024-42071 — High (CVSS 7.8): In the Linux kernel, the following vulnerability has been resolved: ionic: use dev_consume_skb_any outside of napi If…
- CVE-2026-16497 — High (CVSS 7.5): NVIDIA Triton Inference Server for Linux contains a vulnerability where an attacker could cause excessive iteration. A…
- CVE-2026-59644 — High (CVSS 7.5): In Bouncy Castle for Java before 1.85, MLS hash-ratchet honours arbitrary 32-bit generation counter from sender.
- CVE-2026-64641 — High (CVSS 7.5): Next.js is a React framework for building full-stack web applications. In versions 13.0.0 through 15.5.20 and 16.0.0…
- CVE-2025-56571 — High (CVSS 7.5): Finance.js v4.1.0 contains a Denial of Service (DoS) vulnerability via the IRR function’s depth parameter. Improper…