Pdfly: pypdf: Possible long runtimes/large memory usage when extracting XForm objects (CVE-2026-84311)
A vulnerability in pdfly's pypdf component allows crafted PDFs with many XForm objects to cause long runtimes and high memory usage during text extraction. This can degrade performance or cause denial of service conditions. The issue is fixed in pypdf version 6.16.1. Users unable to upgrade immediately can apply a workaround from a specific pull request.
AI Analysis
Technical Summary
CVE-2026-84311 describes a resource exhaustion vulnerability in pdfly's pypdf library when extracting text from PDFs containing numerous XForm objects, some reused. This leads to long processing times and large memory consumption. The vulnerability affects versions >=0.4.0 and <0.5.1_25. The issue has been addressed in pypdf version 6.16.1, and a code patch is available via PR #3966 for those who cannot upgrade immediately.
Potential Impact
An attacker can craft a PDF that triggers excessive CPU and memory usage during text extraction, potentially causing denial of service or degraded performance for applications using the vulnerable pypdf versions. There is no indication of code execution or data breach from this vulnerability.
Mitigation Recommendations
Upgrade to pypdf version 6.16.1 or later to fully remediate the vulnerability. If immediate upgrade is not possible, apply the changes from pull request #3966 as a temporary workaround.
Pdfly: pypdf: Possible long runtimes/large memory usage when extracting XForm objects (CVE-2026-84311)
Description
A vulnerability in pdfly's pypdf component allows crafted PDFs with many XForm objects to cause long runtimes and high memory usage during text extraction. This can degrade performance or cause denial of service conditions. The issue is fixed in pypdf version 6.16.1. Users unable to upgrade immediately can apply a workaround from a specific pull request.
CVSS v4.0
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-84311 describes a resource exhaustion vulnerability in pdfly's pypdf library when extracting text from PDFs containing numerous XForm objects, some reused. This leads to long processing times and large memory consumption. The vulnerability affects versions >=0.4.0 and <0.5.1_25. The issue has been addressed in pypdf version 6.16.1, and a code patch is available via PR #3966 for those who cannot upgrade immediately.
Potential Impact
An attacker can craft a PDF that triggers excessive CPU and memory usage during text extraction, potentially causing denial of service or degraded performance for applications using the vulnerable pypdf versions. There is no indication of code execution or data breach from this vulnerability.
Mitigation Recommendations
Upgrade to pypdf version 6.16.1 or later to fully remediate the vulnerability. If immediate upgrade is not possible, apply the changes from pull request #3966 as a temporary workaround.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- BREW-pdfly-CVE-2026-84311
- Osv Schema Version
- 1.7.3
- Ecosystems
- ["Homebrew"]
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6ac1396ca43b0b3b89d5fdd2
Added to database: 10/03/2026, 17:20:44 UTC
Last enriched: 10/03/2026, 17:25:32 UTC
Last updated: 10/04/2026, 02:46:07 UTC
Views: 2
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.