{"id":"CVE-2026-102994","published":"2026-09-30T19:57:37Z","modified":"2026-09-30T20:50:16Z","title":"pypdf: Possible long runtimes/large memory usage when parsing indirect objects","vendor":"py-pdf","product":"pypdf","tier":"tail","description":{"text":"pypdf is a free and open-source pure-python PDF library. Prior to 6.18.0, a crafted PDF containing indirect-object identifiers or generation-number tokens that continue for a long time without whitespace can cause pypdf/_reader.py and pypdf/generic/_base.py to scan excessive input through read_until_whitespace, resulting in long runtimes and application unavailability. This issue is fixed in version 6.18.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.4402,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"},{"id":"CWE-407","name":"Inefficient Algorithmic Complexity"}],"references":[{"url":"https://github.com/py-pdf/pypdf/security/advisories/GHSA-5jq2-8x83-x246","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/py-pdf/pypdf/pull/4055","tags":["x_refsource_MISC"]},{"url":"https://github.com/py-pdf/pypdf/commit/82501d2993c6387833c4949d205caeb188f8bb9e","tags":["x_refsource_MISC"]},{"url":"https://github.com/py-pdf/pypdf/releases/tag/6.18.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.18.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-09-30T20:50:09.677694Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"pypdf","vulnerableRanges":["<6.18.0"],"patched":["6.18.0"],"from":["GHSA-5jq2-8x83-x246","PYSEC-2026-4153"],"provenance":"source"}],"summary":{"text":"pypdf, a pure-Python PDF library, contains a flaw in its parser for indirect objects in pypdf/_reader.py and pypdf/generic/_base.py, where the read_until_whitespace routine scans excessively long input when indirect-object identifiers or generation-number tokens run on without whitespace. An attacker who can supply a crafted PDF to an application using a vulnerable version (prior to 6.18.0) can cause long runtimes and high memory use that make the application unavailable, with no authentication, user interaction, or special configuration required and only network-reachable input needed.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:49:38Z"},"euvd":{"id":"EUVD-2026-90366","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-py-pdf-pypdf-cve-2023-46250","parents":[{"from":"CVE-2026-82398","to":"CVE-2026-102994","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["pypdf/_utils.py"],"commits":["https://github.com/py-pdf/pypdf/commit/82501d2993c6387833c4949d205caeb188f8bb9e","https://github.com/py-pdf/pypdf/commit/4959848e057e37c218dccad7465259210923faaa"],"basis":"shared function","functions":["_get_max_pdf_version_header"]},{"kind":"similar","provenance":"machine","score":0.44,"basis":"same product + CWE + description similarity"}]}],"children":[{"from":"CVE-2026-102994","to":"CVE-2026-113790","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["pypdf/generic/_utils.py"],"commits":["https://github.com/py-pdf/pypdf/commit/82501d2993c6387833c4949d205caeb188f8bb9e","https://github.com/py-pdf/pypdf/commit/18bd2981a74479483a0b9507602c58a63d6c9b12"],"basis":"rarely changed file"}]},{"from":"CVE-2026-102994","to":"CVE-2026-113791","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["pypdf/generic/_utils.py"],"commits":["https://github.com/py-pdf/pypdf/commit/82501d2993c6387833c4949d205caeb188f8bb9e","https://github.com/py-pdf/pypdf/commit/18bd2981a74479483a0b9507602c58a63d6c9b12"],"basis":"rarely changed file"}]},{"from":"CVE-2026-102994","to":"CVE-2026-119207","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["pypdf/generic/_base.py"],"commits":["https://github.com/py-pdf/pypdf/commit/82501d2993c6387833c4949d205caeb188f8bb9e","https://github.com/py-pdf/pypdf/commit/64270258c0eced720f7960aecf8cef31afd39f8d"],"basis":"shared function","functions":["_rebuild_xref_table","read_from_stream"]}]}],"packageHistory":[{"cve":"CVE-2026-84310","published":"2026-09-01","fixed":"6.16.1","kev":false},{"cve":"CVE-2026-84311","published":"2026-09-01","fixed":"6.16.1","kev":false},{"cve":"CVE-2026-102993","published":"2026-09-30","fixed":"6.17.0","kev":false,"link":{"from":"CVE-2026-102993","to":"CVE-2026-102994","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:pypdf","fromFixed":"6.17.0","toFixed":"6.18.0","daysApart":0}]}},{"cve":"CVE-2026-102994","published":"2026-09-30","fixed":"6.18.0","kev":false},{"cve":"CVE-2026-102995","published":"2026-09-30","fixed":"6.18.1","kev":false,"link":{"from":"CVE-2026-102994","to":"CVE-2026-102995","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:pypdf","fromFixed":"6.18.0","toFixed":"6.18.1","daysApart":0}]}},{"cve":"CVE-2026-102996","published":"2026-09-30","fixed":"6.18.1","kev":false,"link":{"from":"CVE-2026-102994","to":"CVE-2026-102996","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:pypdf","fromFixed":"6.18.0","toFixed":"6.18.1","daysApart":0}]}},{"cve":"CVE-2026-102997","published":"2026-09-30","fixed":"6.18.1","kev":false,"link":{"from":"CVE-2026-102994","to":"CVE-2026-102997","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:pypdf","fromFixed":"6.18.0","toFixed":"6.18.1","daysApart":0}]}}],"package":"PyPI:pypdf"}}