ADVISORIES

Vulnerability

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 or destination-string tokens in a font /ToUnicode CMap during text extraction. This issue is fixed in 6.15.0.

10 advisories report this vulnerability, across 6 ecosystems.

Advisories in PyPI

  • GHSA-fp3f-mc75-235c

    pypdf: Possible large memory usage for large /ToUnicode streams

    Moderate CVE-2026-71870 PyPI Updated 10 September 2026
  • PYSEC-2026-3655

    pypdf: Possible large memory usage for large /ToUnicode streams

    CVE-2026-71870 PyPI Updated 10 August 2026

References