CVE-2026-27025 Details
Description
pypdf is a free and open-source pure-python PDF library. Prior to 6.7.1, an attacker who uses this vulnerability can craft a PDF which leads to long runtimes and large memory consumption. This requires parsing the /ToUnicode entry of a font with unusually large values, for example during text extraction. This vulnerability is fixed in 6.7.1.
A vulnerability in pypdf, a pure-Python PDF library, prior to version 6.7.1, allows an attacker to create a PDF that causes excessive memory usage and prolonged processing times. This issue arises from parsing the /ToUnicode entry of a font that contains abnormally large values, particularly during text extraction. The vulnerability has been addressed in version 6.7.1.
Users can upgrade to pypdf version 6.7.1 or later to address this vulnerability. If an immediate upgrade is not possible, the changes from PR #3646 can be applied as a temporary workaround.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Feb 24, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/py-pdf/pypdf/commit/77d7b8d7cfbe8dd179858dfa42666f73fc6e57a2 | [email protected] | Patch |
| https://github.com/py-pdf/pypdf/pull/3646 | [email protected] | Issue TrackingPatch |
| https://github.com/py-pdf/pypdf/releases/tag/6.7.1 | [email protected] | ProductRelease Notes |
| https://github.com/py-pdf/pypdf/security/advisories/GHSA-wgvp-vg3v-2xq3 | [email protected] | PatchVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-834 | Excessive Iteration | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| pypdf project pypdf | < 6.7.1 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Feb 24, 2026 | Initial Analysis | [email protected] |
| Feb 20, 2026 | New CVE Received | [email protected] |