CVE-2026-119206

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:py-pdf:pypdf:*:*:*:*:*:*:*:*

History

02 Nov 2026, 16:06

Type Values Removed Values Added
First Time Py-pdf
Py-pdf pypdf
CPE cpe:2.3:a:pypdf_project:pypdf:*:*:*:*:*:*:*:* cpe:2.3:a:py-pdf:pypdf:*:*:*:*:*:*:*:*

02 Nov 2026, 15:54

Type Values Removed Values Added
References () https://github.com/py-pdf/pypdf/commit/b891fef37000cd86baa6e9848a3387d080b3b03e - () https://github.com/py-pdf/pypdf/commit/b891fef37000cd86baa6e9848a3387d080b3b03e - Patch
References () https://github.com/py-pdf/pypdf/pull/4251 - () https://github.com/py-pdf/pypdf/pull/4251 - Patch
References () https://github.com/py-pdf/pypdf/releases/tag/6.21.3 - () https://github.com/py-pdf/pypdf/releases/tag/6.21.3 - Release Notes
References () https://github.com/py-pdf/pypdf/security/advisories/GHSA-42gh-23hr-vphw - () https://github.com/py-pdf/pypdf/security/advisories/GHSA-42gh-23hr-vphw - Patch, Vendor Advisory
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5
CPE cpe:2.3:a:pypdf_project:pypdf:*:*:*:*:*:*:*:*
First Time Pypdf Project
Pypdf Project pypdf

29 Oct 2026, 21:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-10-29 21:17

Updated : 2026-11-03 17:18


NVD link : CVE-2026-119206

Mitre link : CVE-2026-119206

CVE.ORG link : CVE-2026-119206


JSON object : View

Products Affected

py-pdf

  • pypdf
CWE
CWE-400

Uncontrolled Resource Consumption