# CVE-2026-41314: pypdf: Manipulated FlateDecode image dimensions can exhaust RAM

- Priority: **Routine**
- Reason: Not severe (CVSS 4.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-04-22 · Modified: 2026-04-23
- Aliases: GHSA-x284-j5p8-9c5p, PYSEC-2026-3026, UBUNTU-CVE-2026-41314, DEBIAN-CVE-2026-41314, CGA-f77h-xp4c-25v5, CGA-q944-ww5h-76cp, CGA-gvjp-q9c5-48fj, CGA-rc65-5qhx-625w
- Record: https://cvemate.com/vulnerability/CVE-2026-41314 · JSON: https://cvemate.com/vulnerability/CVE-2026-41314/json

## Description

```text
pypdf is a free and open-source pure-python PDF library. An attacker who uses a vulnerability present in versions prior to 6.10.2 can craft a PDF which leads to the RAM being exhausted. This requires accessing an image using `/FlateDecode` with large size values. This has been fixed in pypdf 6.10.2. As a workaround, one may apply the changes from the patch manually.
```

## Signals

- CVSS: 6.5 medium (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- EPSS: 0.235%, percentile 15.498%, 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.82.3.0-r4
- chainguard nemo (Chainguard): \< 2.7.2-r2
- chainguard open-webui (Chainguard): \< 0.8.12-r4 \| \< 0.9.2-r0
- wolfi open-webui (Wolfi): \< 0.8.12-r4 \| \< 0.9.2-r0
- 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.10.2
- pypdf\_project pypdf: \< 6.10.2
- PyPI pypdf (PyPI): \< 6.10.2

## References

- <https://github.com/py-pdf/pypdf/security/advisories/GHSA-x284-j5p8-9c5p>
- <https://github.com/py-pdf/pypdf/pull/3734>
- <https://github.com/py-pdf/pypdf/commit/ac734dab4eef92bcce50d503949b4d9887d89f11>
- <https://github.com/py-pdf/pypdf/releases/tag/6.10.2>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-41314>
- <https://github.com/py-pdf/pypdf>
- <https://pypi.org/project/pypdf>
- <https://github.com/advisories/GHSA-x284-j5p8-9c5p>
- <https://ubuntu.com/security/CVE-2026-41314>
- <https://www.cve.org/CVERecord?id=CVE-2026-41314>
- <https://security-tracker.debian.org/tracker/CVE-2026-41314>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/41xxx/CVE-2026-41314.json>

---

Data as of 2026-12-05T13:05:54.573Z. 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
