{
  "id": "CVE-2025-55197",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-55197",
  "published_at": "2025-08-13T23:03:02.018Z",
  "title": "pypdf's Manipulated FlateDecode streams can exhaust RAM",
  "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.0.0, an attacker can craft a PDF which leads to the RAM being exhausted. This requires just reading the file if a series of FlateDecode filters is used on a malicious cross-reference stream. Other content streams are affected on explicit access. This issue has been fixed in 6.0.0. If an update is not possible, a workaround involves including the fixed code from pypdf.filters.decompress into the existing filters file.",
  "cwe": "CWE-400",
  "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.0.0"
        ],
        "fixed_in": [
          "6.0.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade pypdf to 6.0.0 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/py-pdf/pypdf/security/advisories/GHSA-7hfw-26vp-jp8m"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/py-pdf/pypdf/pull/3430"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/py-pdf/pypdf/releases/tag/6.0.0"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
