{"id":"CVE-2026-113789","aliases":["CVE-2026-113789","GHSA-6vvc-x485-93v7"],"related":[],"kind":"vulnerability","state":"published","title":"pypdf: Possible long runtimes/large memory usage when retrieving form fields","summary":"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.","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 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.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nAn attacker who uses this vulnerability can craft a PDF which leads to large memory usage and/or long runtimes. This requires retrieving the form fields of a document.\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 [#4219](https://github.com/py-pdf/pypdf/pull/4219).","format":"markdown","source":"ghsa"}],"published":"2026-10-21T15:33:45.801Z","modified":"2026-11-02T16:12:15.797Z","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-407"],"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-6vvc-x485-93v7","tags":["vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/py-pdf/pypdf/pull/4219","tags":["issue-tracking","patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/py-pdf/pypdf/commit/5ef728f0e16d225c853e89f861ba0a67402fe3f2","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-113789","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-28T16:42:20.604Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-113789","url":"https://www.cve.org/CVERecord?id=CVE-2026-113789","licence":"CVE Terms of Use","modified":"2026-10-28T16:42:29.030Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-6vvc-x485-93v7","url":"https://github.com/advisories/GHSA-6vvc-x485-93v7","licence":"CC-BY-4.0","modified":"2026-10-22T17:00:04.207Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-113789","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-113789","licence":"Public domain","modified":"2026-11-02T16:12:15.797Z"}],"updatedAt":"2026-11-25T22:59:46.615Z","epss":{"score":0.00321,"percentile":0.2708,"date":"2026-12-01T12:00:22.000Z"}}