# CVE-2026-59936: pypdf: Possible infinite loop for not terminated inline images

- Priority: **Prioritise**
- Reason: Severe, CVSS 8.7 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 6.14.1 (CNA); fix release not confirmed
- Status: published
- Published: 2026-07-08 · Modified: 2026-07-09
- Aliases: GHSA-5xf7-4p34-54qr, PYSEC-2026-3612, UBUNTU-CVE-2026-59936, DEBIAN-CVE-2026-59936, CGA-4r56-m28c-9v3c, CGA-mr6w-m34q-g64f, CGA-489m-fh9x-w77h, CGA-ww94-cj7w-3j7p
- Record: https://cvemate.com/vulnerability/CVE-2026-59936 · JSON: https://cvemate.com/vulnerability/CVE-2026-59936/json

## Description

```text
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.
```

## Signals

- CVSS: 8.7 high (v4.0, CVE.org) 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
- EPSS: 0.34%, percentile 29.491%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- chainguard litellm (Chainguard): \< 1.93.0-r3
- chainguard open-webui (Chainguard): \< 0.11.0-r6
- wolfi open-webui (Wolfi): \< 0.11.0-r6
- debian pypdf (Debian): All versions (No fix recorded) \| \< 6.19.0-1
- debian pypdf2 (Debian): All versions (No fix recorded)
- ubuntu pypdf (Ubuntu): All versions (No fix recorded)
- ubuntu pypdf2 (Ubuntu): All versions (No fix recorded)
- py-pdf pypdf: \< 6.14.1
- pypdf\_project pypdf: \< 6.14.1
- PyPI pypdf (PyPI): \< 6.14.1

## References

- <https://github.com/py-pdf/pypdf/security/advisories/GHSA-5xf7-4p34-54qr>
- <https://github.com/py-pdf/pypdf/pull/3891>
- <https://github.com/py-pdf/pypdf/commit/ec3b14596186c40caca7cf8ab9b2155203e01b5b>
- <https://github.com/py-pdf/pypdf/releases/tag/6.14.1>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-59936>
- <https://github.com/py-pdf/pypdf>
- <https://pypi.org/project/pypdf>
- <https://github.com/advisories/GHSA-5xf7-4p34-54qr>
- <https://ubuntu.com/security/CVE-2026-59936>
- <https://www.cve.org/CVERecord?id=CVE-2026-59936>
- <https://security-tracker.debian.org/tracker/CVE-2026-59936>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59936.json>

---

Data as of 2026-12-05T08:28:57.104Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
