{"id":"CVE-2026-113790","title":"pypdf: Possible large memory usage when parsing arrays and dictionaries","summary":"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 versio…","severity":"medium","cvss":6,"cvssVector":"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","cvssSource":"cna","cwe":["CWE-400","CWE-770"],"vendor":"py-pdf","product":"pypdf","affected":["pypdf < 6.21.0"],"published":"2026-10-21","updated":"2026-10-21","sourceUpdated":"2026-10-21T15:35:52.503Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-113790","references":[{"url":"https://github.com/py-pdf/pypdf/security/advisories/GHSA-f54x-cmq8-qg57","label":"https://github.com/py-pdf/pypdf/security/advisories/GHSA-f54x-cmq8-qg57"},{"url":"https://github.com/py-pdf/pypdf/pull/4218","label":"https://github.com/py-pdf/pypdf/pull/4218"},{"url":"https://github.com/py-pdf/pypdf/commit/18bd2981a74479483a0b9507602c58a63d6c9b12","label":"https://github.com/py-pdf/pypdf/commit/18bd2981a74479483a0b9507602c58a63d6c9b12"},{"url":"https://github.com/py-pdf/pypdf/releases/tag/6.21.0","label":"https://github.com/py-pdf/pypdf/releases/tag/6.21.0"}],"tags":["cve.org"],"ingestedAt":"2026-10-21T16:05:17.698Z","slug":"CVE-2026-113790","body":"## Overview\n\npypdf 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.\n\n## Affected\n\n- `pypdf < 6.21.0`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"sunlit","depthScore":33,"depthScoreParts":{"impact":33,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}