Memory Consumption Vulnerability in pypdf Library by PyPDF
CVE-2026-119207
7.1HIGH
What is CVE-2026-119207?
The pypdf library, a pure-Python PDF toolkit, contains a vulnerability causing excessive memory consumption when strict mode processes a specially crafted invalid PDF dictionary. This is due to nested parsing failures that can lead to significant error messages being generated from a small malformed dictionary. Users are encouraged to upgrade to version 6.21.3, where this issue has been resolved, to ensure optimal performance and security.
Affected Version(s)
pypdf < 6.21.3
