{"id":"CVE-2026-102993","published":"2026-09-30T19:55:52Z","modified":"2026-10-02T16:32:16Z","title":"pypdf: Possible large memory usage when retrieving Roman page labels","vendor":"py-pdf","product":"pypdf","tier":"tail","description":{"text":"pypdf is a free and open-source pure-python PDF library. Prior to 6.17.0, a crafted PDF can provide unusually large Roman page-label values that cause pypdf/_page_labels.py to generate excessively large numeral strings when an application retrieves document page labels, consuming large amounts of memory and potentially making the application unavailable. This issue is fixed in version 6.17.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"4.0","vector":"CVSS:4.0/AV:N/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.0063,"percentile":0.44621,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"},{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"references":[{"url":"https://github.com/py-pdf/pypdf/security/advisories/GHSA-qv6h-rv94-w285","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/py-pdf/pypdf/pull/4047","tags":["x_refsource_MISC"]},{"url":"https://github.com/py-pdf/pypdf/commit/89db7c4fe9315ecc964bfdf05a4e8c4b94175163","tags":["x_refsource_MISC"]},{"url":"https://github.com/py-pdf/pypdf/releases/tag/6.17.0","tags":["x_refsource_MISC"]}],"priority":{"score":15.0,"factors":[{"name":"EPSS percentile","points":8.92},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"py-pdf","affectedVersions":[{"vendor":"py-pdf","product":"pypdf","versions":["< 6.17.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-02T16:31:55.843886Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"pypdf","vulnerableRanges":["<6.17.0"],"patched":["6.17.0"],"from":["GHSA-qv6h-rv94-w285","PYSEC-2026-4158"],"provenance":"source"}],"summary":{"text":"In pypdf, a free pure-Python PDF library, the flaw lies in the page-label handling code (pypdf/_page_labels.py), where unusually large Roman page-label values in a crafted PDF cause excessive memory consumption when an application retrieves page labels. An attacker can exploit this by supplying a crafted PDF over the network to an application that processes it, requiring no authentication or user interaction, to exhaust memory and potentially make the application unavailable.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:48:59Z"},"euvd":{"id":"EUVD-2026-90365","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-py-pdf-pypdf-cve-2026-102993","children":[{"from":"CVE-2026-102993","to":"CVE-2026-103000","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["pypdf/_page_labels.py"],"commits":["https://github.com/py-pdf/pypdf/commit/89db7c4fe9315ecc964bfdf05a4e8c4b94175163","https://github.com/py-pdf/pypdf/commit/0d8b5a8832cde1ba308b5c27567b879b7b7eed4a"],"basis":"shared function","functions":["number2lowercase_roman_numeral"]},{"kind":"similar","provenance":"machine","score":0.67,"basis":"same product + CWE + description similarity"}]},{"from":"CVE-2026-102993","to":"CVE-2026-119206","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["pypdf/_page_labels.py"],"commits":["https://github.com/py-pdf/pypdf/commit/89db7c4fe9315ecc964bfdf05a4e8c4b94175163","https://github.com/py-pdf/pypdf/commit/b891fef37000cd86baa6e9848a3387d080b3b03e"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2026-84309","published":"2026-09-01","fixed":"6.16.0","kev":false},{"cve":"CVE-2026-84310","published":"2026-09-01","fixed":"6.16.1","kev":false},{"cve":"CVE-2026-84311","published":"2026-09-01","fixed":"6.16.1","kev":false,"link":{"from":"CVE-2026-84311","to":"CVE-2026-102993","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:pypdf","fromFixed":"6.16.1","toFixed":"6.17.0","daysApart":29}]}},{"cve":"CVE-2026-102993","published":"2026-09-30","fixed":"6.17.0","kev":false},{"cve":"CVE-2026-102994","published":"2026-09-30","fixed":"6.18.0","kev":false,"link":{"from":"CVE-2026-102993","to":"CVE-2026-102994","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:pypdf","fromFixed":"6.17.0","toFixed":"6.18.0","daysApart":0}]}},{"cve":"CVE-2026-102995","published":"2026-09-30","fixed":"6.18.1","kev":false},{"cve":"CVE-2026-102996","published":"2026-09-30","fixed":"6.18.1","kev":false}],"package":"PyPI:pypdf"}}