{"schema":"threatline.record/2","record":{"id":"CVE-2026-102998","aliases":["GHSA-php9-fj8v-98fj","PYSEC-2026-4157"],"summary":"pypdf: Possible long runtimes when generating appearance streams","details":"### Impact\n\nAn attacker who uses this vulnerability can craft a PDF which leads to long runtimes. This requires updating form field values with flattening enabled, which triggers appearance stream generation.\n\n### Patches\n\nThis has been fixed in [pypdf==6.19.0](https://github.com/py-pdf/pypdf/releases/tag/6.19.0).\n\n### Workarounds\n\nIf you cannot upgrade yet, consider applying the changes from PR [#4087](https://github.com/py-pdf/pypdf/pull/4087).","categories":["Libraries & packages"],"product":"pypdf","vendor":"py-pdf","ecosystem":"pip","affected_ranges":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-php9-fj8v-98fj","source_modified_at":"2026-10-01T15:07:24Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"pip","name":"pypdf"},"range":"< 6.19.0"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-102998","source_modified_at":"2026-09-30T20:49:30.419Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"pypdf","vendor":"py-pdf","versions":[{"version":"< 6.19.0","status":"affected"}],"defaultStatus":null},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-php9-fj8v-98fj","source_modified_at":"2026-10-01T17:55:51.350316142Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"PyPI","name":"pypdf","purl":"pkg:pypi/pypdf"},"ranges":[{"events":[{"introduced":"0"},{"fixed":"6.19.0"}],"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-php9-fj8v-98fj","source_modified_at":"2026-10-01T15:07:24Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"pip","name":"pypdf"},"version":"6.19.0"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-php9-fj8v-98fj","source_modified_at":"2026-10-01T17:55:51.350316142Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"PyPI","name":"pypdf","purl":"pkg:pypi/pypdf"},"version":"6.19.0"}],"cvss":8.7,"severity":"High","kev":{"listed":false},"epss":{"probability":0.00345,"percentile":0.26811,"score_date":"2026-10-23"},"published_at":"2026-09-30T20:09:13.634Z","modified_at":"2026-10-01T17:55:51.350316142Z","provenance":[{"source":"GitHub Advisory Database","url":"https://github.com/advisories/GHSA-php9-fj8v-98fj","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-01T15:07:24Z"},{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-102998","fetched_at":"2026-10-23T18:45:31.882637Z","source_modified_at":"2026-09-30T20:49:30.419Z"},{"source":"OSV","url":"https://osv.dev/vulnerability/GHSA-php9-fj8v-98fj","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-01T17:55:51.350316142Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-102998","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-php9-fj8v-98fj","tags":["x_refsource_CONFIRM"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-102998","source":"GitHub Advisory Database"},{"source":"CVE List","url":"https://github.com/py-pdf/pypdf/pull/4087","tags":["x_refsource_MISC"]},{"source":"CVE List","url":"https://github.com/py-pdf/pypdf/commit/959467a9b95be83e2dc5ae873ece5f371263ede7","tags":["x_refsource_MISC"]},{"source":"CVE List","url":"https://github.com/py-pdf/pypdf/releases/tag/6.19.0","tags":["x_refsource_MISC"]},{"url":"https://github.com/advisories/GHSA-php9-fj8v-98fj","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:49:24.715485Z"},"classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"product","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-10-01T17:55:51.350316142Z","content_hash":"0a06222d110c205ea72cb396e483144221f99b067ebc5cdc54aeba5de0e55946"}}
