CVE-2026-59936 json
pypdf: Possible infinite loop for not terminated inline images
published 4mo ago modified 9d ago also EUVD-2026-42366 , GHSA-5xf7-4p34-54qr , PYSEC-2026-3612
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 50%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi pypdf 6.14.1
- py-pdf pypdf 6.14.1
- pypdf Debian 14 6.19.0-1
debian advisories DEBIAN-CVE-2026-59936
- python-pypdf openSUSE Tumbleweed 6.14.2-1.1
opensuse advisories openSUSE-SU-2026:11238-1
Is CVE-2026-59936 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-59936 updated cvss 6.5
pypdf: pypdf: Denial of Service via crafted PDF inline image
-
Red Hat Exploit Intelligence exploit-intelligence-tech-preview/vulnerability-analysis-rhel9 Red Hat OpenShift Lightspeed openshift-lightspeed/lightspeed-ocp-rag-rhel9, openshift-lightspeed-tech-preview/lightspeed-rag-tool-rhel9 Red Hat Ansible Automation Platform 2 ansible-automation-platform-25/lightspeed-chatbot-rhel8 Red Hat Enterprise Linux AI (RHEL AI) 3 rhelai3/bootc-cuda-rhel9, rhelai3/bootc-rocm-rhel9, rhelai3/bootc-gaudi-rhel9, rhelai3/disk-image-cuda-rhel9 Red Hat OpenShift AI (RHOAI) rhoai/odh-llama-stack-core-rhel9 Red Hat Quay 3 quay/quay-rhel8, quay/quay-rhel9affected: no fix available “Fix deferred”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 4mo ago
Exploit prediction
0.62% chance of exploitation in the next 30 days, higher than 50% of all scored CVEs (FIRST EPSS, 2026-11-11).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 8.7 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
| CNA | 4.0 | 8.7 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | pypdf | <6.14.1 |
6.14.1 |
Affected products
- py-pdf pypdf
Classification
References
-
github.com
/py-pdf/pypdf/pull/3891
web, issue-tracking, patch
-
github.com
/py-pdf/pypdf/commit/ec3b14596186c40caca7cf8ab9b2155203e01b5b
web, patch
-
github.com
/py-pdf/pypdf/security/advisories/GHSA-5xf7-4p34-54qr
web, patch, vendor-advisory, advisory
-
github.com
/py-pdf/pypdf/releases/tag/6.14.1
web, product, release-notes
-
nvd.nist.gov
/vuln/detail/CVE-2026-59936
advisory
-
github.com
/py-pdf/pypdf
package
-
pypi.org
/project/pypdf
package
-
github.com
/advisories/GHSA-5xf7-4p34-54qr
advisory
Sources
- CVE List CVE-2026-59936
- GitHub Advisory GHSA-5xf7-4p34-54qr
- NVD CVE-2026-59936
- OSV PYSEC-2026-3612
- Maintainer advisory GHSA-5xf7-4p34-54qr
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
The maintainers of py-pdf/pypdf published their own advisory on GitHub. Reviewed sources take precedence over it.