CVE catalog

CVE-2025-62707

pypdf: CVE-2025-62707

[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.44% · Oct 25, 2026

pypdf is a free and open-source pure-python PDF library. Prior to version 6.1.3, an attacker who uses this vulnerability can craft a PDF which leads to an infinite loop. This requires parsing the content stream of a page which has an inline image using the DCTDecode filter. This has been fixed in pypdf version 6.1.3.

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+deb12u1not affected
PyPIpypdfNot reported6.1.3fixed
CpepypdfNot reported6.1.3fixed
Opensusepython-pypdftumbleweed6.1.3-1.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianpypdfsourcesid6.9.0-1not yet assignedNot reported[1118755]
Debianpypdfsourceforky6.9.0-1not yet assignedNot reported[1118755]
Debianpypdfsourcetrixie(unfixed)not yet assignedNot reported[1118755]
DebianpypdfsourcebookwormNot affectedunimportantNot reported[1118755]
PyPIpypdfPyPINot reported6.1.3Not reportedGHSA-VR63-X8VC-M265Not reported
CpepypdfcpeNot reported6.1.3Not reportedNVD-CVE-2025-62707Not reported
Opensusepython-pypdfrpmtumbleweed6.1.3-1.1Not reportedOPENSUSE-SU-2025:15664-1Not reported

[Debian bug #1118755]

Notes

[trixie] pypdf: Minor issue

OpenFactory catalog packages

[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.1.3-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.1.3-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