Skip to main content
EPSS 0.2%top 92%

CVE-2026-84309: CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop') in py-pdf pypdf

0
Medium
Published: 09/08/2026 (09/08/2026, 00:00:00 UTC)
Source: CVE Database V5
Vendor/Project: py-pdf
Product: pypdf

Description

CVE-2026-84309 is a medium severity vulnerability in the py-pdf pypdf library prior to version 6.16.0. It involves an infinite loop caused by a crafted PDF with a cyclic tree structure that triggers the TreeObject.insert_child function to follow /Next links indefinitely. This issue is resolved in pypdf version 6.16.0.

CVSS v4.0

Score 6.9medium

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

Affected software

py-pdf

pypdf

Affected versions
<6.16.0

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/17/2026, 02:48:37 UTC

Technical Analysis

The vulnerability exists in pypdf versions before 6.16.0 where an attacker can craft a PDF containing a cyclic tree structure. When the library's TreeObject.insert_child method processes this structure, it follows /Next links indefinitely, causing an infinite loop. This can occur during a writing code path that inserts a child node. The infinite loop may lead to denial of service conditions by causing the application to hang or consume excessive resources. The issue is fixed in version 6.16.0.

Potential Impact

An attacker who can supply a malicious PDF to an application using a vulnerable pypdf version can cause the application to enter an infinite loop, potentially leading to denial of service by resource exhaustion or application hang. There is no indication of code execution or data leakage from the provided information.

Mitigation Recommendations

Upgrade pypdf to version 6.16.0 or later, where this infinite loop vulnerability is fixed. No other mitigations are indicated or required.

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: 6a973099acd9273b49257e11

Added to database: 09/01/2026, 20:07:53 UTC

Last enriched: 09/17/2026, 02:48:37 UTC

Last updated: 10/17/2026, 06:48:21 UTC

Views: 93

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