{"id":"CVE-2026-49461","aliases":["GHSA-j543-4vmf-qm7v"],"title":"pypdf: Possible large memory usage for form XObjects during text extraction","summary":"pypdf: Possible large memory usage for form XObjects during text extraction","severity":"medium","cwe":["CWE-400"],"vendor":"pypdf","product":"pypdf","ecosystem":"pip","affected":["pypdf < 6.12.2"],"patched":["pypdf 6.12.2"],"published":"2026-06-16","updated":"2026-06-16","source":"GHSA","sourceUrl":"https://github.com/advisories/GHSA-j543-4vmf-qm7v","references":[{"url":"https://github.com/py-pdf/pypdf/security/advisories/GHSA-j543-4vmf-qm7v"},{"url":"https://github.com/py-pdf/pypdf/pull/3805"},{"url":"https://github.com/py-pdf/pypdf/releases/tag/6.12.2"},{"url":"https://github.com/advisories/GHSA-j543-4vmf-qm7v"}],"tags":["ghsa","pip"],"epss":0.00174,"epssPercentile":0.07149,"ingestedAt":"2026-07-07T15:41:58.387Z","slug":"CVE-2026-49461","body":"## Overview\n\n### Impact\nAn 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.\n\n### Patches\nThis has been fixed in [pypdf==6.12.2](https://github.com/py-pdf/pypdf/releases/tag/6.12.2).\n\n### Workarounds\nIf you cannot upgrade yet, consider applying the changes from PR [#3805](https://github.com/py-pdf/pypdf/pull/3805).\n\n## Affected packages\n\n- `pypdf < 6.12.2`\n\n## Remediation\n\nUpgrade to a patched release:\n\n- `pypdf 6.12.2`","depth":"sunlit","depthScore":28,"depthScoreParts":{"impact":27.5,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}