CVE catalog

CVE-2026-28351

pypdf is a free and open-source pure-python PDF library. Prior to version 6.7.4, an attacker who uses this vulnerability can craft a PDF which leads to large memory usage. This requires parsing the co

[CVE catalog]

Severity
Medium · CVSS 6.9
Published
Source
[NVD] · [CVE record]
EPSS
0.48% · Oct 27, 2026

pypdf is a free and open-source pure-python PDF library. Prior to version 6.7.4, an attacker who uses this vulnerability can craft a PDF which leads to large memory usage. This requires parsing the content stream using the RunLengthDecode filter. This has been fixed in pypdf 6.7.4. As a workaround, consider applying the changes from PR #3664.

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
PippypdfNot reported6.7.4fixed
CpepypdfNot reportedNot reportedvulnerable
Cpepypdf2Not reportedNot reportedvulnerable
PyPIpypdfNot reported6.7.4fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianpypdfsourcesid6.9.0-1not yet assignedNot reported[1130043]
Debianpypdfsourceforky6.9.0-1not yet assignedNot reported[1130043]
Debianpypdfsourcetrixie(unfixed)not yet assignedNot reported[1130043]
Debianpypdfsourcebookworm(unfixed)not yet assignedNot reported[1130043]
Debianpypdf2sourcebookworm(unfixed)not yet assignedNot reportedNot reported
PippypdfpipNot reported6.7.4Not reportedNot reportedNot reported
PyPIpypdfPyPINot reported6.7.4Not reportedGHSA-F2V5-7JQ9-H8CGNot reported

[Debian bug #1130043]

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