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% (32nd 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% (32nd 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-33699 — High (CVSS 7.5): pypdf is a free and open-source pure-python PDF library. Versions prior to 6.9.2 have a vulnerability in which an…
- CVE-2026-27888 — High (CVSS 7.5): pypdf is a free and open-source pure-python PDF library. Prior to 6.7.3, an attacker who uses this vulnerability can…
- CVE-2026-27628 — High (CVSS 7.5): pypdf is a free and open-source pure-python PDF library. Prior to 6.7.2, an attacker who uses this vulnerability can…
- CVE-2025-62708 — High (CVSS 7.5): pypdf is a free and open-source pure-python PDF library. Prior to version 6.1.3, an attacker who uses this…
- CVE-2025-55197 — High (CVSS 7.5): pypdf is a free and open-source pure-python PDF library. Prior to version 6.0.0, an attacker can craft a PDF which…
- CVE-2026-57204 — Medium (CVSS 6.5): pypdf is a free and open-source pure-python PDF library. Prior to 6.13.3, a maliciously crafted PDF can cause DoS. An…
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-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…
- CVE-2024-4227 — High (CVSS 7.5): In Genivia gSOAP with a specific configuration an unauthenticated remote attacker can generate a high CPU load when…
- CVE-2023-49316 — High (CVSS 7.5): In Math/BinaryField.php in phpseclib 3 before 3.0.34, excessively large degrees can lead to a denial of service.
- CVE-2023-5632 — High (CVSS 7.5): In Eclipse Mosquito before and including 2.0.5, establishing a connection to the mosquitto server without sending data…
- CVE-2023-38200 — High (CVSS 7.5): A flaw was found in Keylime. Due to their blocking nature, the Keylime registrar is subject to a remote denial of…