pypdf 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.
Product
ubuntu/pypdf2 vulnerabilities
50 published CVES affecting ubuntu/pypdf2, from public sources (CVE.org, NVD, CISA KEV, FIRST EPSS, OSV).
- Total
- 50
- Critical
- 0
- High
- 10
- Medium
- 36
- Low
- 4
- Unscored
- 0
- CISA KEV
- 0
Latest ubuntu/pypdf2 CVEs
Newest publication first · page 1 of 2
-
MediumCVSS 6.0 EPSS 0.35%
-
MediumCVSS 6.0 EPSS 0.35%
pypdf is a free and open-source pure-python PDF library. Prior to 6.20.0, an attacker can craft an incomplete PDF that ends inside a standard cross-reference table, causing pypdf to mishandle the unexpected end of file and enter an infinite loop. This issue is fixed in version 6....
-
MediumCVSS 6.0 EPSS 0.35%
pypdf is a free and open-source pure-python PDF library. Prior to 6.20.1, removing an object from a crafted cyclic PDF tree, such as an outline item, can enter an infinite loop and block the current process. This issue is fixed in version 6.20.1.
-
MediumCVSS 6.0 EPSS 0.34%
pypdf is a free and open-source pure-python PDF library. Prior to 6.20.1, calling PdfWriter.find_outline_item on a crafted PDF with a cyclic outline hierarchy can enter an infinite loop and block the current process. This issue is fixed in version 6.20.1.
-
MediumCVSS 6.0 EPSS 0.32%
pypdf is a free and open-source pure-python PDF library. Prior to 6.21.0, an attacker can craft a PDF containing a content stream with many small operations, causing parsing to consume large amounts of memory. This issue is fixed in version 6.21.0.
-
MediumCVSS 6.0 EPSS 0.30%
pypdf is a free and open-source pure-python PDF library. Prior to 6.21.0, an attacker can craft a PDF containing arrays or dictionaries with many elements, causing parsing to consume large amounts of memory. This issue is fixed in version 6.21.0.
-
CVE-2026-113789 pypdf: Possible long runtimes/large memory usage when retrieving form fields
PublishedMediumCVSS 6.0 EPSS 0.32%pypdf is a free and open-source pure-python PDF library. Prior to 6.21.0, an attacker can craft a PDF that causes large memory usage or long runtimes when an application retrieves the document's form fields. This issue is fixed in version 6.21.0.
-
LowCVSS 2.3 EPSS 0.40%
pypdf is a free and open-source pure-python PDF library. Prior to 6.21.1, an attacker can craft a PDF containing image data labeled with the /DCTDecode filter that causes Pillow to select and invoke an unintended image parser when the image is loaded. Environments without the opt...
-
CVE-2026-103000 pypdf: Possible large memory usage when retrieving alphabetical page labels
PublishedHighCVSS 8.7 EPSS 0.35%pypdf is a free and open-source pure-python PDF library. Prior to 6.19.0, a crafted PDF can provide unusually large alphabetical page-label values that cause pypdf/_page_labels.py to generate strings beyond a reasonable page-label length when an application retrieves document pag...
-
HighCVSS 8.7 EPSS 0.35%
pypdf is a free and open-source pure-python PDF library. Prior to 6.19.0, a crafted PDF containing many embedded files can cause the dictionary-based attachments API in pypdf/_doc_common.py to reparse the full attachment list for each content lookup, producing repeated work and l...
-
HighCVSS 8.7 EPSS 0.34%
pypdf is a free and open-source pure-python PDF library. Prior to 6.19.0, a crafted PDF with form field values can cause pypdf/generic/_appearance_stream.py appearance-stream generation to repeat invariant selection-data work inside a loop when an application updates fields with...
-
HighCVSS 8.7 EPSS 0.34%
pypdf is a free and open-source pure-python PDF library. Prior to 6.18.1, a crafted PDF containing a partially malformed /FlateDecode stream with padded data can force pypdf/filters.py to use inefficient byte-by-byte decompression while the earlier recovery counter fails to advan...
-
HighCVSS 8.7 EPSS 0.34%
pypdf is a free and open-source pure-python PDF library. Prior to 6.18.1, a crafted PDF can provide a TrueType or Type1 simple font with an unusually large /Widths array, causing pypdf/_font.py Font._collect_tt_t1_character_widths to process entries beyond the 256 character codes...
-
CVE-2026-102995 pypdf: Possible large memory usage for large /ToUnicode streams (Follow-up 2)
PublishedHighCVSS 8.7 EPSS 0.34%pypdf is a free and open-source pure-python PDF library. Prior to 6.18.1, a crafted PDF can place unusually large source-code or destination-string tokens in a font /ToUnicode mapping, causing pypdf/_cmap.py parse_bfchar to decode and retain oversized values during operations suc...
-
CVE-2026-102994 pypdf: Possible long runtimes/large memory usage when parsing indirect objects
PublishedHighCVSS 8.7 EPSS 0.34%pypdf is a free and open-source pure-python PDF library. Prior to 6.18.0, a crafted PDF containing indirect-object identifiers or generation-number tokens that continue for a long time without whitespace can cause pypdf/_reader.py and pypdf/generic/_base.py to scan excessive inpu...
-
HighCVSS 8.7 EPSS 0.35%
pypdf is a free and open-source pure-python PDF library. Prior to 6.17.0, a crafted PDF can provide unusually large Roman page-label values that cause pypdf/_page_labels.py to generate excessively large numeral strings when an application retrieves document page labels, consuming...
-
CVE-2026-84311 pypdf: Possible long runtimes/large memory usage when extracting XForm objects
PublishedMediumCVSS 4.8 EPSS 0.14%pypdf is a free and open-source pure-python PDF library. Prior to 6.16.1, an attacker can craft a PDF that causes pypdf/_page.py PageObject._extract_text and PageObject.extract_xform_text to traverse a directed acyclic graph of reused form XObjects in which each form invokes a ch...
-
MediumCVSS 4.8 EPSS 0.14%
pypdf is a free and open-source pure-python PDF library. Prior to 6.16.1, an attacker can craft a PDF that causes pypdf/_doc_common.py _get_outline to consume long runtimes and large amounts of memory when retrieving document outlines with large numbers of entries or deeply neste...
-
CVE-2026-82398 pypdf: Inefficient handling of non-whitespace inputs in read_until_whitespace
PublishedMediumCVSS 6.9 EPSS 0.52%pypdf is a free and open-source pure-python PDF library. Prior to 6.15.0, an attacker can craft a PDF that causes long runtimes when the pypdf/_utils.py function read_until_whitespace reads a stream containing a long run of bytes without whitespace. The function repeatedly perfor...
-
HighCVSS 8.7 EPSS 0.62%
pypdf is a free and open-source pure-python PDF library. Prior to 6.14.1, an attacker can craft a PDF with a page content stream containing a not terminated inline image, causing an infinite loop during inline image end marker detection such as when extracting page text. This iss...
-
HighCVSS 8.7 EPSS 0.62%
pypdf is a free and open-source pure-python PDF library. Prior to 6.14.2, an attacker can craft a PDF with a page content stream containing a not terminated inline image that uses the ASCII85 or ASCIIHex filters, causing an infinite loop during parsing such as when extracting pag...
-
CVE-2026-59937 pypdf: Possible long runtimes for repeated malformed cross-reference entries
PublishedMediumCVSS 6.9 EPSS 0.62%pypdf is a free and open-source pure-python PDF library. Prior to 6.14.0, an attacker can craft a PDF with repeated malformed cross-reference streams that cause pypdf to spend long runtimes recovering broken cross-reference table entries. This issue is fixed in version 6.14.0.
-
MediumCVSS 6.9 EPSS 0.52%
pypdf is a free and open-source pure-python PDF library. Prior to 6.14.0, an attacker can craft a PDF with declared image size values that are much too large compared to the actual data, causing large memory usage in pypdf image parsing. This issue is fixed in version 6.14.0.
-
MediumCVSS 6.9 EPSS 0.16%
pypdf is a free and open-source pure-python PDF library. Prior to 6.13.1, an attacker who uses this vulnerability can craft a PDF which leads to an infinite loop. This requires merging a file with threads/articles into a writer. This vulnerability is fixed in 6.13.1.
-
MediumCVSS 5.1 EPSS 0.17%
pypdf is a free and open-source pure-python PDF library. Prior to 6.12.2, an attacker who uses this vulnerability can craft a PDF which leads to long runtimes. This requires accessing a stream which uses the /FlateDecode filter with a PNG predictor. This vulnerability is fixed in...
Sources: CVE.org, NVD, CISA KEV, FIRST EPSS, OSV and public exploit-reference metadata. Product matching comes from the published CVE records. A proof-of-concept means public code exists; it is not evidence of exploitation.