High severity7.5NVD Advisory· Published Jul 8, 2026· Updated Jul 9, 2026
CVE-2026-59936
CVE-2026-59936
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.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
pypdfPyPI | < 6.14.1 | 6.14.1 |
Affected products
8- Package: https://pypi.org/project/pypdf
- osv-coords5 versionspkg:apk/chainguard/litellmpkg:apk/chainguard/open-webuipkg:apk/wolfi/open-webuipkg:rpm/opensuse/python-PyPDF2&distro=openSUSE%20Leap%2016.0pkg:rpm/opensuse/python-pypdf&distro=openSUSE%20Tumbleweed
< 1.93.0-r3+ 4 more
- (no CPE)range: < 1.93.0-r3
- (no CPE)range: < 0.11.0-r6
- (no CPE)range: < 0.11.0-r6
- (no CPE)range: < 2.11.1-bp160.8.1
- (no CPE)range: < 6.14.2-1.1
Patches
Vulnerability mechanics
References
6- github.com/py-pdf/pypdf/commit/ec3b14596186c40caca7cf8ab9b2155203e01b5bnvdPatchWEB
- github.com/py-pdf/pypdf/pull/3891nvdIssue TrackingPatchWEB
- github.com/py-pdf/pypdf/security/advisories/GHSA-5xf7-4p34-54qrnvdPatchVendor AdvisoryWEB
- github.com/advisories/GHSA-5xf7-4p34-54qrghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-59936ghsaADVISORY
- github.com/py-pdf/pypdf/releases/tag/6.14.1nvdProductRelease NotesWEB
News mentions
1- PyPDF: Three DoS Vulnerabilities Patched Together in Version 6.14.0Vypr Intelligence · Jul 9, 2026