{"id":"CVE-2026-102998","published":"2026-09-30T20:09:13Z","modified":"2026-09-30T20:49:30Z","title":"pypdf: Possible long runtimes when generating appearance streams","vendor":"py-pdf","product":"pypdf","tier":"tail","description":{"text":"pypdf is a free and open-source pure-python PDF library. Prior to 6.19.0, a crafted PDF with form field values can cause pypdf/generic/_appearance_stream.py appearance-stream generation to repeat invariant selection-data work inside a loop when an application updates fields with flattening enabled, resulting in excessive runtimes and application unavailability. This issue is fixed in version 6.19.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0062,"percentile":0.44004,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"references":[{"url":"https://github.com/py-pdf/pypdf/security/advisories/GHSA-php9-fj8v-98fj","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/py-pdf/pypdf/pull/4087","tags":["x_refsource_MISC"]},{"url":"https://github.com/py-pdf/pypdf/commit/959467a9b95be83e2dc5ae873ece5f371263ede7","tags":["x_refsource_MISC"]},{"url":"https://github.com/py-pdf/pypdf/releases/tag/6.19.0","tags":["x_refsource_MISC"]}],"priority":{"score":14.9,"factors":[{"name":"EPSS percentile","points":8.8},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"py-pdf","affectedVersions":[{"vendor":"py-pdf","product":"pypdf","versions":["< 6.19.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-09-30T20:49:24.715485Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"pypdf","vulnerableRanges":["<6.19.0"],"patched":["6.19.0"],"from":["GHSA-php9-fj8v-98fj","PYSEC-2026-4157"],"provenance":"source"}],"summary":{"text":"The flaw is in pypdf's appearance-stream generation code (pypdf/generic/_appearance_stream.py), where invariant selection-data work is repeated inside a loop, causing uncontrolled resource consumption. An attacker who supplies a crafted PDF with form field values can cause excessive runtimes and application unavailability when an application updates fields with flattening enabled, with no authentication, configuration beyond that flattening setting, or user interaction required over the network.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:49:38Z"},"euvd":{"id":"EUVD-2026-90384","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-102995","published":"2026-09-30","fixed":"6.18.1","kev":false},{"cve":"CVE-2026-102996","published":"2026-09-30","fixed":"6.18.1","kev":false,"link":{"from":"CVE-2026-102996","to":"CVE-2026-102998","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:pypdf","fromFixed":"6.18.1","toFixed":"6.19.0","daysApart":0}]}},{"cve":"CVE-2026-102997","published":"2026-09-30","fixed":"6.18.1","kev":false},{"cve":"CVE-2026-102998","published":"2026-09-30","fixed":"6.19.0","kev":false},{"cve":"CVE-2026-102999","published":"2026-09-30","fixed":"6.19.0","kev":false},{"cve":"CVE-2026-103000","published":"2026-09-30","fixed":"6.19.0","kev":false},{"cve":"CVE-2026-113794","published":"2026-10-21","fixed":"6.20.0","kev":false}],"package":"PyPI:pypdf"}}