ADVISORIES

Vulnerability

CVE-2026-31826

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.

12 advisories report this vulnerability, across 6 ecosystems.

Advisories

  • CGA-246x-87p5-3g89
    CVE-2026-31826 Chainguard Updated 5 November 2026
  • CGA-29j8-f3w4-7625
    CVE-2026-31826 ChainguardWolfi Updated 5 November 2026
  • CGA-cmm8-6xrw-pcv3
    CVE-2026-31826 Chainguard Updated 5 November 2026
  • CGA-fxh3-3w76-2m4g
    CVE-2026-31826 Chainguard Updated 5 November 2026
  • CGA-r476-7v24-rrhx
    CVE-2026-31826 ChainguardWolfi Updated 5 November 2026
  • DEBIAN-CVE-2026-31826

    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…

    CVE-2026-31826 Debian Updated 3 November 2026
  • GHSA-hqmh-ppp3-xvm7

    pypdf: manipulated stream length values can exhaust RAM

    Moderate CVE-2026-31826 PyPI Updated 10 September 2026
  • PYSEC-2026-3019

    pypdf: manipulated stream length values can exhaust RAM

    CVE-2026-31826 PyPI Updated 13 July 2026
  • UBUNTU-CVE-2026-31826

    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…

    CVE-2026-31826 Ubuntu Updated 17 October 2026
  • openSUSE-SU-2026:10332-1

    python311-PyPDF2-2.11.1-7.1 on GA media

    CVE-2026-31826 openSUSE Updated 14 March 2026
  • openSUSE-SU-2026:10334-1

    python311-pypdf-6.8.0-1.1 on GA media

    CVE-2026-31826 openSUSE Updated 14 March 2026
  • openSUSE-SU-2026:20375-1

    Security update for python-PyPDF2

    CVE-2026-31826 openSUSE Updated 27 August 2026

References