{
  "id": "CVE-2026-59936",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-59936",
  "published_at": "2026-07-08T19:34:22.61Z",
  "title": "pypdf: Possible infinite loop for not terminated inline images",
  "vendor": "py-pdf",
  "product": "pypdf",
  "cvss": {
    "score": 8.7,
    "source": "cna",
    "vector": "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"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "pypdf is a free and open-source pure-python PDF library. Prior to 6.14.1, an attacker can craft a PDF with a page content stream containing a not terminated inline image, causing an infinite loop during inline image end marker detection such as when extracting page text. This issue is fixed in version 6.14.1.",
  "cwe": "CWE-400",
  "cpes": [
    "cpe:2.3:a:py-pdf:pypdf:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.7,
    "nvd": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "py-pdf",
        "product": "pypdf",
        "ranges": [
          "\u003c 6.14.1"
        ],
        "fixed_in": [
          "6.14.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade pypdf to 6.14.1 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/py-pdf/pypdf/security/advisories/GHSA-5xf7-4p34-54qr"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/py-pdf/pypdf/pull/3891"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/py-pdf/pypdf/commit/ec3b14596186c40caca7cf8ab9b2155203e01b5b"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/py-pdf/pypdf/releases/tag/6.14.1"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
