CVE catalog

CVE-2026-59938

pypdf is a free and open-source pure-python PDF library. Prior to 6.14.0, an attacker can craft a PDF with declared image size values that are much too large compared to the actual data, causing large

[CVE catalog]

Severity
Medium · CVSS 6.9CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/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.52% · Oct 25, 2026

pypdf is a free and open-source pure-python PDF library. Prior to 6.14.0, an attacker can craft a PDF with declared image size values that are much too large compared to the actual data, causing large memory usage in pypdf image parsing. This issue is fixed in version 6.14.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-1fixed
Debianpypdfforky6.21.1-1fixed
Debianpypdftrixie5.4.0-1vulnerable
Debianpypdfbookworm3.4.1-1+deb12u1vulnerable
Debianpypdf2bookworm2.12.1-3+deb12u1vulnerable
CpepypdfNot reportedNot reportedvulnerable
Cpepypdf2Not reportedNot reportedvulnerable
CpepypdfNot reported6.14.0fixed
PippypdfNot reported6.14.0fixed
PyPIpypdfNot reported6.14.0fixed
PyPIpypdfNot reported6.14.0fixed
CpepypdfNot reported6.14.0fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianpypdfsourcesid6.19.0-1not yet assignedNot reported[1141771]
Debianpypdfsourceforky6.19.0-1not yet assignedNot reported[1141771]
Debianpypdfsourcetrixie(unfixed)not yet assignedNot reported[1141771]
Debianpypdfsourcebookworm(unfixed)not yet assignedNot reported[1141771]
Debianpypdf2sourcebookworm(unfixed)not yet assignedNot reportedNot reported
CpepypdfcpeNot reported6.14.0Not reportedNot reportedNot reported
PippypdfpipNot reported6.14.0Not reportedNot reportedNot reported
PyPIpypdfPyPINot reported6.14.0Not reportedPYSEC-2026-3611Not reported
PyPIpypdfPyPINot reported6.14.0Not reportedGHSA-5QJQ-93H5-HRGPNot reported
CpepypdfcpeNot reported6.14.0Not reportedNVD-CVE-2026-59938Not reported

[Debian bug #1141771]

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

      nvd · pypdf · debian · bookworm; nvd · pypdf · debian · 12

    • 3.4.1-1+deb12u1 · all · bookworm

      Affected

      nvd · pypdf · debian · bookworm; nvd · pypdf · debian · 12

  • [python3-pypdf2]Affected

    Source package: [pypdf2]

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

      Affected

      nvd · pypdf2 · debian · bookworm; nvd · pypdf2 · debian · 12

    • 2.12.1-3+deb12u1 · all · bookworm

      Affected

      nvd · pypdf2 · debian · bookworm; nvd · pypdf2 · debian · 12

[Debian 13 (Trixie)]

  • [python3-pypdf]Affected

    Source package: [pypdf]

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

      Affected

      nvd · pypdf · debian · 13

    • 5.4.0-1 · all · trixie

      Affected

      nvd · pypdf · debian · 13

Observed:

References