Skip to content
OpenAdvisories

Package · Debian

pypdf2

63 known vulnerabilities.

63 results · Feed

  • Medium 4.8

    pypdf: Manipulated FlateDecode image dimensions 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 an image using `/FlateDecode` with large size val…

  • Medium 4.8

    pypdf: Possible long runtimes for wrong size values in incremental mode

    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.…

  • Medium 4.8

    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 `…

  • Medium 6.9

    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 str…

  • Medium 6.9

    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 pa…

  • Medium 4.6

    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…

  • Medium 5.1

    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 i…

  • Medium 6.8

    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 act…

  • Medium 6.9

    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 …

  • Medium 6.9

    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 bee…

  • Medium 6.6

    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 str…

  • Low 1.2

    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 appl…

  • Medium 6.9

    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 vu…

  • Medium 6.9

    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 lar…

  • Medium 6.9

    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 vulne…

  • Medium 5.1
    CVE-2026-24688 Public exploit

    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 b…

  • Low 2.7

    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 entr…

  • Low 2.7

    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 f…

  • Medium 6.6

    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 …

  • Medium 6.2

    Quadratic runtime with malformed PDF missing xref marker in pypdf

    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 proc…

  • Medium 6.2

    Infinite Loop when reading malformed objects in pypdf

    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 curre…

  • Medium 6.2

    Infinite Loop when a comment isn't followed by a character in pypdf

    pypdf is an open source, pure-python PDF library. In affected versions an attacker may craft a PDF which leads to an infinite loop if `__parse_content_stream` is executed. That is, for example, the case if the user extracted text from such a PDF. This issue w…

  • Medium 6.2

    Manipulated inline images can cause Infinite Loop in PyPDF2

    PyPDF2 is an open source python PDF library capable of splitting, merging, cropping, and transforming the pages of PDF files. In versions prior to 1.27.5 an attacker who uses this vulnerability can craft a PDF which leads to an infinite loop if the PyPDF2 if …