CVE catalog

CVE-2026-71870

pypdf is a free and open-source pure-python PDF library. Prior to 6.15.0, a crafted PDF can cause large memory consumption when pypdf/_cmap.py function parse_bfrange parses unusually large source-code

[CVE catalog]

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

pypdf is a free and open-source pure-python PDF library. Prior to 6.15.0, a crafted PDF can cause large memory consumption when pypdf/_cmap.py function parse_bfrange parses unusually large source-code or destination-string tokens in a font /ToUnicode CMap during text extraction. This issue is fixed in 6.15.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
PippypdfNot reported6.15.0fixed
PyPIpypdfNot reported6.15.0fixed
PyPIpypdfNot reported6.15.0fixed
CpepypdfNot reported6.15.0fixed
Opensusepython-pypdftumbleweed6.16.2-1.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianpypdfsourcesid6.19.0-1not yet assignedNot reported[1143902]
Debianpypdfsourceforky6.19.0-1not yet assignedNot reported[1143902]
Debianpypdfsourcetrixie(unfixed)not yet assignedNot reported[1143902]
Debianpypdfsourcebookworm(unfixed)not yet assignedNot reported[1143902]
Debianpypdf2sourcebookworm(unfixed)not yet assignedNot reportedNot reported
PippypdfpipNot reported6.15.0Not reportedNot reportedNot reported
PyPIpypdfPyPINot reported6.15.0Not reportedPYSEC-2026-3655Not reported
PyPIpypdfPyPINot reported6.15.0Not reportedGHSA-FP3F-MC75-235CNot reported
CpepypdfcpeNot reported6.15.0Not reportedNVD-CVE-2026-71870Not reported
Opensusepython-pypdfrpmtumbleweed6.16.2-1.1Not reportedOPENSUSE-SU-2026:11588-1Not reported

[Debian bug #1143902]

Notes

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

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

[openSUSE Tumbleweed]

  • Source package: [python-pypdf]

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

      Unknown · Fixed: 6.16.2-1.1

      Version impact unknown

      nvd · python-pypdf · opensuse · tumbleweed

  • Source package: [python-pypdf]

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

      Unknown · Fixed: 6.16.2-1.1

      Version impact unknown

      nvd · python-pypdf · opensuse · tumbleweed

Observed:

References