{
  "id": "CVE-2026-102997",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-102997",
  "published_at": "2026-09-30T20:05:51.538Z",
  "title": "pypdf: Possible long runtimes for partially malformed FlateDecode streams (Follow-up)",
  "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.18.1, a crafted PDF containing a partially malformed /FlateDecode stream with padded data can force pypdf/filters.py to use inefficient byte-by-byte decompression while the earlier recovery counter fails to advance for bytes that successfully decode, causing long runtimes and application unavailability. This is a residual issue after the malformed FlateDecode recovery fix. This issue is fixed in version 6.18.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.18.1"
        ],
        "fixed_in": [
          "6.18.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade pypdf to 6.18.1 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/py-pdf/pypdf/security/advisories/GHSA-jw7q-gvrg-4vj3"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/py-pdf/pypdf/pull/4073"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/py-pdf/pypdf/commit/d9d38cf99b115deb562d3b68f36c33027bc04f79"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/py-pdf/pypdf/releases/tag/6.18.1"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
