---
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: medium
cwe:
  - CWE-834
  - CWE-770
vendor: pypdf
product: pypdf
affected:
  - pypdf < 6.16.1
patched:
  - pypdf 6.16.1
published: '2026-09-01'
updated: '2026-09-09'
sourceUpdated: '2026-09-09T16:49:20.627'
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
epss: 0.00182
epssPercentile: 0.06961
aliases:
  - GHSA-763m-79hh-57f2
  - PYSEC-2026-3911
ecosystem: pip
ingestedAt: '2026-09-01T21:32:41.472Z'
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'
cvssSource: vendor
---

## 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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## 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-09-25 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-84311.json)
