PatchSiren cyber security CVE debrief
CVE-2026-102997 py-pdf CVE debrief
A crafted PDF can cause pypdf to experience long runtimes and application unavailability due to inefficient byte-by-byte decompression. This issue is fixed in version 6.18.1. The vulnerability arises from a partially malformed /FlateDecode stream with padded data, which can force pypdf/filters.py to use inefficient decompression. Defenders should be aware of the potential for application unavailability and take steps to verify exposure and apply the patch. The issue is a residual problem after the malformed FlateDecode recovery fix.
- Vendor
- py-pdf
- Product
- pypdf
- CVSS
- HIGH 8.7
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-09-30
- Original CVE updated
- 2026-11-02
- Advisory published
- 2026-09-30
- Advisory updated
- 2026-11-02
Who should care
Defenders responsible for systems using pypdf should assess exposure and apply the patch to prevent potential application unavailability. This includes operators, platform administrators, vulnerability management teams, and security teams who need to verify exposure and apply the patch. The vulnerability can cause significant application unavailability, making it essential for defenders to take proactive measures.
Why it matters
Defenders should care about CVE-2026-102997 because it can cause significant application unavailability in pypdf, and they should verify exposure and apply the patch.
- Potential application unavailability due to inefficient decompression
- Need to verify exposure and apply patch
- Possible performance impacts on systems processing crafted PDFs
Technical summary
Prior to version 6.18.1, pypdf's inefficient byte-by-byte decompression can be triggered by a crafted PDF, leading to long runtimes and application unavailability. The issue arises from a partially malformed /FlateDecode stream with padded data. This vulnerability can cause significant application unavailability in pypdf. Defenders should verify exposure and apply the patch to prevent potential impacts. The fix is included in version 6.18.1, which addresses the residual issue after the malformed FlateDecode recovery fix.
Defensive priority
Defenders should prioritize verifying exposure and applying the patch, as this issue can cause significant application unavailability.
Recommended defensive actions
- Verify if the system uses pypdf and assess exposure
- Apply the patch to upgrade to version 6.18.1 or later
- Monitor for potential application unavailability due to inefficient decompression
- Review compensating controls for exposed systems while remediation is scheduled and verified
- Check relevant monitoring, detection, and logs for exposed assets that need extra review
- Track exceptions, retest remediated assets, and close the item only after evidence is documented
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
Evidence notes
The CVE record and NVD entry provide details on the vulnerability, while the vendor's patch notes and security advisory offer additional context. The issue is confirmed to be fixed in version 6.18.1. Defenders should verify exposure and apply the patch to prevent potential application unavailability. The vulnerability is related to inefficient byte-by-byte decompression triggered by a crafted PDF.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-102997 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-102997
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-102997 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-102997
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Source reference
Unverified legacy reference
URL: https://github.com/py-pdf/pypdf/commit/d9d38cf99b115deb562d3b68f36c33027bc04f79
[email protected] - Patch
-
Source reference
Unverified legacy reference
URL: https://github.com/py-pdf/pypdf/pull/4073
[email protected] - Patch, Issue Tracking
-
Source reference
Unverified legacy reference
URL: https://github.com/py-pdf/pypdf/releases/tag/6.18.1
[email protected] - Release Notes
-
Source reference
Unverified legacy reference
URL: https://github.com/py-pdf/pypdf/security/advisories/GHSA-jw7q-gvrg-4vj3
[email protected] - Vendor Advisory
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.