# CVE-2026-59935: pypdf: Possible infinite loop for not terminated inline images (ASCII85 and ASCIIHex filter)

- 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.2 (CNA); fix release not confirmed
- Status: published
- Published: 2026-07-08 · Modified: 2026-07-09
- Aliases: GHSA-g867-7843-wf8q, PYSEC-2026-3613, UBUNTU-CVE-2026-59935, DEBIAN-CVE-2026-59935, CGA-77xq-9pp8-w4jc, CGA-jxmq-jh9g-fgcg, CGA-3rr8-qrx8-79fm, CGA-6j5w-3h66-ccwp
- Record: https://cvemate.com/vulnerability/CVE-2026-59935 · JSON: https://cvemate.com/vulnerability/CVE-2026-59935/json

## Description

```text
pypdf is a free and open-source pure-python PDF library. Prior to 6.14.2, an attacker can craft a PDF with a page content stream containing a not terminated inline image that uses the ASCII85 or ASCIIHex filters, causing an infinite loop during parsing such as when extracting page text. This issue is fixed in version 6.14.2.
```

## 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.367%, percentile 32.605%, 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.2
- pypdf\_project pypdf: \< 6.14.2
- PyPI pypdf (PyPI): \< 6.14.2

## References

- <https://github.com/py-pdf/pypdf/security/advisories/GHSA-g867-7843-wf8q>
- <https://github.com/py-pdf/pypdf/pull/3892>
- <https://github.com/py-pdf/pypdf/commit/5a33a46416aa1ae6c025ff90a3cca57631fdafd2>
- <https://github.com/py-pdf/pypdf/releases/tag/6.14.2>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-59935>
- <https://github.com/py-pdf/pypdf>
- <https://pypi.org/project/pypdf>
- <https://github.com/advisories/GHSA-g867-7843-wf8q>
- <https://ubuntu.com/security/CVE-2026-59935>
- <https://www.cve.org/CVERecord?id=CVE-2026-59935>
- <https://security-tracker.debian.org/tracker/CVE-2026-59935>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59935.json>

---

Data as of 2026-12-05T12:43:12.780Z. 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
