{
  "id": "CVE-2026-102996",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-102996",
  "published_at": "2026-09-30T20:03:55.88Z",
  "title": "pypdf: Possible large memory usage when parsing font data",
  "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 can provide a TrueType or Type1 simple font with an unusually large /Widths array, causing pypdf/_font.py Font._collect_tt_t1_character_widths to process entries beyond the 256 character codes meaningful for a simple font and consume excessive memory during operations such as text extraction. 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-g9cg-prrw-2r8q"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/py-pdf/pypdf/pull/4072"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/py-pdf/pypdf/commit/0fb26eb8cdd01c44b3b2c9fe8329751be2f7cfd5"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/py-pdf/pypdf/releases/tag/6.18.1"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
