{"id":"CVE-2026-113790","published":"2026-10-21T15:35:52Z","modified":"2026-10-28T01:18:59Z","title":"pypdf: Possible large memory usage when parsing arrays and dictionaries","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 containing arrays or dictionaries with many elements, causing parsing to consume large amounts of memory. 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-770","name":"Allocation of Resources Without Limits or Throttling"}],"references":[{"url":"https://github.com/py-pdf/pypdf/security/advisories/GHSA-f54x-cmq8-qg57","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/py-pdf/pypdf/pull/4218","tags":["x_refsource_MISC"]},{"url":"https://github.com/py-pdf/pypdf/commit/18bd2981a74479483a0b9507602c58a63d6c9b12","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-28T01:18:48.608537Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"pypdf","vulnerableRanges":["<6.21.0"],"patched":["6.21.0"],"from":["GHSA-f54x-cmq8-qg57"],"provenance":"source"}],"summary":{"text":"pypdf, a pure-Python PDF library from py-pdf, contains a flaw in its parsing of PDF arrays and dictionaries, where it does not limit resource allocation for elements. An attacker who supplies a crafted PDF with arrays or dictionaries containing many elements can cause the parser to consume large amounts of memory, and exploitation requires only network access with no authentication, but the victim must interact with the file (for example, by opening or processing it).","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:59:23Z"},"euvd":{"id":"EUVD-2026-107330","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-py-pdf-pypdf-cve-2023-46250","parents":[{"from":"CVE-2023-46250","to":"CVE-2026-113790","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["pypdf/generic/_data_structures.py"],"commits":["https://github.com/py-pdf/pypdf/commit/9b23ac3c9619492570011d551d521690de9a3e2d","https://github.com/py-pdf/pypdf/commit/18bd2981a74479483a0b9507602c58a63d6c9b12"],"basis":"shared function","functions":["_clone"]}]},{"from":"CVE-2026-31826","to":"CVE-2026-113790","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["pypdf/generic/_data_structures.py"],"commits":["https://github.com/py-pdf/pypdf/commit/18bd2981a74479483a0b9507602c58a63d6c9b12","https://github.com/py-pdf/pypdf/commit/3c550b3196adeba1506a26e57c09c09fac75e9aa"],"basis":"shared function","functions":["read_from_stream"]}]},{"from":"CVE-2026-59935","to":"CVE-2026-113790","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["pypdf/generic/_data_structures.py"],"commits":["https://github.com/py-pdf/pypdf/commit/18bd2981a74479483a0b9507602c58a63d6c9b12","https://github.com/py-pdf/pypdf/commit/5a33a46416aa1ae6c025ff90a3cca57631fdafd2"],"basis":"shared function","functions":["_read_inline_image"]}]},{"from":"CVE-2026-59936","to":"CVE-2026-113790","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["pypdf/generic/_data_structures.py"],"commits":["https://github.com/py-pdf/pypdf/commit/18bd2981a74479483a0b9507602c58a63d6c9b12","https://github.com/py-pdf/pypdf/commit/ec3b14596186c40caca7cf8ab9b2155203e01b5b"],"basis":"shared function","functions":["_read_inline_image"]}]},{"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-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"]}]}],"children":[{"from":"CVE-2026-113790","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/18bd2981a74479483a0b9507602c58a63d6c9b12","https://github.com/py-pdf/pypdf/commit/80a84d4be6022d910874ccb0d2365400f3f0e185"],"basis":"shared function","functions":["Configuration"]}]},{"from":"CVE-2026-113790","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/18bd2981a74479483a0b9507602c58a63d6c9b12","https://github.com/py-pdf/pypdf/commit/ea4ac663133f1b3de1d7a8f2e6fa239802fde79e"],"basis":"shared function","functions":["Configuration"]}]},{"from":"CVE-2026-113790","to":"CVE-2026-119205","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["pypdf/generic/_data_structures.py"],"commits":["https://github.com/py-pdf/pypdf/commit/18bd2981a74479483a0b9507602c58a63d6c9b12","https://github.com/py-pdf/pypdf/commit/f176db1a1f7f9af3e472e69a843ef1175653b044"],"basis":"shared function","functions":["_clone"]}]},{"from":"CVE-2026-113790","to":"CVE-2026-119207","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["pypdf/generic/_data_structures.py"],"commits":["https://github.com/py-pdf/pypdf/commit/18bd2981a74479483a0b9507602c58a63d6c9b12","https://github.com/py-pdf/pypdf/commit/64270258c0eced720f7960aecf8cef31afd39f8d"],"basis":"shared function","functions":["_clone","read_from_stream"]}]}],"packageHistory":[{"cve":"CVE-2026-113792","published":"2026-10-21","fixed":"6.20.1","kev":false,"link":{"from":"CVE-2026-113792","to":"CVE-2026-113790","relation":"successor","confidence":"high","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:pypdf","fromFixed":"6.20.1","toFixed":"6.21.0","daysApart":0},{"kind":"same-code","provenance":"machine","files":["pypdf/generic/_data_structures.py"],"commits":["https://github.com/py-pdf/pypdf/commit/18bd2981a74479483a0b9507602c58a63d6c9b12","https://github.com/py-pdf/pypdf/commit/c9c35b4471c2eb5fe078094f6c816e69d4ed25a0"],"basis":"shared file"}]}},{"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,"link":{"from":"CVE-2026-113790","to":"CVE-2026-113786","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:pypdf","fromFixed":"6.21.0","toFixed":"6.21.1","daysApart":0}]}},{"cve":"CVE-2026-115572","published":"2026-10-23","fixed":"6.21.2","kev":false}],"package":"PyPI:pypdf"}}