PatchSiren cyber security CVE debrief
CVE-2026-59938 py-pdf CVE debrief
CVE-2026-59938 is a vulnerability in the pypdf library, a free and open-source pure-python PDF library. An attacker can craft a PDF with declared image size values that are much too large compared to the actual data, causing large memory usage in pypdf image parsing. This issue is fixed in version 6.14.0. The vulnerability allows an attacker to cause large memory usage by crafting a PDF with large declared image sizes, which can lead to potential issues. Defenders should be aware of this vulnerability and take necessary actions to prevent potential memory usage issues.
- Vendor
- py-pdf
- Product
- pypdf
- CVSS
- MEDIUM 6.9
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-07-08
- Original CVE updated
- 2026-11-02
- Advisory published
- 2026-07-08
- Advisory updated
- 2026-11-02
Who should care
Defenders responsible for maintaining and updating the pypdf library should prioritize updating to version 6.14.0 or later to prevent potential memory usage issues. Additionally, defenders who manage systems that use the pypdf library should review and monitor PDF parsing activities for potential memory usage issues. Defenders should also review and verify the patch to ensure it is properly implemented.
Why it matters
CVE-2026-59938 is a vulnerability in the pypdf library that can cause large memory usage. Defenders should update to version 6.14.0 or later to prevent potential issues.
- Potential large memory usage in pypdf image parsing
- Need to update to version 6.14.0 or later to prevent potential issues
Technical summary
The pypdf library is vulnerable to a memory usage issue when parsing PDFs with declared image size values that are much too large compared to the actual data. This issue is fixed in version 6.14.0. The vulnerability allows an attacker to cause large memory usage by crafting a PDF with large declared image sizes. Defenders should update to version 6.14.0 or later to prevent potential memory usage issues. The vulnerability is caused by the library's inability to handle large declared image sizes, which can lead to large memory usage.
Defensive priority
Defenders should prioritize updating to version 6.14.0 or later to prevent potential memory usage issues.
Recommended defensive actions
- Update to version 6.14.0 or later
- Review and monitor PDF parsing activities for potential memory usage issues
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
- Review the supplied official advisory or CVE record to validate affected scope, severity, and vendor guidance
- Plan vendor-supported updates or mitigations through normal change control where exposure is confirmed
- 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
Evidence notes
The CVE record and NVD vulnerability detail page provide information on the vulnerability, and the patch is available in version 6.14.0. The vulnerability is caused by large declared image size values in PDFs, which can lead to large memory usage in pypdf image parsing. The issue is fixed in version 6.14.0, and defenders should review and verify the patch to ensure it is properly implemented.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-59938 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-59938
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-59938 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-59938
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/c64583be16b8e8763d8777075f8ecbf382014b7a
[email protected] - Patch
-
Source reference
Unverified legacy reference
URL: https://github.com/py-pdf/pypdf/pull/3888
[email protected] - Issue Tracking, Patch
-
Source reference
Unverified legacy reference
URL: https://github.com/py-pdf/pypdf/releases/tag/6.14.0
[email protected] - Product, Release Notes
-
Source reference
Unverified legacy reference
URL: https://github.com/py-pdf/pypdf/security/advisories/GHSA-5qjq-93h5-hrgp
[email protected] - Patch, 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.