CVE-2026-41168: CWE-834: Excessive Iteration in py-pdf pypdf
CVE-2026-41168 is a medium severity vulnerability in the pypdf library versions prior to 6. 10. 1. It involves excessive iteration caused by crafted PDF files containing cross-reference streams or object streams with incorrect large size values, leading to long runtimes. This issue has been fixed in pypdf version 6. 10. 1. Users can also manually apply the patch changes as a workaround.
AI Analysis
Technical Summary
The vulnerability in pypdf (CVE-2026-41168) arises from improper handling of cross-reference streams with incorrect large '/Size' values or object streams with incorrect large '/N' values. An attacker can craft a malicious PDF that triggers excessive iteration during parsing, causing long runtimes and potential denial of service. This affects all pypdf versions before 6.10.1. The issue is classified under CWE-834 (Excessive Iteration). The fix is included in pypdf 6.10.1.
Potential Impact
An attacker can cause the pypdf library to spend excessive time processing specially crafted PDF files, leading to performance degradation or denial of service conditions in applications using vulnerable versions of pypdf. There is no indication of code execution or data corruption from the provided data.
Mitigation Recommendations
Upgrade to pypdf version 6.10.1 or later, where the vulnerability is fixed. Alternatively, manually apply the patch changes from the official fix if upgrading is not immediately possible. No other mitigations or vendor advisories indicate additional actions.
CVE-2026-41168: CWE-834: Excessive Iteration in py-pdf pypdf
Description
CVE-2026-41168 is a medium severity vulnerability in the pypdf library versions prior to 6. 10. 1. It involves excessive iteration caused by crafted PDF files containing cross-reference streams or object streams with incorrect large size values, leading to long runtimes. This issue has been fixed in pypdf version 6. 10. 1. Users can also manually apply the patch changes as a workaround.
CVSS v4.0
Score 6.9medium
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in pypdf (CVE-2026-41168) arises from improper handling of cross-reference streams with incorrect large '/Size' values or object streams with incorrect large '/N' values. An attacker can craft a malicious PDF that triggers excessive iteration during parsing, causing long runtimes and potential denial of service. This affects all pypdf versions before 6.10.1. The issue is classified under CWE-834 (Excessive Iteration). The fix is included in pypdf 6.10.1.
Potential Impact
An attacker can cause the pypdf library to spend excessive time processing specially crafted PDF files, leading to performance degradation or denial of service conditions in applications using vulnerable versions of pypdf. There is no indication of code execution or data corruption from the provided data.
Mitigation Recommendations
Upgrade to pypdf version 6.10.1 or later, where the vulnerability is fixed. Alternatively, manually apply the patch changes from the official fix if upgrading is not immediately possible. No other mitigations or vendor advisories indicate additional actions.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-04-17T16:34:45.525Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69e9371d19fe3cd2cdefb1f0
Added to database: 4/22/2026, 9:01:17 PM
Last enriched: 4/30/2026, 8:11:22 AM
Last updated: 6/7/2026, 12:03:58 AM
Views: 67
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.