Py Pdf Pypdf vulnerabilities
80 vulnerabilities
Known vulnerabilities in Py Pdf Pypdf, newest first, with CVSS severity, EPSS, KEV listings, ransomware use and the affected versions.
PrioritiseCVE-2026-145060py-pdf · pypdf +2 morepypdf before 7.1.1 Excessive Memory Usage via Cross-Reference Streamspypdf before 7.1.1 contains a resource exhaustion vulnerability that allows attackers to cause large memory usage through crafted PDF files. Attackers can supply a PDF with many cross-reference streams whose content is unnecessarily kept in memory, exhausting memory and causing denial of service.CVSS8.7HighPrioritiseCVE-2026-145079py-pdf · pypdf +2 morepypdf before 7.1.1 Excessive Memory Usage via ASCIIHexDecode Filterpypdf before 7.1.1 contains an uncontrolled resource consumption vulnerability that allows attackers to cause large memory usage by supplying a crafted PDF. Attackers can embed a malicious stream using the /ASCIIHexDecode filter that, when accessed, exhausts memory and causes denial of service.CVSS8.7HighPrioritiseCVE-2026-145082py-pdf · pypdf +2 morepypdf before 7.1.1 Excessive Memory Usage via Page Label Prefixpypdf before 7.1.1 contains an uncontrolled resource consumption vulnerability that allows attackers to cause large memory usage by supplying crafted page label prefixes. Attackers can craft a PDF with a very large page label prefix value that, when page labels are accessed, exhausts memory and causes denial of service.CVSS8.7HighPrioritiseCVE-2026-145085py-pdf · pypdf +2 morepypdf before 7.1.1 Cross-Reference Stream Entry Limit Bypasspypdf before 7.1.1 does not enforce cross-reference stream entry limits when parsing PDFs with hybrid cross-reference tables, because overly broad exception handling suppresses the limit violations. Attackers can supply a crafted PDF that, when opened, causes excessive cross-reference stream entries to be processed, leading to uncontrolled resource consumption.CVSS8.7HighPrioritiseCVE-2026-145091py-pdf · pypdf +2 morepypdf before 7.1.1 Memory Exhaustion via Inline Image Fallback Parsingpypdf before 7.1.1 contains a resource exhaustion vulnerability that allows attackers to trigger large memory usage through the inline image fallback parsing path. Attackers can craft a malicious PDF whose content stream invokes the inline image fallback parser, consuming excessive memory and causing denial of service.CVSS8.7HighPrioritiseCVE-2026-137549py-pdf · pypdf +4 morepypdf before 7.0.1 Excessive Memory Usage via Crafted PDF Imagespypdf before 7.0.1 contains a resource exhaustion vulnerability in image loading because data size estimates for some image modes are too low, defeating limits for filters without their own size limit. Attackers can craft a PDF whose images, when loaded, cause large memory usage and denial of service.CVSS8.7HighEPSS0.49%PrioritiseCVE-2026-134364py-pdf · pypdf +4 morepypdf 3.7.1 before 7.0.0 Placeholder Recovery via File Identifier in Encrypted Documentspypdf 3.7.1 before 7.0.0 contains an information disclosure vulnerability that allows attackers to guess placeholders in encrypted templated documents by analyzing file identifiers. Attackers with a document sharing the same template and access to other documents' file identifiers can recover placeholder contents from encrypted PDFs.CVSS8.7HighEPSS0.56%PrioritiseCVE-2026-134366py-pdf · pypdf +4 morepypdf before 7.0.0 Memory Exhaustion via Cross-Reference Streams with Identical Offsetspypdf before 7.0.0 contains a resource exhaustion vulnerability that allows attackers to cause large memory usage by supplying crafted PDF cross-reference streams. Attackers can craft a PDF whose cross-reference stream offsets all point to one large object, exhausting memory in applications parsing the file.CVSS8.7HighEPSS0.49%PrioritiseCVE-2026-134367py-pdf · pypdf +4 morepypdf 2.4.2 before 7.0.0 Excessive Memory Usage via XFA Formspypdf 2.4.2 before 7.0.0 contains a resource exhaustion vulnerability in its handling of XFA forms that allows attackers to cause excessive memory consumption. Attackers can supply a crafted PDF containing XFA forms with many small fields so that loading the forms consumes large amounts of memory, causing a denial of service.CVSS8.7HighEPSS0.34%RoutineCVE-2026-119209py-pdf · pypdf +7 morepypdf: Possible large memory usage when parsing cross-reference streamspypdf is a free and open-source pure-python PDF library. Prior to 6.21.3, pypdf can consume excessive memory while opening a crafted PDF containing cross-reference streams that declare very large entry counts. Highly compressible streams and /Prev chains can multiply the number of parsed entries across a document, while negative /Index counts can bypass the existing per-stream clamp. This issue is fixed in version 6.21.3.CVSS7.1HighEPSS0.38%RoutineCVE-2026-119208py-pdf · pypdf +6 morepypdf: Possible long runtimes/large memory usage for encrypted PDF filespypdf is a free and open-source pure-python PDF library. Prior to 6.21.3, pypdf can consume excessive time and memory when an application accesses the page count of a crafted encrypted PDF whose page tree declares a forged /Count value. Even after successful decryption, page-count retrieval trusts the unvalidated declared count instead of walking the page tree, allowing the attacker-controlled value to drive excessive work and memory use. This issue is fixed in version 6.21.3.CVSS7.1HighEPSS0.33%RoutineCVE-2026-119207py-pdf · pypdf +6 morepypdf: Possible large memory usage for exceptions in strict modepypdf is a free and open-source pure-python PDF library. Prior to 6.21.3, pypdf can consume excessive memory when strict mode loads a crafted invalid PDF dictionary. Nested parsing failures add repeated exception text to newly raised errors, allowing a small malformed dictionary to amplify into very large error messages. This issue is fixed in version 6.21.3.CVSS7.1HighEPSS0.33%RoutineCVE-2026-119206py-pdf · pypdf +7 morepypdf: Possible long runtimes when retrieving page labelspypdf is a free and open-source pure-python PDF library. Prior to 6.21.3, pypdf can take excessive time to retrieve page labels from a crafted PDF containing a flat page-label number tree with many ranges. The page_labels property resolves each page independently and repeatedly scans the same /Nums array from the beginning, causing work to grow with both the page count and the number of label ranges. This issue is fixed in version 6.21.3.CVSS7.1HighEPSS0.33%RoutineCVE-2026-119205py-pdf · pypdf +7 morepypdf: Possible infinite loop when cloning dictionariespypdf is a free and open-source pure-python PDF library. Prior to 6.21.4, pypdf can enter an infinite loop when cloning or duplicating a crafted cyclic DictionaryObject. Clone traversal checked generated destination references rather than the original source references, allowing some source cycles to evade the visited-object check. This issue is fixed in version 6.21.4.CVSS7.1HighEPSS0.33%RoutineCVE-2026-119204py-pdf · pypdf +8 morepypdf: Possible large memory usage when parsing page treepypdf is a free and open-source pure-python PDF library. Prior to 6.21.4, pypdf can consume excessive memory while parsing a crafted PDF page tree containing many shared resources. Page-tree flattening copies page dictionary and inherited resource entries without a document-wide entry budget, allowing the crafted resource structure to cause disproportionate allocations. This issue is fixed in version 6.21.4.CVSS7.1HighEPSS0.33%RoutineCVE-2026-119203py-pdf · pypdf +8 morepypdf: Possible infinite loop when hitting EOF in standard xref table during trailer searchpypdf is a free and open-source pure-python PDF library. Prior to 6.21.4, pypdf can enter an infinite loop while opening a crafted incomplete PDF whose standard cross-reference table reaches the end of the file without a trailer. The trailer search can repeatedly rewind to the same stream position instead of terminating when parsing makes no progress, blocking the processing thread. This issue is fixed in version 6.21.4.CVSS7.1HighEPSS0.33%RoutineCVE-2026-115585py-pdf · pypdf +6 morepypdf: Possible long runtimes for repeated malformed cross-reference entries (Follow-up)pypdf is a free and open-source pure-python PDF library. Prior to 6.21.2, an incomplete remediation for repeated malformed cross-reference entries in GHSA-55h5-xmcq-c37v could still trigger a complete PDF stream reload during each recovery attempt even when a recovery cache was present, causing crafted cross-reference streams to produce long runtimes. This issue is fixed in version 6.21.2.CVSS7.1HighEPSS0.44%RoutineCVE-2026-115580py-pdf · pypdf +6 morepypdf: Possible long runtimes for large xref table header limitspypdf is a free and open-source pure-python PDF library. Prior to 6.21.2, an attacker can craft a PDF with a standard cross-reference table whose declared entry count exceeds what the file can contain, causing excessive processing and long runtimes when the file is opened. This issue is fixed in version 6.21.2.CVSS7.1HighEPSS0.44%RoutineCVE-2026-115572py-pdf · pypdf +6 morepypdf: Possible long runtimes for repeated references to the same missing objectpypdf is a free and open-source pure-python PDF library. Prior to 6.21.2, an attacker can craft a PDF that repeatedly references the same nonexistent indirect object, causing relevant file parts such as pages to trigger repeated full-file recovery loads and long runtimes when accessed. This issue is fixed in version 6.21.2.CVSS7.1HighEPSS0.41%RoutineCVE-2026-113795py-pdf · pypdf +9 morepypdf: Possible large memory usage for streams with multiple filterspypdf is a free and open-source pure-python PDF library. Prior to 6.20.0, accessing a crafted PDF stream with a large number of filters or multiple filters that pass around large amounts of data can cause large memory consumption. This issue is fixed in version 6.20.0.CVSS6.0MediumEPSS0.35%