High severity · published Jul 8, 2026
CVE-2026-59936
pypdf: Possible infinite loop for not terminated inline images
7.5
CVSS
0.6%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.6% · higher than 49% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
PY
pypdf · py-pdf
< 6.14.1 · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-59936
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-59936
Patch
https://github.com/py-pdf/pypdf/commit/ec3b14596186c40caca7cf8ab9b2155203e01b5b
Issue Tracking
https://github.com/py-pdf/pypdf/pull/3891
Product
https://github.com/py-pdf/pypdf/releases/tag/6.14.1
Patch
https://github.com/py-pdf/pypdf/security/advisories/GHSA-5xf7-4p34-54qr
More from pypdf
7.5
CVE-2026-103000
pypdf: Possible large memory usage when retrieving alphabetical page labels
7.5
CVE-2026-102999
pypdf: Possible long runtimes with large amount of embedded files
7.5
CVE-2026-102998
pypdf: Possible long runtimes when generating appearance streams
7.5
CVE-2026-102997
pypdf: Possible long runtimes for partially malformed FlateDecode streams (Follow-up)
7.5
CVE-2026-102996
pypdf: Possible large memory usage when parsing font data
