Description
pypdf is a free and open-source pure-python PDF library. Versions prior to 6.9.1 allow an attacker to craft a malicious PDF which leads to long runtimes and/or large memory usage. Exploitation requires accessing an array-based stream with many entries. This issue has been fixed in version 6.9.1.
Problem types
CWE-400: Uncontrolled Resource Consumption
CWE-407: Inefficient Algorithmic Complexity
Product status
References
github.com/.../pypdf/security/advisories/GHSA-qpxp-75px-xjcp
github.com/py-pdf/pypdf/pull/3686
github.com/py-pdf/pypdf/releases/tag/6.9.1