Memory Exhaustion Issue in pypdf Library
CVE-2026-27025
6.9MEDIUM
What is CVE-2026-27025?
The pypdf library, a popular open-source PDF manipulation tool, harbors a memory exhaustion vulnerability in versions prior to 6.7.1. This issue arises when an attacker crafts a malicious PDF file that exploits excessively large values in the /ToUnicode entry of a font. As a consequence, applications utilizing the library may experience prolonged runtimes and increased memory consumption, particularly during text extraction processes. Users are encouraged to upgrade to version 6.7.1 or later to mitigate this vulnerability.
Affected Version(s)
pypdf < 6.7.1
