ADVISORIES

Vulnerability

CVE-2025-66019

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.

7 advisories report this vulnerability, across 5 ecosystems.

Advisories

  • CGA-hcrw-v7mc-cj3v
    CVE-2025-66019 ChainguardWolfi Updated 5 November 2026
  • CGA-m9p9-46mc-4fwh
    CVE-2025-66019 Chainguard Updated 5 November 2026
  • CGA-xp7w-cvvw-fj8j
    CVE-2025-66019 ChainguardWolfi Updated 5 November 2026
  • GHSA-m449-cwjh-6pw7

    pypdf's LZWDecode streams be manipulated to exhaust RAM

    Moderate CVE-2025-66019 PyPI Updated 10 September 2026
  • PYSEC-2026-1832

    pypdf's LZWDecode streams be manipulated to exhaust RAM

    CVE-2025-66019 PyPI Updated 7 July 2026
  • UBUNTU-CVE-2025-66019

    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…

    CVE-2025-66019 Ubuntu Updated 24 November 2026
  • openSUSE-SU-2025:15776-1

    python311-pypdf-6.4.0-1.1 on GA media

    CVE-2025-66019 openSUSE Updated 23 March 2026

References