{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "source": "REFERENCES"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "afba8080e19d29a3c256a742b340995e695b35aa"
            },
            {
              "fixed": "7f226a2771da4b71ed0b72d414f0e59d76a3dae9"
            }
          ],
          "repo": "https://github.com/py-pdf/pypdf",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-fp3f-mc75-235c"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-400"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/71xxx/CVE-2026-71870.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "fixed": "6.15.0"
          }
        ],
        "source": "AFFECTED_FIELD"
      }
    ]
  },
  "details": "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.",
  "id": "CVE-2026-71870",
  "modified": "2026-08-09T03:30:26.708035843Z",
  "published": "2026-08-07T19:28:26.178Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/py-pdf/pypdf/releases/tag/6.15.0"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/71xxx/CVE-2026-71870.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/py-pdf/pypdf/security/advisories/GHSA-fp3f-mc75-235c"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-71870"
    },
    {
      "type": "FIX",
      "url": "https://github.com/py-pdf/pypdf/commit/afba8080e19d29a3c256a742b340995e695b35aa"
    },
    {
      "type": "FIX",
      "url": "https://github.com/py-pdf/pypdf/pull/3944"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "pypdf: Possible large memory usage for large /ToUnicode streams"
}