Skip to main content
EPSS 0.1%top 97%

CVE-2026-84311: CWE-834: Excessive Iteration in py-pdf pypdf

0
Medium
Published: 09/01/2026 (09/01/2026, 20:03:13 UTC)
Source: CVE Database V5
Vendor/Project: py-pdf
Product: pypdf

Description

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.

CVSS v4.0

Score 4.8medium

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
Low
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Affected software

py-pdf

pypdf

Affected versions
<6.16.1

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/07/2026, 13:45:48 UTC

Technical Analysis

The vulnerability in pypdf affects the PageObject._extract_text and PageObject.extract_xform_text methods, which traverse a directed acyclic graph of reused form XObjects. An attacker can craft a PDF where each form invokes a child multiple times, causing an exponential increase in traversal paths. This excessive iteration leads to performance degradation through long runtimes and large memory usage. The flaw is addressed in version 6.16.1 of pypdf.

Potential Impact

Exploitation of this vulnerability can cause denial of service conditions due to resource exhaustion (CPU and memory) when processing maliciously crafted PDFs. There is no indication of code execution, data disclosure, or privilege escalation. The impact is limited to performance degradation and potential application unavailability during PDF text extraction.

Mitigation Recommendations

Upgrade to pypdf version 6.16.1 or later, where this vulnerability is fixed. Since no official patch link or advisory is provided, verify the upgrade through the official pypdf release notes or repository. No other mitigation is indicated.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-09-01T16:17:43.079Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6a973451acd9273b492939be

Added to database: 09/01/2026, 20:23:45 UTC

Last enriched: 09/07/2026, 13:45:48 UTC

Last updated: 10/17/2026, 18:48:23 UTC

Views: 77

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses