{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:pypdf_project:pypdf:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "6.14.2"
              }
            ],
            "source": [
              "CPE_RANGE",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2266ee853d1420c8774f6657ce3b8f1502cac713"
            },
            {
              "fixed": "5a33a46416aa1ae6c025ff90a3cca57631fdafd2"
            }
          ],
          "repo": "https://github.com/py-pdf/pypdf",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-g867-7843-wf8q"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-835"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59935.json"
  },
  "details": "pypdf is a free and open-source pure-python PDF library. Prior to 6.14.2, an attacker can craft a PDF with a page content stream containing a not terminated inline image that uses the ASCII85 or ASCIIHex filters, causing an infinite loop during parsing such as when extracting page text. This issue is fixed in version 6.14.2.",
  "id": "CVE-2026-59935",
  "modified": "2026-07-15T01:48:59.091168171Z",
  "published": "2026-07-08T19:34:15.078Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/py-pdf/pypdf/releases/tag/6.14.2"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59935.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/py-pdf/pypdf/security/advisories/GHSA-g867-7843-wf8q"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-59935"
    },
    {
      "type": "FIX",
      "url": "https://github.com/py-pdf/pypdf/commit/5a33a46416aa1ae6c025ff90a3cca57631fdafd2"
    },
    {
      "type": "FIX",
      "url": "https://github.com/py-pdf/pypdf/pull/3892"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "pypdf: Possible infinite loop for not terminated inline images (ASCII85 and ASCIIHex filter)"
}