{"id":"CVE-2026-119206","state":"PUBLISHED","title":"pypdf: Possible long runtimes when retrieving page labels","description":"pypdf is a free and open-source pure-python PDF library. Prior to 6.21.3, pypdf can take excessive time to retrieve page labels from a crafted PDF containing a flat page-label number tree with many ranges. The page_labels property resolves each page independently and repeatedly scans the same /Nums array from the beginning, causing work to grow with both the page count and the number of label ranges. This issue is fixed in version 6.21.3.","publishedAt":"2026-10-29T20:37:15.057Z","updatedAt":"2026-10-29T20:37:15.057Z","severity":{"score":7.1,"label":"High","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["py-pdf pypdf"],"affected":[{"vendor":"py-pdf","product":"pypdf","versions":[{"version":"< 6.21.3","status":"affected"}]}],"references":["https://github.com/py-pdf/pypdf/security/advisories/GHSA-42gh-23hr-vphw","https://github.com/py-pdf/pypdf/pull/4251","https://github.com/py-pdf/pypdf/commit/b891fef37000cd86baa6e9848a3387d080b3b03e","https://github.com/py-pdf/pypdf/releases/tag/6.21.3"],"weaknesses":["CWE-400"],"ingestedAt":"2026-10-29T23:14:04.755Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/119xxx/CVE-2026-119206.json","commit":"dc7676b3f67d6707e4927968546e7e0125ff7ec7","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-119206","state":"PUBLISHED","datePublished":"2026-10-29T20:37:15.057Z","dateUpdated":"2026-10-29T20:37:15.057Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-10-29T16:04:48.729Z"},"containers":{"cna":{"title":"pypdf: Possible long runtimes when retrieving page labels","descriptions":[{"lang":"en","value":"pypdf is a free and open-source pure-python PDF library. Prior to 6.21.3, pypdf can take excessive time to retrieve page labels from a crafted PDF containing a flat page-label number tree with many ranges. The page_labels property resolves each page independently and repeatedly scans the same /Nums array from the beginning, causing work to grow with both the page count and the number of label ranges. This issue is fixed in version 6.21.3."}],"affected":[{"vendor":"py-pdf","product":"pypdf","versions":[{"version":"< 6.21.3","status":"affected"}]}],"references":[{"url":"https://github.com/py-pdf/pypdf/security/advisories/GHSA-42gh-23hr-vphw","name":"https://github.com/py-pdf/pypdf/security/advisories/GHSA-42gh-23hr-vphw","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/py-pdf/pypdf/pull/4251","name":"https://github.com/py-pdf/pypdf/pull/4251","tags":["x_refsource_MISC"]},{"url":"https://github.com/py-pdf/pypdf/commit/b891fef37000cd86baa6e9848a3387d080b3b03e","name":"https://github.com/py-pdf/pypdf/commit/b891fef37000cd86baa6e9848a3387d080b3b03e","tags":["x_refsource_MISC"]},{"url":"https://github.com/py-pdf/pypdf/releases/tag/6.21.3","name":"https://github.com/py-pdf/pypdf/releases/tag/6.21.3","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"PASSIVE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":7.1,"baseSeverity":"HIGH","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-400","lang":"en","description":"CWE-400: Uncontrolled Resource Consumption","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-10-29T20:37:15.057Z"},"source":{"advisory":"GHSA-42gh-23hr-vphw","discovery":"UNKNOWN"}}}}}