{
  "id": "CVE-2025-62707",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-62707",
  "published_at": "2025-10-22T21:36:32.754Z",
  "title": "pypdf affected by possible infinite loop when reading DCT inline images without EOF marker",
  "vendor": "py-pdf",
  "product": "pypdf",
  "cvss": {
    "score": 7.5,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  },
  "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 version 6.1.3, an attacker who uses this vulnerability can craft a PDF which leads to an infinite loop. This requires parsing the content stream of a page which has an inline image using the DCTDecode filter. This has been fixed in pypdf version 6.1.3.",
  "cwe": "CWE-834",
  "cpes": [
    "cpe:2.3:a:py-pdf:pypdf:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 6.6,
    "nvd": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "py-pdf",
        "product": "pypdf",
        "ranges": [
          "\u003c 6.1.3"
        ],
        "fixed_in": [
          "6.1.3"
        ]
      }
    ],
    "upgrade": [
      "Upgrade pypdf to 6.1.3 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/py-pdf/pypdf/security/advisories/GHSA-vr63-x8vc-m265"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/py-pdf/pypdf/pull/3501"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/py-pdf/pypdf/commit/f2864d6dd9bac7cecd3f4f54308b25ebbfa178f8"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/py-pdf/pypdf/releases/tag/6.1.3"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
