high7.5
CVE-2026-103000
pypdf: Possible large memory usage when retrieving alphabetical page labels
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | pypdf | < 6.19.0 | 6.19.0 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Pypdf Project | Pypdf | before 6.19.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-w23x-9jrw-r45c
- https://github.com/py-pdf/pypdf/security/advisories/GHSA-w23x-9jrw-r45c
- https://nvd.nist.gov/vuln/detail/CVE-2026-103000
- https://github.com/py-pdf/pypdf/pull/4096
- https://github.com/py-pdf/pypdf/commit/0d8b5a8832cde1ba308b5c27567b879b7b7eed4a
- https://github.com/py-pdf/pypdf/releases/tag/6.19.0