8.7High
CVE-2026-103000pypdf: Possible large memory usage when retrieving alphabetical page labels
Description
pypdf is a free and open-source pure-python PDF library. Prior to 6.19.0, a crafted PDF can provide unusually large alphabetical page-label values that cause pypdf/_page_labels.py to generate strings beyond a reasonable page-label length when an application retrieves document page labels, consuming excessive memory and potentially making the application unavailable. This issue is fixed in version 6.19.0.
Weakness (CWE):
CWE-400
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
References and patches
- https://github.com/py-pdf/pypdf/security/advisories/GHSA-w23x-9jrw-r45c Vendor Advisory
- https://github.com/py-pdf/pypdf/pull/4096 PatchIssue Tracking
- https://github.com/py-pdf/pypdf/commit/0d8b5a8832cde1ba308b5c27567b879b7b7eed4a Patch
- https://github.com/py-pdf/pypdf/releases/tag/6.19.0 Release Notes
CPE matches (NVD) (1)
cpe:2.3:a:py-pdf:pypdf:*:*:*:*:*:*:*:*< 6.19.0