cbcvebase.

Py-Pdf Pypdf vulnerabilities

64 known vulnerabilities affecting py-pdf/pypdf.

Total CVEs
64
CISA KEV
0
Public exploits
0
Exploited in wild
0
Severity breakdown
HIGH20MEDIUM37LOW7

Vulnerabilities

Page 2 of 4
CVE-2026-115585P3HIGHCVSS 7.1fixed in 6.21.22026-10-23
CVE-2026-115585 [HIGH] CWE-400 CVE-2026-115585: pypdf is a free and open-source pure-python PDF library. Prior to 6.21.2, an incomplete remediation 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
nvd
CVE-2026-113792P4MEDIUMCVSS 6.0fixed in 6.20.12026-10-21
CVE-2026-113792 [MEDIUM] CWE-835 CVE-2026-113792: pypdf is a free and open-source pure-python PDF library. Prior to 6.20.1, calling PdfWriter.find_out 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.
nvd
CVE-2026-113794P4MEDIUMCVSS 6.0fixed in 6.20.02026-10-21
CVE-2026-113794 [MEDIUM] CWE-835 CVE-2026-113794: pypdf is a free and open-source pure-python PDF library. Prior to 6.20.0, an attacker can craft an i 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.20.0.
nvd
CVE-2026-41312P4MEDIUMCVSS 6.5fixed in 6.10.22026-04-22
CVE-2026-41312 [MEDIUM] CWE-789 CVE-2026-41312: pypdf is a free and open-source pure-python PDF library. An attacker who uses a vulnerability presen pypdf is a free and open-source pure-python PDF library. An attacker who uses a vulnerability present in versions prior to 6.10.2 can craft a PDF which leads to the RAM being exhausted. This requires accessing a stream compressed using `/FlateDecode` with a `/Predictor` unequal 1 and large predictor parameters. This has been fixed in pypdf 6.10.2. A
nvd
CVE-2026-41314P4MEDIUMCVSS 6.5fixed in 6.10.22026-04-22
CVE-2026-41314 [MEDIUM] CWE-789 CVE-2026-41314: pypdf is a free and open-source pure-python PDF library. An attacker who uses a vulnerability presen pypdf is a free and open-source pure-python PDF library. An attacker who uses a vulnerability present in versions prior to 6.10.2 can craft a PDF which leads to the RAM being exhausted. This requires accessing an image using `/FlateDecode` with large size values. This has been fixed in pypdf 6.10.2. As a workaround, one may apply the changes from th
nvd
CVE-2026-113793P4MEDIUMCVSS 6.0fixed in 6.20.12026-10-21
CVE-2026-113793 [MEDIUM] CWE-835 CVE-2026-113793: pypdf is a free and open-source pure-python PDF library. Prior to 6.20.1, removing an object from a 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.
nvd
CVE-2026-113795P4MEDIUMCVSS 6.0fixed in 6.20.02026-10-21
CVE-2026-113795 [MEDIUM] CWE-400 CVE-2026-113795: pypdf is a free and open-source pure-python PDF library. Prior to 6.20.0, accessing a crafted PDF st 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.
nvd
CVE-2026-57204P4MEDIUMCVSS 6.5fixed in 6.13.32026-06-30
CVE-2026-57204 [MEDIUM] CWE-400 CVE-2026-57204: pypdf is a free and open-source pure-python PDF library. Prior to 6.13.3, a maliciously crafted PDF pypdf is a free and open-source pure-python PDF library. Prior to 6.13.3, a maliciously crafted PDF can cause DoS. An attacker who uses this vulnerability can craft a PDF which leads to large memory usage, as MAX_DECLARED_STREAM_LENGTH is sometimes ignored. This requires parsing a content stream without a /Length value. This issue has been fixed in v
nvd
CVE-2026-33123P4MEDIUMCVSS 6.5fixed in 6.9.12026-03-20
CVE-2026-33123 [MEDIUM] CWE-400 CVE-2026-33123: pypdf is a free and open-source pure-python PDF library. Versions prior to 6.9.1 allow an attacker t 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.
nvd
CVE-2026-41313P4MEDIUMCVSS 6.5fixed in 6.10.22026-04-22
CVE-2026-41313 [MEDIUM] CWE-834 CVE-2026-41313: pypdf is a free and open-source pure-python PDF library. An attacker who uses a vulnerability presen pypdf is a free and open-source pure-python PDF library. An attacker who uses a vulnerability present in versions prior to 6.10.2 can craft a PDF which leads to long runtimes. This requires loading a PDF with a large trailer `/Size` value in incremental mode. This has been fixed in pypdf 6.10.2. As a workaround, one may apply the changes from the pa
nvd
CVE-2026-113789P4MEDIUMCVSS 6.0fixed in 6.21.02026-10-21
CVE-2026-113789 [MEDIUM] CWE-400 CVE-2026-113789: pypdf is a free and open-source pure-python PDF library. Prior to 6.21.0, an attacker can craft a PD 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.
nvd
CVE-2026-113791P4MEDIUMCVSS 6.0fixed in 6.21.02026-10-21
CVE-2026-113791 [MEDIUM] CWE-400 CVE-2026-113791: pypdf is a free and open-source pure-python PDF library. Prior to 6.21.0, an attacker can craft a PD 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.
nvd
CVE-2026-113790P4MEDIUMCVSS 6.0fixed in 6.21.02026-10-21
CVE-2026-113790 [MEDIUM] CWE-400 CVE-2026-113790: pypdf is a free and open-source pure-python PDF library. Prior to 6.21.0, an attacker can craft a PD 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.
nvd
CVE-2023-36810P4MEDIUMCVSS 6.5fixed in 1.27.92023-06-30
CVE-2023-36810 [MEDIUM] CWE-407 CVE-2023-36810: pypdf is a pure-python PDF library capable of splitting, merging, cropping, and transforming the pag pypdf is a pure-python PDF library capable of splitting, merging, cropping, and transforming the pages of PDF files. An attacker who uses this vulnerability can craft a PDF which leads to unexpected long runtime. This quadratic runtime blocks the current process and can utilize a single core of the CPU by 100%. It does not affect memory usage. This
nvd
CVE-2026-22690P4MEDIUMCVSS 5.3fixed in 6.6.02026-01-10
CVE-2026-22690 [MEDIUM] CWE-400 CVE-2026-22690: pypdf is a free and open-source pure-python PDF library. Prior to version 6.6.0, pypdf has possible pypdf is a free and open-source pure-python PDF library. Prior to version 6.6.0, pypdf has possible long runtimes for missing /Root object with large /Size values. An attacker who uses this vulnerability can craft a PDF which leads to possibly long runtimes for actually invalid files. This can be achieved by omitting the /Root entry in the trailer, w
nvd
CVE-2023-36807P4MEDIUMCVSS 6.5v2.10.52023-06-30
CVE-2023-36807 [MEDIUM] CWE-835 CVE-2023-36807: pypdf is a pure-python PDF library capable of splitting, merging, cropping, and transforming the pag pypdf is a pure-python PDF library capable of splitting, merging, cropping, and transforming the pages of PDF files. In version 2.10.5 an attacker who uses this vulnerability can craft a PDF which leads to an infinite loop. This infinite loop blocks the current process and can utilize a single core of the CPU by 100%. It does not affect memory usage
nvd
CVE-2026-82398P4MEDIUMCVSS 5.3fixed in 6.15.02026-08-31
CVE-2026-82398 [MEDIUM] CWE-407 CVE-2026-82398: pypdf is a free and open-source pure-python PDF library. Prior to 6.15.0, an attacker can craft a PD 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 performs immutable bytes concatenation in a one-byte loop, causing quadratic
nvd
CVE-2026-22691P4MEDIUMCVSS 5.3fixed in 6.6.02026-01-10
CVE-2026-22691 [MEDIUM] CWE-400 CVE-2026-22691: pypdf is a free and open-source pure-python PDF library. Prior to version 6.6.0, pypdf has possible pypdf is a free and open-source pure-python PDF library. Prior to version 6.6.0, pypdf has possible long runtimes for malformed startxref. An attacker who uses this vulnerability can craft a PDF which leads to possibly long runtimes for invalid startxref entries. When rebuilding the cross-reference table, PDF files with lots of whitespace characters
nvd
CVE-2026-28804P4MEDIUMCVSS 5.3fixed in 6.7.52026-03-06
CVE-2026-28804 [MEDIUM] CWE-407 CVE-2026-28804: pypdf is a free and open-source pure-python PDF library. Prior to version 6.7.5, an attacker who use pypdf is a free and open-source pure-python PDF library. Prior to version 6.7.5, an attacker who uses this vulnerability can craft a PDF which leads to long runtimes. This requires accessing a stream which uses the /ASCIIHexDecode filter. This issue has been patched in version 6.7.5.
nvd
CVE-2026-41168P4MEDIUMCVSS 5.3fixed in 6.10.12026-04-22
CVE-2026-41168 [MEDIUM] CWE-834 CVE-2026-41168: pypdf is a free and open-source pure-python PDF library. An attacker who uses a vulnerability presen pypdf is a free and open-source pure-python PDF library. An attacker who uses a vulnerability present in versions prior to 6.10.1 can craft a PDF which leads to long runtimes. This requires cross-reference streams with wrong large `/Size` values or object streams with wrong large `/N` values. This has been fixed in pypdf 6.10.1. As a workaround, one
nvd
Py-Pdf Pypdf vulnerabilities | cvebase