Pdfly: pypdf: Possible long runtimes/large memory usage when parsing indirect objects (CVE-2026-102994)
A vulnerability in pdfly's pypdf library allows crafted PDF files with long indirect object headers not terminated by whitespace to cause long runtimes and large memory usage during parsing. This can lead to denial of service conditions due to resource exhaustion. The issue affects versions from 0.4.0 up to but not including 0.5.1_26. An official fix is available in pypdf version 6.18.0. If upgrading is not immediately possible, applying the changes from pull request #4055 is recommended as a workaround.
AI Analysis
Technical Summary
CVE-2026-102994 describes a vulnerability in the pdfly pypdf library where parsing PDF documents containing long indirect object headers without whitespace termination can cause excessive runtimes and memory consumption. This behavior can be exploited by an attacker crafting malicious PDFs to degrade service availability. The vulnerability affects versions >=0.4.0 and <0.5.1_26. The issue has been addressed in pypdf version 6.18.0, which includes a patch to prevent this resource exhaustion scenario.
Potential Impact
An attacker can cause denial of service by supplying a specially crafted PDF that triggers long runtimes and high memory usage during parsing. This can degrade or disrupt service relying on the vulnerable pypdf versions. There is no indication of code execution or data leakage from the provided information.
Mitigation Recommendations
Upgrade to pypdf version 6.18.0 or later to apply the official fix. If immediate upgrade is not feasible, apply the changes from pull request #4055 as a temporary workaround. No other mitigation steps are indicated by the vendor advisory.
Pdfly: pypdf: Possible long runtimes/large memory usage when parsing indirect objects (CVE-2026-102994)
Description
A vulnerability in pdfly's pypdf library allows crafted PDF files with long indirect object headers not terminated by whitespace to cause long runtimes and large memory usage during parsing. This can lead to denial of service conditions due to resource exhaustion. The issue affects versions from 0.4.0 up to but not including 0.5.1_26. An official fix is available in pypdf version 6.18.0. If upgrading is not immediately possible, applying the changes from pull request #4055 is recommended as a workaround.
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-102994 describes a vulnerability in the pdfly pypdf library where parsing PDF documents containing long indirect object headers without whitespace termination can cause excessive runtimes and memory consumption. This behavior can be exploited by an attacker crafting malicious PDFs to degrade service availability. The vulnerability affects versions >=0.4.0 and <0.5.1_26. The issue has been addressed in pypdf version 6.18.0, which includes a patch to prevent this resource exhaustion scenario.
Potential Impact
An attacker can cause denial of service by supplying a specially crafted PDF that triggers long runtimes and high memory usage during parsing. This can degrade or disrupt service relying on the vulnerable pypdf versions. There is no indication of code execution or data leakage from the provided information.
Mitigation Recommendations
Upgrade to pypdf version 6.18.0 or later to apply the official fix. If immediate upgrade is not feasible, apply the changes from pull request #4055 as a temporary workaround. No other mitigation steps are indicated by the vendor advisory.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- BREW-pdfly-CVE-2026-102994
- Osv Schema Version
- 1.7.3
- Ecosystems
- ["Homebrew"]
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6ac13971a43b0b3b89d5fe19
Added to database: 10/03/2026, 17:20:49 UTC
Last enriched: 10/03/2026, 17:27:37 UTC
Last updated: 10/04/2026, 02:46:02 UTC
Views: 4
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.