Vulnerabilities · 2025 · Pypdf Project
CVE-2025-62707
Pypdf Project Pypdf vulnerability
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.
Affected products
Pypdf. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Pypdf Project Pypdf runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/py-pdf/pypdf/security/advisories/GHSA-vr63-x8vc-m265
- github.com/py-pdf/pypdf/pull/3501
- nvd.nist.gov/vuln/detail/CVE-2025-62707
- github.com/py-pdf/pypdf/commit/f2864d6dd9bac7cecd3f4f54308b25ebbfa178f8
- github.com/py-pdf/pypdf/releases/tag/6.1.3
- github.com/advisories/GHSA-vr63-x8vc-m265
- nvd.nist.gov/vuln/detail/CVE-2025-62707
- cve.org/CVERecord?id=CVE-2025-62707
More vulnerabilities in Pypdf Project products
CVE-2026-24688CVE-2026-22691CVE-2026-22690CVE-2025-62708CVE-2025-55197CVE-2023-46250CVE-2023-36810CVE-2023-36807All 10
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.