CVE-2026-102993
HIGH 8.7CVSS 4.0pypdf: Possible large memory usage when retrieving Roman page labels
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.
- Published
- 30 Sep 2026
- Last modified
- 2 Nov 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-400CWE-770
- Also known as
- GHSA-qv6h-rv94-w285PYSEC-2026-4158
- Sources
- NVDJSONOSV GHSA-qv6h-rv94-w285JSONOSV PYSEC-2026-4158JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | HIGH 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 |
| OSV | GitHub | CVSS 4.0 | 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 | |
| OSV | PyPA | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | py-pdf | pypdfcpe:2.3:a:py-pdf:pypdf:*:*:*:*:*:*:*:* |
< 6.17.0 | 6.17.0 |
| OSV | PyPI | pypdf | < 6.17.0 | 6.17.0 |
References
- https://github.com/py-pdf/pypdf/commit/89db7c4fe9315ecc964bfdf05a4e8c4b94175163 · Patch, WEB
- https://github.com/py-pdf/pypdf/pull/4047 · Patch, WEB
- https://github.com/py-pdf/pypdf/releases/tag/6.17.0 · Release Notes, WEB
- https://github.com/py-pdf/pypdf/security/advisories/GHSA-qv6h-rv94-w285 · Patch, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-102993 · ADVISORY
- https://github.com/py-pdf/pypdf · PACKAGE
- https://pypi.org/project/pypdf · PACKAGE
- https://github.com/advisories/GHSA-qv6h-rv94-w285 · ADVISORY
History
- 25 Nov 2026 21:22 UTC · NVD: first stored (published 30 Sep 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 1 Oct 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 1 Oct 2026)