CVE catalog

CVE-2025-66019

pypdf: CVE-2025-66019

[CVE catalog]

Severity
Medium · CVSS 6.6CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Published
Source
[NVD] · [CVE record]
EPSS
0.36% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianpypdfsid6.21.1-1not affected
Debianpypdfforky6.21.1-1not affected
Debianpypdftrixie5.4.0-1not affected
Debianpypdfbookworm3.4.1-1+deb12u1not affected
PyPIpypdfNot reported6.4.0fixed
Opensusepython-pypdftumbleweed6.4.0-1.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
DebianpypdfsourcesidNot affectedunimportantNot reportedNot reported
DebianpypdfsourceforkyNot affectedunimportantNot reportedNot reported
DebianpypdfsourcetrixieNot affectedunimportantNot reportedNot reported
DebianpypdfsourcebookwormNot affectedunimportantNot reportedNot reported
PyPIpypdfPyPINot reported6.4.0Not reportedGHSA-M449-CWJH-6PW7Not reported
Opensusepython-pypdfrpmtumbleweed6.4.0-1.1Not reportedOPENSUSE-SU-2025:15776-1Not reported

OpenFactory catalog packages

[openSUSE Tumbleweed]

  • Source package: [python-pypdf]

    Details (1)
    • 6.16.2-1.1 · noarch · tumbleweed

      Unknown · Fixed: 6.4.0-1.1

      Version impact unknown

      dsa · python-pypdf · opensuse · tumbleweed

  • Source package: [python-pypdf]

    Details (1)
    • 6.16.2-1.1 · noarch · tumbleweed

      Unknown · Fixed: 6.4.0-1.1

      Version impact unknown

      dsa · python-pypdf · opensuse · tumbleweed

[Debian 12 (Bookworm)]

  • [python3-pypdf]Not affected

    Source package: [pypdf]

    Details (2)
    • 3.4.1-1+deb12u1 · all · bookworm

      Not affected

      dsa · pypdf · debian · bookworm

    • 3.4.1-1+deb12u1 · all · bookworm

      Not affected

      dsa · pypdf · debian · bookworm

Observed:

References