---
id: CVE-2026-84311
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.16.1, an
  attacker can craft a PDF that causes pypdf/_page.py PageObject._extract_text
  and PageObject.extract_xform_text to traverse a directed acyclic graph of
  reused fo…
severity: low
cvss: 3.3
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L'
cwe:
  - CWE-834
  - CWE-770
vendor: pypdf_project
product: pypdf
affected:
  - pypdf < 6.16.1
patched:
  - pypdf 6.16.1
published: '2026-09-01'
updated: '2026-10-05'
sourceUpdated: '2026-10-05T17:42:45.323'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-84311'
references:
  - url: >-
      https://github.com/py-pdf/pypdf/commit/d91ab705fd81ed1a9cec175c6958600dea1a4942
    label: security-advisories@github.com
  - url: 'https://github.com/py-pdf/pypdf/pull/3966'
    label: security-advisories@github.com
  - url: 'https://github.com/py-pdf/pypdf/releases/tag/6.16.1'
    label: security-advisories@github.com
  - url: 'https://github.com/py-pdf/pypdf/security/advisories/GHSA-763m-79hh-57f2'
    label: security-advisories@github.com
  - url: 'https://github.com/advisories/GHSA-763m-79hh-57f2'
  - url: 'https://github.com/py-pdf/pypdf'
  - url: 'https://pypi.org/project/pypdf'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-84311'
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-84311.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-84311'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2527050'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-84311'
tags:
  - nvd
  - ghsa
  - pip
  - osv
  - csaf
  - vex
  - red-hat
  - score-dispute
epss: 0.00135
epssPercentile: 0.02919
aliases:
  - GHSA-763m-79hh-57f2
  - PYSEC-2026-3911
ecosystem: pip
scores:
  nvd: 3.3
  vendor: 5.5
ingestedAt: '2026-09-01T21:32:41.472Z'
---

## Overview

pypdf is a free and open-source pure-python PDF library. Prior to 6.16.1, an attacker can craft a PDF that causes pypdf/_page.py PageObject._extract_text and PageObject.extract_xform_text to traverse a directed acyclic graph of reused form XObjects in which each form invokes a child multiple times, creating exponentially many traversal paths and causing long runtimes and large memory consumption. This issue is fixed in version 6.16.1.

## Affected

- `pypdf < 6.16.1`

## Remediation

Upgrade past the affected range:

- `pypdf 6.16.1`

## Package advisory (CVE-2026-84311)

Affected packages:

- `pypdf < 6.16.1`

Patched in:

- `pypdf 6.16.1`

Source: https://github.com/advisories/GHSA-763m-79hh-57f2

## Vendor advisories

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