{"id":"CVE-2026-49461","published":"2026-06-22T20:27:16Z","modified":"2026-06-23T15:54:54Z","title":"pypdf: Possible large memory usage for form XObjects during text extraction","vendor":"py-pdf","product":"pypdf","tier":"tail","description":{"text":"pypdf is a free and open-source pure-python PDF library. Prior to 6.12.2, an attacker who uses this vulnerability can craft a PDF which leads to large memory usage. This requires extracting the text of a page which contains a form XObject with self-references. This vulnerability is fixed in 6.12.2.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.9,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00174,"percentile":0.07071,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"references":[{"url":"https://github.com/py-pdf/pypdf/security/advisories/GHSA-j543-4vmf-qm7v","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/py-pdf/pypdf/pull/3805","tags":["x_refsource_MISC"]},{"url":"https://github.com/py-pdf/pypdf/releases/tag/6.12.2","tags":["x_refsource_MISC"]}],"priority":{"score":6.2,"factors":[{"name":"EPSS percentile","points":1.41},{"name":"CVSS severity","points":4.83}]},"vendorSlug":"py-pdf","affectedVersions":[{"vendor":"py-pdf","product":"pypdf","versions":["< 6.12.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-23T12:23:13.224222Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"pypdf","vulnerableRanges":["<6.12.2"],"patched":["6.12.2"],"from":["GHSA-j543-4vmf-qm7v","PYSEC-2026-3020"],"provenance":"source"}],"summary":{"text":"pypdf, a pure-Python PDF library, has an uncontrolled resource consumption flaw in its text extraction path, affecting versions before 6.12.2. An attacker with local access and no privileges or user interaction can supply a crafted PDF containing a form XObject with self-references, which causes large memory usage when the text of the affected page is extracted.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:16:40Z"},"euvd":{"id":"EUVD-2026-38356","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-48156","published":"2026-05-28","fixed":"6.12.0","kev":false},{"cve":"CVE-2026-48735","published":"2026-05-28","fixed":"6.12.1","kev":false,"link":{"from":"CVE-2026-48735","to":"CVE-2026-49461","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:pypdf","fromFixed":"6.12.1","toFixed":"6.12.2","daysApart":25}]}},{"cve":"CVE-2026-49460","published":"2026-06-22","fixed":"6.12.2","kev":false},{"cve":"CVE-2026-49461","published":"2026-06-22","fixed":"6.12.2","kev":false},{"cve":"CVE-2026-54530","published":"2026-06-22","fixed":"6.13.0","kev":false,"link":{"from":"CVE-2026-49461","to":"CVE-2026-54530","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:pypdf","fromFixed":"6.12.2","toFixed":"6.13.0","daysApart":0}]}},{"cve":"CVE-2026-54531","published":"2026-06-22","fixed":"6.13.0","kev":false,"link":{"from":"CVE-2026-49461","to":"CVE-2026-54531","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:pypdf","fromFixed":"6.12.2","toFixed":"6.13.0","daysApart":0}]}},{"cve":"CVE-2026-54651","published":"2026-06-22","fixed":"6.13.1","kev":false}],"package":"PyPI:pypdf"}}