# CVE-2026-59938: pypdf: Possible large memory usage for wrong image dimensions

- Priority: **Routine**
- Reason: Not severe (CVSS 6.9, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-07-08 · Modified: 2026-07-09
- Aliases: GHSA-5qjq-93h5-hrgp, PYSEC-2026-3611, UBUNTU-CVE-2026-59938, DEBIAN-CVE-2026-59938, CGA-2m8j-jfq5-3h5x, CGA-mmq5-g578-3jr4, CGA-2253-cq4f-2wj6, CGA-93q5-9rvg-hg79
- Record: https://cvemate.com/vulnerability/CVE-2026-59938 · JSON: https://cvemate.com/vulnerability/CVE-2026-59938/json

## Description

```text
pypdf is a free and open-source pure-python PDF library. Prior to 6.14.0, an attacker can craft a PDF with declared image size values that are much too large compared to the actual data, causing large memory usage in pypdf image parsing. This issue is fixed in version 6.14.0.
```

## Signals

- CVSS: 6.9 medium (v4.0, CVE.org) CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
- EPSS: 0.303%, percentile 24.813%, 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.0
- pypdf\_project pypdf: \< 6.14.0
- PyPI pypdf (PyPI): \< 6.14.0

## References

- <https://github.com/py-pdf/pypdf/security/advisories/GHSA-5qjq-93h5-hrgp>
- <https://github.com/py-pdf/pypdf/pull/3888>
- <https://github.com/py-pdf/pypdf/commit/c64583be16b8e8763d8777075f8ecbf382014b7a>
- <https://github.com/py-pdf/pypdf/releases/tag/6.14.0>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-59938>
- <https://github.com/py-pdf/pypdf>
- <https://pypi.org/project/pypdf>
- <https://github.com/advisories/GHSA-5qjq-93h5-hrgp>
- <https://ubuntu.com/security/CVE-2026-59938>
- <https://www.cve.org/CVERecord?id=CVE-2026-59938>
- <https://security-tracker.debian.org/tracker/CVE-2026-59938>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59938.json>

---

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