
CVE catalog
CVE-2026-102993
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 lar
- Severity
- High · CVSS 8.7
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - Published
- Updated
- Source
- [NVD] · [CVE record]
- EPSS
- 0.35% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | pypdf | sid | 6.21.1-1 | fixed |
| Debian | pypdf | forky | 6.21.1-1 | fixed |
| Debian | pypdf | trixie | 5.4.0-1 | vulnerable |
| Debian | pypdf | bookworm | 3.4.1-1+deb12u1 | vulnerable |
| Debian | pypdf2 | bookworm | 2.12.1-3+deb12u1 | not affected |
| PyPI | pypdf | Not reported | 6.17.0 | fixed |
| Pip | pypdf | Not reported | 6.17.0 | fixed |
| Cpe | pypdf | Not reported | 6.17.0 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | pypdf | source | sid | 6.19.0-1 | not yet assigned | Not reported | Not reported |
| Debian | pypdf | source | forky | 6.19.0-1 | not yet assigned | Not reported | Not reported |
| Debian | pypdf | source | trixie | (unfixed) | not yet assigned | Not reported | Not reported |
| Debian | pypdf | source | bookworm | (unfixed) | not yet assigned | Not reported | Not reported |
| Debian | pypdf2 | source | bookworm | Not affected | unimportant | Not reported | Not reported |
| PyPI | pypdf | PyPI | Not reported | 6.17.0 | Not reported | PYSEC-2026-4158 | Not reported |
| Pip | pypdf | pip | Not reported | 6.17.0 | Not reported | GHSA-QV6H-RV94-W285 | Not reported |
| Cpe | pypdf | cpe | Not reported | 6.17.0 | Not reported | NVD-CVE-2026-102993 | Not reported |
Notes
[trixie] pypdf: Minor issue [bookworm] pypdf: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [python3-pypdf]Affected
Source package: [pypdf]
Details (2)
3.4.1-1+deb12u1· all · bookwormAffected
nvd · pypdf · debian · bookworm; nvd · pypdf · debian · 12
3.4.1-1+deb12u1· all · bookwormAffected
nvd · pypdf · debian · bookworm; nvd · pypdf · debian · 12
- [python3-pypdf2]Not affected
Source package: [pypdf2]
Details (2)
2.12.1-3+deb12u1· all · bookwormNot affected
nvd · pypdf2 · debian · bookworm
2.12.1-3+deb12u1· all · bookwormNot affected
nvd · pypdf2 · debian · bookworm
[Debian 13 (Trixie)]
- [python3-pypdf]Affected
Source package: [pypdf]
Details (2)
5.4.0-1· all · trixieAffected
nvd · pypdf · debian · 13
5.4.0-1· all · trixieAffected
nvd · pypdf · debian · 13
Observed:
References
- [https://github.com/advisories/GHSA-qv6h-rv94-w285]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-102993]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-102993]
- [https://osv.dev/vulnerability/PYSEC-2026-4158]
- [https://security-tracker.debian.org/tracker/CVE-2026-102993]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-102993.json]
[Debian Security Tracker] · [FIRST EPSS] · [GitHub Advisory Database] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]