CVE-2026-59936 Details
Description
pypdf is a free and open-source pure-python PDF library. Prior to 6.14.1, an attacker can craft a PDF with a page content stream containing a not terminated inline image, causing an infinite loop during inline image end marker detection such as when extracting page text. This issue is fixed in version 6.14.1.
A vulnerability in pypdf, a pure-Python PDF library, prior to version 6.14.1, allows an attacker to create a PDF with a page content stream that includes a not-terminated inline image. This malformed image can cause an infinite loop while the library attempts to detect the end of the image, particularly during text extraction from the page. The issue has been resolved in version 6.14.1.
Users can upgrade to pypdf version 6.14.1 or later to address this vulnerability. If an immediate upgrade is not possible, the changes from PR #3891 can be applied as a temporary workaround.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 9, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/py-pdf/pypdf/commit/ec3b14596186c40caca7cf8ab9b2155203e01b5b | [email protected] | Patch |
| https://github.com/py-pdf/pypdf/pull/3891 | [email protected] | Issue TrackingPatch |
| https://github.com/py-pdf/pypdf/releases/tag/6.14.1 | [email protected] | ProductRelease Notes |
| https://github.com/py-pdf/pypdf/security/advisories/GHSA-5xf7-4p34-54qr | [email protected] | PatchVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-400 | Uncontrolled Resource Consumption | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| pypdf project pypdf | < 6.14.1 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 9, 2026 | Initial Analysis | [email protected] |
| Jul 9, 2026 | CVE Modified | CISA-ADP |
| Jul 8, 2026 | New CVE Received | [email protected] |