{"id":"CVE-2026-48735","aliases":["GHSA-wjqc-6w8f-h24c"],"title":"pypdf: Manipulated XMP metadata streams can exhaust RAM","summary":"pypdf: Manipulated XMP metadata streams can exhaust RAM","severity":"medium","cwe":["CWE-770"],"vendor":"pypdf","product":"pypdf","ecosystem":"pip","affected":["pypdf < 6.12.1"],"patched":["pypdf 6.12.1"],"published":"2026-06-16","updated":"2026-06-16","source":"GHSA","sourceUrl":"https://github.com/advisories/GHSA-wjqc-6w8f-h24c","references":[{"url":"https://github.com/py-pdf/pypdf/security/advisories/GHSA-wjqc-6w8f-h24c"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-48735"},{"url":"https://github.com/py-pdf/pypdf/pull/3796"},{"url":"https://github.com/py-pdf/pypdf/releases/tag/6.12.1"},{"url":"https://github.com/advisories/GHSA-wjqc-6w8f-h24c"}],"tags":["ghsa","pip"],"epss":0.00128,"epssPercentile":0.02837,"ingestedAt":"2026-07-07T15:41:58.391Z","slug":"CVE-2026-48735","body":"## Overview\n\n### Impact\n\nAn attacker who uses this vulnerability can craft a PDF which leads to large memory usage. This requires parsing large XMP metadata, possibly with lots of unnecessary elements.\n\n### Patches\nThis has been fixed in [pypdf==6.12.1](https://github.com/py-pdf/pypdf/releases/tag/6.12.1).\n\n### Workarounds\nIf you cannot upgrade yet, consider applying the changes from PR [#3796](https://github.com/py-pdf/pypdf/pull/3796).\n\n## Affected packages\n\n- `pypdf < 6.12.1`\n\n## Remediation\n\nUpgrade to a patched release:\n\n- `pypdf 6.12.1`","depth":"sunlit","depthScore":28,"depthScoreParts":{"impact":27.5,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}