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.
Published: 2026-09-30
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service
Action: Patch
AI Analysis

Impact

pypdf processes a crafted PDF containing unusually large alphabetical page labels, causing the library to generate strings beyond a practical size. This forces extensive memory allocation, potentially exhausting available memory or crashing the host application. The flaw is an uncontrolled resource allocation (CWE-400) and a resource-bounded allocation issue (CWE-770). The result is a denial of service for any process that retrieves page labels.

Affected Systems

The vulnerability affects the open‑source Python PDF library py‑pdf:pypdf in all released versions before 6.19.0. Version 6.19.0 contains the fix and should be used to avoid exploitation.

Risk and Exploitability

With a CVSS score of 8.7 the vulnerability is high severity. No EPSS score is available and it is not listed in the CISA KEV catalog. The likely attack vector is indirect: the attacker must deliver a malicious PDF to a vulnerable application that uses pypdf to retrieve page labels. This inference is based on the description. Successful exploitation would consume large amounts of memory and potentially render the application unavailable.

Generated by OpenCVE AI on October 1, 2026 at 02:59 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the pypdf library to version 6.19.0 or newer to remediate the uncontrolled memory allocation and resource exhaustion issues (CWE-400 and CWE-770).
  • If an immediate upgrade is not possible, configure the application to disable or restrict page‑label retrieval, or enforce a maximum label length to limit memory usage.
  • Implement monitoring of memory consumption for PDF‑processing processes, and apply throttling or restart mechanisms when anomalous usage is detected to mitigate the risk of denial of service.

Generated by OpenCVE AI on October 1, 2026 at 02:59 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-w23x-9jrw-r45c pypdf: Possible large memory usage when retrieving alphabetical page labels
History

Mon, 05 Oct 2026 15:15:00 +0000

Type Values Removed Values Added
First Time appeared Pypdf Project
Pypdf Project pypdf
CPEs cpe:2.3:a:pypdf_project:pypdf:*:*:*:*:*:*:*:*
Vendors & Products Pypdf Project
Pypdf Project pypdf

Thu, 01 Oct 2026 06:15:00 +0000

Type Values Removed Values Added
First Time appeared Py-pdf
Py-pdf pypdf
Vendors & Products Py-pdf
Py-pdf pypdf

Thu, 01 Oct 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-770
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Important


Wed, 30 Sep 2026 21:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 30 Sep 2026 20:30:00 +0000

Type Values Removed Values Added
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.
Title pypdf: Possible large memory usage when retrieving alphabetical page labels
Weaknesses CWE-400
References
Metrics cvssV4_0

{'score': 8.7, 'vector': '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-09-30T20:49:21.058Z

Reserved: 2026-09-29T20:46:08.335Z

Link: CVE-2026-103000

cve-icon Vulnrichment

Updated: 2026-09-30T20:49:17.959Z

cve-icon NVD

Status : Analyzed

Published: 2026-09-30T21:17:07.490

Modified: 2026-10-05T15:03:11.473

Link: CVE-2026-103000

cve-icon Redhat

Severity : Important

Publid Date: 2026-09-30T20:13:00Z

Links: CVE-2026-103000 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-01T06:00:13Z

Weaknesses
  • CWE-400

    Uncontrolled Resource Consumption

  • CWE-770

    Allocation of Resources Without Limits or Throttling