{"id":"CVE-2026-113790","aliases":["CVE-2026-113790","GHSA-f54x-cmq8-qg57"],"related":[],"kind":"vulnerability","state":"published","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 version 6.21.0.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nAn attacker who uses this vulnerability can craft a PDF which leads to large memory usage. This requires parsing arrays and/or dictionaries with lots of elements.\n\n### Patches\n\nThis has been fixed in [pypdf==6.21.0](https://github.com/py-pdf/pypdf/releases/tag/6.21.0).\n\n### Workarounds\n\nIf you cannot upgrade yet, consider applying the changes from PR [#4218](https://github.com/py-pdf/pypdf/pull/4218).","format":"markdown","source":"ghsa"}],"published":"2026-10-21T15:35:52.503Z","modified":"2026-11-05T21:35:07.257Z","severity":{"scorer":"GitHub_M","scheme":"CVSS: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","score":6,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS: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","score":6,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS: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","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","score":3.3,"rating":"LOW"}],"cwes":["CWE-400","CWE-770"],"affected":[{"ranges":[{"version":"< 6.21.0","status":"affected"}],"vendor":"py-pdf","product":"pypdf","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"6.21.0"}],"ecosystem":"PyPI","package":"pypdf","purl":"pkg:pypi/pypdf","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"6.21.0"}],"vendor":"py-pdf","product":"pypdf","cpe":"cpe:2.3:a:py-pdf:pypdf:*:*:*:*:*:python:*:*","source":"nvd"}],"references":[{"url":"https://github.com/py-pdf/pypdf/security/advisories/GHSA-f54x-cmq8-qg57","tags":["patch","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/py-pdf/pypdf/pull/4218","tags":["issue-tracking","patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/py-pdf/pypdf/commit/18bd2981a74479483a0b9507602c58a63d6c9b12","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/py-pdf/pypdf/releases/tag/6.21.0","tags":["release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-113790","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/py-pdf/pypdf","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-10-28T01:18:48.608Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-113790","url":"https://www.cve.org/CVERecord?id=CVE-2026-113790","licence":"CVE Terms of Use","modified":"2026-10-28T01:18:59.036Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-f54x-cmq8-qg57","url":"https://github.com/advisories/GHSA-f54x-cmq8-qg57","licence":"CC-BY-4.0","modified":"2026-10-22T17:00:04.224Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-113790","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-113790","licence":"Public domain","modified":"2026-11-05T21:35:07.257Z"}],"updatedAt":"2026-11-25T22:59:46.616Z","epss":{"score":0.00302,"percentile":0.24723,"date":"2026-12-01T12:00:22.000Z"}}