p PatchFirst

PatchFirst · Latest vulnerabilities

pypdf vulnerabilities · Page 3

Vulnerabilities published for pypdf in the last 30 days: 19. Listed in the KEV catalogue: 0.

Filter vulnerabilities
Clear filters

Vulnerabilities: 62

  1. CVE-2026-41312

    Medium · CVSS 4.8EPSS 0.23%No fix published

    pypdf: Manipulated FlateDecode predictor parameters can exhaust RAM

    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. As a workaround, one may apply the changes from the patch manually.

    Published Updated
  2. CVE-2026-41168

    Medium · CVSS 6.9EPSS 0.3%No fix published

    pypdf has possible long runtimes for wrong size values in cross-reference and object streams

    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 may apply the changes from the patch manually.

    Published Updated
  3. CVE-2026-40260

    Medium · CVSS 6.9EPSS 0.42%No fix published

    pypdf: Manipulated XMP metadata entity declarations can exhaust RAM

    pypdf is a free and open-source pure-python PDF library. In versions prior to 6.10.0, manipulated XMP metadata entity declarations can exhaust RAM. An attacker who exploits this vulnerability can craft a PDF which leads to large memory usage. This requires parsing the XMP metadata. This issue has been fixed in version 6.10.0.

    Published Updated
  4. CVE-2026-33699

    Medium · CVSS 4.6EPSS 0.47%No fix published

    pypdf: Possible infinite loop during recovery attempts in DictionaryObject.read_from_stream

    pypdf is a free and open-source pure-python PDF library. Versions prior to 6.9.2 have a vulnerability in which an attacker can craft a PDF which leads to an infinite loop. This requires reading a file in non-strict mode. This has been fixed in pypdf 6.9.2. If users cannot upgrade yet, consider applying the changes from the patch manually.

    Published Updated
  5. CVE-2026-33123

    Medium · CVSS 5.1EPSS 0.36%No fix published

    pypdf has inefficient decoding of array-based streams

    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.

    Published Updated
  6. CVE-2026-31826

    Medium · CVSS 6.8EPSS 0.18%No fix published

    pypdf: manipulated stream length values can exhaust RAM

    pypdf is a free and open-source pure-python PDF library. Prior to 6.8.0, an attacker who uses this vulnerability can craft a PDF which leads to large memory usage. This requires parsing a content stream with a rather large /Length value, regardless of the actual data length inside the stream. This vulnerability is fixed in 6.8.0.

    Published Updated
  7. CVE-2026-28804

    Medium · CVSS 6.9EPSS 0.41%No fix published

    pypdf: Inefficient decoding of ASCIIHexDecode streams

    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.

    Published Updated
  8. CVE-2026-28351

    Medium · CVSS 6.9EPSS 0.48%No fix published

    Manipulated RunLengthDecode streams can exhaust RAM

    pypdf is a free and open-source pure-python PDF library. Prior to version 6.7.4, an attacker who uses this vulnerability can craft a PDF which leads to large memory usage. This requires parsing the content stream using the RunLengthDecode filter. This has been fixed in pypdf 6.7.4. As a workaround, consider applying the changes from PR #3664.

    Published Updated
  9. CVE-2026-27888

    Medium · CVSS 6.6EPSS 0.4%No fix published

    pypdf: Manipulated FlateDecode XFA streams can exhaust RAM

    pypdf is a free and open-source pure-python PDF library. Prior to 6.7.3, an attacker who uses this vulnerability can craft a PDF which leads to the RAM being exhausted. This requires accessing the `xfa` property of a reader or writer and the corresponding stream being compressed using `/FlateDecode`. This has been fixed in pypdf 6.7.3. As a workaround, apply the patch manually.

    Published Updated
  10. CVE-2026-27628

    Low · CVSS 1.2EPSS 0.4%No fix published

    pypdf has a possible infinite loop when loading circular /Prev entries in cross-reference streams

    pypdf is a free and open-source pure-python PDF library. Prior to 6.7.2, an attacker who uses this vulnerability can craft a PDF which leads to an infinite loop. This requires reading the file. This has been fixed in pypdf 6.7.2. As a workaround, one may apply the patch manually.

    Published Updated
  11. CVE-2026-27026

    Medium · CVSS 6.9EPSS 0.19%No fix published

    pypdf possibly has long runtimes for malformed FlateDecode streams

    pypdf is a free and open-source pure-python PDF library. Prior to 6.7.1, an attacker who uses this vulnerability can craft a PDF which leads to long runtimes. This requires a malformed /FlateDecode stream, where the byte-by-byte decompression is used. This vulnerability is fixed in 6.7.1.

    Published Updated
  12. CVE-2026-27025

    Medium · CVSS 6.9EPSS 0.19%No fix published

    pypdf has possible long runtimes/large memory usage for large /ToUnicode streams

    pypdf is a free and open-source pure-python PDF library. Prior to 6.7.1, an attacker who uses this vulnerability can craft a PDF which leads to long runtimes and large memory consumption. This requires parsing the /ToUnicode entry of a font with unusually large values, for example during text extraction. This vulnerability is fixed in 6.7.1.

    Published Updated
  13. CVE-2026-27024

    Medium · CVSS 6.9EPSS 0.19%No fix published

    pypdf has a possible infinite loop when processing TreeObject

    pypdf is a free and open-source pure-python PDF library. Prior to 6.7.1, an attacker who uses this vulnerability can craft a PDF which leads to an infinite loop. This requires accessing the children of a TreeObject, for example as part of outlines. This vulnerability is fixed in 6.7.1.

    Published Updated
  14. CVE-2026-24688

    Medium · CVSS 5.1EPSS 0.45%No fix published

    pypdf has possible Infinite Loop when processing outlines/bookmarks

    pypdf is a free and open-source pure-python PDF library. An attacker who uses an infinite loop vulnerability that is present in versions prior to 6.6.2 can craft a PDF which leads to an infinite loop. This requires accessing the outlines/bookmarks. This has been fixed in pypdf 6.6.2. If projects cannot upgrade yet, consider applying the changes from PR #3610 manually.

    Published Updated
  15. CVE-2026-22691

    Low · CVSS 2.7EPSS 0.43%No fix published

    pypdf has possible long runtimes for malformed startxref

    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 become problematic. Only the non-strict reading mode is affected. Only the non-strict reading mode is affected. This issue has been patched in version 6.6.0.

    Published Updated
  16. CVE-2026-22690

    Low · CVSS 2.7EPSS 0.43%No fix published

    pypdf has possible long runtimes for missing /Root object with large /Size values

    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, while using a rather large /Size value. Only the non-strict reading mode is affected. This issue has been patched in version 6.6.0.

    Published Updated
  17. CVE-2025-66019

    Medium · CVSS 6.6EPSS 0.39%No fix published

    pypdf manipulated LZWDecode streams can exhaust RAM

    pypdf is a free and open-source pure-python PDF library. Prior to version 6.4.0, an attacker who uses this vulnerability can craft a PDF which leads to a memory usage of up to 1 GB per stream. This requires parsing the content stream of a page using the LZWDecode filter. This issue has been patched in version 6.4.0.

    Published Updated
  18. CVE-2025-62708

    Medium · CVSS 6.6EPSS 0.44%No fix published

    pypdf manipulated LZWDecode streams can exhaust RAM

    pypdf is a free and open-source pure-python PDF library. Prior to version 6.1.3, an attacker who uses this vulnerability can craft a PDF which leads to large memory usage. This requires parsing the content stream of a page using the LZWDecode filter. This has been fixed in pypdf version 6.1.3.

    Published Updated
  19. CVE-2025-62707

    Medium · CVSS 6.6EPSS 0.44%No fix published

    pypdf affected by possible infinite loop when reading DCT inline images without EOF marker

    pypdf is a free and open-source pure-python PDF library. Prior to version 6.1.3, an attacker who uses this vulnerability can craft a PDF which leads to an infinite loop. This requires parsing the content stream of a page which has an inline image using the DCTDecode filter. This has been fixed in pypdf version 6.1.3.

    Published Updated
  20. CVE-2025-55197

    Medium · CVSS 6.6EPSS 0.48%No fix published

    pypdf's Manipulated FlateDecode streams can exhaust RAM

    pypdf is a free and open-source pure-python PDF library. Prior to version 6.0.0, an attacker can craft a PDF which leads to the RAM being exhausted. This requires just reading the file if a series of FlateDecode filters is used on a malicious cross-reference stream. Other content streams are affected on explicit access. This issue has been fixed in 6.0.0. If an update is not possible, a workaround involves including the fixed code from pypdf.filters.decompress into the existing filters file.

    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →