ADVISORIES

Vulnerability

CVE-2026-40260

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.

12 advisories report this vulnerability, across 6 ecosystems.

Advisories

  • CGA-7rcr-qqq5-2362
    CVE-2026-40260 ChainguardWolfi Updated 5 November 2026
  • CGA-pjc2-fqwh-q2fc
    CVE-2026-40260 ChainguardWolfi Updated 5 November 2026
  • CGA-pw95-9hpm-9qpg
    CVE-2026-40260 Chainguard Updated 5 November 2026
  • CGA-whrv-xm36-8qcg
    CVE-2026-40260 Chainguard Updated 5 November 2026
  • CGA-wpgq-m8fm-3ch2
    CVE-2026-40260 Chainguard Updated 5 November 2026
  • DEBIAN-CVE-2026-40260

    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…

    CVE-2026-40260 Debian Updated 3 November 2026
  • GHSA-3crg-w4f6-42mx

    pypdf: Manipulated XMP metadata entity declarations can exhaust RAM

    Moderate CVE-2026-40260 PyPI Updated 10 September 2026
  • PYSEC-2026-3006

    pypdf: Manipulated XMP metadata entity declarations can exhaust RAM

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

    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…

    CVE-2026-40260 Ubuntu Updated 17 October 2026
  • openSUSE-SU-2026:10582-1

    python311-PyPDF2-2.11.1-9.1 on GA media

    CVE-2026-40260 openSUSE Updated 21 April 2026
  • openSUSE-SU-2026:10583-1

    python311-pypdf-6.10.2-1.1 on GA media

    CVE-2026-40260 openSUSE Updated 21 April 2026
  • openSUSE-SU-2026:20598-1

    Security update for python-PyPDF2

    CVE-2026-40260 openSUSE Updated 27 August 2026

References