---
id: CVE-2026-102993
title: pypdf is a free and open-source pure-python PDF library
summary: >-
  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
  applicatio…
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-400
  - CWE-770
vendor: pypdf_project
product: pypdf
affected:
  - pypdf < 6.17.0
patched:
  - pypdf 6.17.0
published: '2026-09-30'
updated: '2026-10-02'
sourceUpdated: '2026-10-02T17:17:01.203'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-102993'
references:
  - url: >-
      https://github.com/py-pdf/pypdf/commit/89db7c4fe9315ecc964bfdf05a4e8c4b94175163
    label: security-advisories@github.com
  - url: 'https://github.com/py-pdf/pypdf/pull/4047'
    label: security-advisories@github.com
  - url: 'https://github.com/py-pdf/pypdf/releases/tag/6.17.0'
    label: security-advisories@github.com
  - url: 'https://github.com/py-pdf/pypdf/security/advisories/GHSA-qv6h-rv94-w285'
    label: security-advisories@github.com
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-102993.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-102993'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2544269'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-102993'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-102993'
  - url: 'https://github.com/advisories/GHSA-qv6h-rv94-w285'
  - url: 'https://github.com/py-pdf/pypdf'
  - url: 'https://pypi.org/project/pypdf'
tags:
  - nvd
  - cve.org
  - csaf
  - vex
  - red-hat
  - ghsa
  - pip
  - osv
  - score-dispute
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-10-02T16:31:55.843886Z'
scores:
  nvd: 7.5
  cna: 8.7
  vendor: 6.5
epss: 0.00346
epssPercentile: 0.27981
aliases:
  - GHSA-qv6h-rv94-w285
  - PYSEC-2026-4158
ecosystem: pip
ingestedAt: '2026-09-30T20:23:19.514Z'
---

## Overview

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

- `pypdf < 6.17.0`

## Remediation

Upgrade past the affected range:

- `pypdf 6.17.0`

## Package advisory (CVE-2026-102993)

Affected packages:

- `pypdf < 6.17.0`

Patched in:

- `pypdf 6.17.0`

Source: https://github.com/advisories/GHSA-qv6h-rv94-w285

## Vendor advisories

- **Red Hat VEX** · Moderate · affected: Ansible Automation Orchestrator 2026, Lightspeed Core, OpenShift Lightspeed, Red Hat Ansible Automation Platform 2, Red Hat Enterprise Linux AI (RHEL AI) 3, Red Hat OpenShift AI (RHOAI), … · no fix planned: Red Hat Ansible Automation Platform 2, Red Hat Quay 3, Ansible Automation Orchestrator 2026, Lightspeed Core, … · updated 2026-10-15 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-102993.json)
