{"id":"CVE-2026-113789","published":"2026-10-21T15:33:45Z","modified":"2026-10-28T16:42:29Z","title":"pypdf: Possible long runtimes/large memory usage when retrieving form fields","vendor":"py-pdf","product":"pypdf","tier":"tail","description":{"text":"pypdf is a free and open-source pure-python PDF library. Prior to 6.21.0, an attacker can craft a PDF that causes large memory usage or long runtimes when an application retrieves the document's form fields. This issue is fixed in version 6.21.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":6,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00366,"percentile":0.22638,"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-6vvc-x485-93v7","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/py-pdf/pypdf/pull/4219","tags":["x_refsource_MISC"]},{"url":"https://github.com/py-pdf/pypdf/commit/5ef728f0e16d225c853e89f861ba0a67402fe3f2","tags":["x_refsource_MISC"]},{"url":"https://github.com/py-pdf/pypdf/releases/tag/6.21.0","tags":["x_refsource_MISC"]}],"priority":{"score":8.7,"factors":[{"name":"EPSS percentile","points":4.53},{"name":"CVSS severity","points":4.2}]},"vendorSlug":"py-pdf","affectedVersions":[{"vendor":"py-pdf","product":"pypdf","versions":["< 6.21.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-28T16:42:20.604011Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"pypdf","vulnerableRanges":["<6.21.0"],"patched":["6.21.0"],"from":["GHSA-6vvc-x485-93v7"],"provenance":"source"}],"summary":{"text":"The pypdf library (product pypdf, from vendor py-pdf) contains a flaw in how it retrieves form fields from PDF documents, in versions before 6.21.0, which is fixed in 6.21.0. An attacker who supplies a specially crafted PDF can cause excessive memory consumption or very long processing times in an application that reads that document's form fields, with exploitation requiring a user to open or process the file (user interaction) and no privileges (network access is not a stated requirement).","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:59:22Z"},"euvd":{"id":"EUVD-2026-107327","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-py-pdf-pypdf-cve-2023-46250","children":[{"from":"CVE-2026-113789","to":"CVE-2026-113790","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["pypdf/_configuration.py"],"commits":["https://github.com/py-pdf/pypdf/commit/5ef728f0e16d225c853e89f861ba0a67402fe3f2","https://github.com/py-pdf/pypdf/commit/18bd2981a74479483a0b9507602c58a63d6c9b12"],"basis":"shared function","functions":["Configuration"]}]},{"from":"CVE-2026-113789","to":"CVE-2026-113791","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["pypdf/_configuration.py"],"commits":["https://github.com/py-pdf/pypdf/commit/5ef728f0e16d225c853e89f861ba0a67402fe3f2","https://github.com/py-pdf/pypdf/commit/18bd2981a74479483a0b9507602c58a63d6c9b12"],"basis":"shared function","functions":["Configuration"]}]},{"from":"CVE-2026-113789","to":"CVE-2026-113795","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["pypdf/_configuration.py"],"commits":["https://github.com/py-pdf/pypdf/commit/5ef728f0e16d225c853e89f861ba0a67402fe3f2","https://github.com/py-pdf/pypdf/commit/80a84d4be6022d910874ccb0d2365400f3f0e185"],"basis":"shared function","functions":["Configuration"]}]},{"from":"CVE-2026-113789","to":"CVE-2026-119204","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["pypdf/_configuration.py"],"commits":["https://github.com/py-pdf/pypdf/commit/5ef728f0e16d225c853e89f861ba0a67402fe3f2","https://github.com/py-pdf/pypdf/commit/ea4ac663133f1b3de1d7a8f2e6fa239802fde79e"],"basis":"shared function","functions":["Configuration"]}]}],"packageHistory":[{"cve":"CVE-2026-113795","published":"2026-10-21","fixed":"6.20.0","kev":false},{"cve":"CVE-2026-113792","published":"2026-10-21","fixed":"6.20.1","kev":false,"link":{"from":"CVE-2026-113792","to":"CVE-2026-113789","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:pypdf","fromFixed":"6.20.1","toFixed":"6.21.0","daysApart":0}]}},{"cve":"CVE-2026-113793","published":"2026-10-21","fixed":"6.20.1","kev":false},{"cve":"CVE-2026-113789","published":"2026-10-21","fixed":"6.21.0","kev":false},{"cve":"CVE-2026-113790","published":"2026-10-21","fixed":"6.21.0","kev":false},{"cve":"CVE-2026-113791","published":"2026-10-21","fixed":"6.21.0","kev":false},{"cve":"CVE-2026-113786","published":"2026-10-21","fixed":"6.21.1","kev":false}],"package":"PyPI:pypdf"}}