{"schema":"threatline.record/2","record":{"id":"CVE-2026-102996","aliases":["GHSA-g9cg-prrw-2r8q","PYSEC-2026-4155"],"summary":"pypdf: Possible large memory usage when parsing font data","details":"### Impact\n\nAn attacker who uses this vulnerability can craft a PDF which leads to large memory consumption. This requires parsing the `/Widths` entry of a TrueType or Type1 fonts with unusually large values, for example during text extraction.\n\n### Patches\n\nThis has been fixed in [pypdf==6.18.1](https://github.com/py-pdf/pypdf/releases/tag/6.18.1).\n\n### Workarounds\n\nIf you cannot upgrade yet, consider applying the changes from PR [#4072](https://github.com/py-pdf/pypdf/pull/4072).","categories":["Libraries & packages"],"product":"pypdf","vendor":"py-pdf","ecosystem":"pip","affected_ranges":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-g9cg-prrw-2r8q","source_modified_at":"2026-10-01T15:06:14Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"pip","name":"pypdf"},"range":"< 6.18.1"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-102996","source_modified_at":"2026-09-30T20:48:39.148Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"pypdf","vendor":"py-pdf","versions":[{"version":"< 6.18.1","status":"affected"}],"defaultStatus":null},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-g9cg-prrw-2r8q","source_modified_at":"2026-10-01T17:55:49.593652911Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"PyPI","name":"pypdf","purl":"pkg:pypi/pypdf"},"ranges":[{"events":[{"introduced":"0"},{"fixed":"6.18.1"}],"type":"ECOSYSTEM"}],"versions":["1.0","1.1","1.10","1.11","1.12","1.13","1.2","1.3","1.4","1.5","1.6","1.7","1.8","1.9","3.1.0","3.10.0","3.11.0","3.11.1","3.12.0","3.12.1","3.12.2","3.13.0","3.14.0","3.15.0","3.15.1","3.15.2","3.15.3","3.15.4","3.15.5","3.16.0","3.16.1","3.16.2","3.16.3","3.16.4","3.17.0","3.17.1","3.17.2","3.17.3","3.17.4","3.2.0","3.2.1","3.3.0","3.4.0","3.4.1","3.5.0","3.5.1","3.5.2","3.6.0","3.7.0","3.7.1"]}],"fixed_versions":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-g9cg-prrw-2r8q","source_modified_at":"2026-10-01T15:06:14Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"pip","name":"pypdf"},"version":"6.18.1"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-g9cg-prrw-2r8q","source_modified_at":"2026-10-01T17:55:49.593652911Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"PyPI","name":"pypdf","purl":"pkg:pypi/pypdf"},"version":"6.18.1"}],"cvss":8.7,"severity":"High","kev":{"listed":false},"epss":{"probability":0.00345,"percentile":0.26812,"score_date":"2026-10-23"},"published_at":"2026-09-30T20:03:55.880Z","modified_at":"2026-10-01T17:55:49.593652911Z","provenance":[{"source":"GitHub Advisory Database","url":"https://github.com/advisories/GHSA-g9cg-prrw-2r8q","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-01T15:06:14Z"},{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-102996","fetched_at":"2026-10-23T18:45:31.882637Z","source_modified_at":"2026-09-30T20:48:39.148Z"},{"source":"OSV","url":"https://osv.dev/vulnerability/GHSA-g9cg-prrw-2r8q","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-01T17:55:49.593652911Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-102996","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["GitHub Advisory Database","CVE List","OSV","EPSS"],"references":[{"source":"CVE List","url":"https://github.com/py-pdf/pypdf/security/advisories/GHSA-g9cg-prrw-2r8q","tags":["x_refsource_CONFIRM"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-102996","source":"GitHub Advisory Database"},{"source":"CVE List","url":"https://github.com/py-pdf/pypdf/pull/4072","tags":["x_refsource_MISC"]},{"source":"CVE List","url":"https://github.com/py-pdf/pypdf/commit/0fb26eb8cdd01c44b3b2c9fe8329751be2f7cfd5","tags":["x_refsource_MISC"]},{"source":"CVE List","url":"https://github.com/py-pdf/pypdf/releases/tag/6.18.1","tags":["x_refsource_MISC"]},{"url":"https://github.com/advisories/GHSA-g9cg-prrw-2r8q","source":"GitHub Advisory Database"}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"partial","assessed_at":"2026-09-30T20:48:29.732492Z"},"classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"product","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-10-01T17:55:49.593652911Z","content_hash":"3544c4c7a957dedcdc90f40f5f146693660772ceef11c2eac9afb66053285ab4"}}
