CVE catalog

CVE-2025-55197

pypdf: CVE-2025-55197

[CVE catalog]

Severity
High · CVSS 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.48% · Oct 25, 2026

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 stream. Other content streams are affected on explicit access. This issue has been fixed in 6.0.0. If an update is not possible, a workaround involves including the fixed code from pypdf.filters.decompress into the existing filters file.

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-1fixed
Debianpypdfforky6.21.1-1fixed
Debianpypdftrixie5.4.0-1vulnerable
Debianpypdfbookworm3.4.1-1+deb12u1vulnerable
Debianpypdf2bookworm2.12.1-3+deb12u1vulnerable
PyPIpypdfNot reported6.0.0fixed
Opensusepython-PyPDF2tumbleweed2.11.1-4.1fixed
Opensusepython-pypdftumbleweed6.0.0-1.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianpypdfsourcesid6.9.0-1not yet assignedNot reported[1111139]
Debianpypdfsourceforky6.9.0-1not yet assignedNot reported[1111139]
Debianpypdfsourcetrixie(unfixed)not yet assignedNot reported[1111139]
Debianpypdfsourcebookworm(unfixed)not yet assignedNot reported[1111139]
Debianpypdf2sourcebookworm(unfixed)not yet assignedNot reportedNot reported
PyPIpypdfPyPINot reported6.0.0Not reportedGHSA-7HFW-26VP-JP8MNot reported
Opensusepython-PyPDF2rpmtumbleweed2.11.1-4.1Not reportedOPENSUSE-SU-2026:10238-1Not reported
Opensusepython-pypdfrpmtumbleweed6.0.0-1.1Not reportedOPENSUSE-SU-2025:15439-1Not reported

[Debian bug #1111139]

Notes

[trixie] pypdf: Minor issue [bookworm] pypdf: Minor issue [bookworm] pypdf2: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [python3-pypdf]Affected

    Source package: [pypdf]

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

      Affected

      dsa · pypdf · debian · bookworm; dsa · pypdf · debian · 12

    • 3.4.1-1+deb12u1 · all · bookworm

      Affected

      dsa · pypdf · debian · bookworm; dsa · pypdf · debian · 12

  • [python3-pypdf2]Affected

    Source package: [pypdf2]

    Details (2)
    • 2.12.1-3+deb12u1 · all · bookworm

      Affected

      dsa · pypdf2 · debian · bookworm; dsa · pypdf2 · debian · 12

    • 2.12.1-3+deb12u1 · all · bookworm

      Affected

      dsa · pypdf2 · debian · bookworm; dsa · pypdf2 · debian · 12

[Debian 13 (Trixie)]

  • [python3-pypdf]Affected

    Source package: [pypdf]

    Details (2)
    • 5.4.0-1 · all · trixie

      Affected

      dsa · pypdf · debian · 13

    • 5.4.0-1 · all · trixie

      Affected

      dsa · pypdf · debian · 13

[openSUSE Tumbleweed]

  • Source package: [python-pypdf]

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

      Unknown · Fixed: 6.0.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.0.0-1.1

      Version impact unknown

      dsa · python-pypdf · opensuse · tumbleweed

Observed:

References