CVE-2026-41313: CWE-834: Excessive Iteration in py-pdf pypdf
CVE-2026-41313 is a medium severity vulnerability in the pypdf library prior to version 6. 10. 2. It involves excessive iteration caused by loading a crafted PDF with a large trailer /Size value in incremental mode, leading to long runtimes. This issue has been fixed in pypdf version 6. 10. 2. Users can also manually apply the patch changes as a workaround.
AI Analysis
Technical Summary
The vulnerability CVE-2026-41313 affects pypdf, a pure-Python PDF library. An attacker can craft a PDF file with a large trailer /Size value that, when loaded in incremental mode, causes the library to perform excessive iterations resulting in prolonged processing times. This can degrade performance or cause denial of service conditions. The issue is fixed in pypdf version 6.10.2.
Potential Impact
The impact is primarily performance degradation due to long runtimes when processing maliciously crafted PDF files. There is no indication of code execution, data corruption, or privilege escalation. The CVSS score of 4.8 reflects a medium severity impact with local attack vector and user interaction required.
Mitigation Recommendations
A fix is available in pypdf version 6.10.2. Users should upgrade to this version to remediate the vulnerability. Alternatively, users may manually apply the patch changes from the fix if upgrading is not immediately possible. No other mitigation guidance is provided or required.
CVE-2026-41313: CWE-834: Excessive Iteration in py-pdf pypdf
Description
CVE-2026-41313 is a medium severity vulnerability in the pypdf library prior to version 6. 10. 2. It involves excessive iteration caused by loading a crafted PDF with a large trailer /Size value in incremental mode, leading to long runtimes. This issue has been fixed in pypdf version 6. 10. 2. Users can also manually apply the patch changes as a workaround.
CVSS v4.0
Score 4.8medium
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability CVE-2026-41313 affects pypdf, a pure-Python PDF library. An attacker can craft a PDF file with a large trailer /Size value that, when loaded in incremental mode, causes the library to perform excessive iterations resulting in prolonged processing times. This can degrade performance or cause denial of service conditions. The issue is fixed in pypdf version 6.10.2.
Potential Impact
The impact is primarily performance degradation due to long runtimes when processing maliciously crafted PDF files. There is no indication of code execution, data corruption, or privilege escalation. The CVSS score of 4.8 reflects a medium severity impact with local attack vector and user interaction required.
Mitigation Recommendations
A fix is available in pypdf version 6.10.2. Users should upgrade to this version to remediate the vulnerability. Alternatively, users may manually apply the patch changes from the fix if upgrading is not immediately possible. No other mitigation guidance is provided or required.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-04-20T14:01:46.671Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69e93e1919fe3cd2cdf2afdd
Added to database: 4/22/2026, 9:31:05 PM
Last enriched: 4/30/2026, 8:11:39 AM
Last updated: 6/6/2026, 6:01:28 AM
Views: 101
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.