{"id":"CVE-2026-41168","aliases":["GHSA-jj6c-8h6c-hppx","PYSEC-2026-3021"],"title":"pypdf has long runtimes for wrong size values in cross-reference and object streams","summary":"pypdf has long runtimes for wrong size values in cross-reference and object streams","severity":"medium","cvss":5.3,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","vendor":"pypdf","product":"pypdf","ecosystem":"pip","affected":["pypdf < 6.10.1"],"patched":["pypdf 6.10.1"],"published":"2026-04-15","updated":"2026-09-10","sourceUpdated":"2026-09-10T03:50:44.569518277Z","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/GHSA-jj6c-8h6c-hppx","references":[{"url":"https://github.com/py-pdf/pypdf/security/advisories/GHSA-jj6c-8h6c-hppx"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-41168"},{"url":"https://github.com/py-pdf/pypdf/pull/3733"},{"url":"https://github.com/py-pdf/pypdf/commit/62338e9d36419cf193ccec7331784f45df1d70b3"},{"url":"https://github.com/py-pdf/pypdf"},{"url":"https://github.com/py-pdf/pypdf/releases/tag/6.10.1"}],"tags":["osv","pip"],"epss":0.00297,"epssPercentile":0.22589,"ingestedAt":"2026-07-13T18:57:59.808Z","slug":"CVE-2026-41168","body":"## Overview\n\n### Impact\n\nAn attacker who uses this vulnerability can craft a PDF which leads to long runtimes. This requires cross-reference streams with wrong large `/Size` values or object streams with wrong large `/N` values.\n\n### Patches\n\nThis has been fixed in [pypdf==6.10.1](https://github.com/py-pdf/pypdf/releases/tag/6.10.1).\n\n### Workarounds\n\nIf you cannot upgrade yet, consider applying the changes from PR [#3733](https://github.com/py-pdf/pypdf/pull/3733).\n\n## Affected packages\n\n- `pypdf < 6.10.1`\n\n## Remediation\n\nUpgrade to a patched release:\n\n- `pypdf 6.10.1`","depth":"sunlit","depthScore":29,"depthScoreParts":{"impact":29.2,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}