What’s Vulnerable › Vulnerabilities

CVE-2026-102993: pypdf: Possible large memory usage when retrieving Roman page labels

Description

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.

Affected products

How to fix

Upgrade to a fixed version: py-pdf pypdf 6.17.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-102993 or the next vulnerability affects your stack