# CVE-2026-41312: pypdf: Manipulated FlateDecode predictor parameters 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-7gw9-cf7v-778f, PYSEC-2026-3011, UBUNTU-CVE-2026-41312, DEBIAN-CVE-2026-41312, CGA-56ww-4qm6-6p2r, CGA-fr39-f3fm-j9mp, CGA-fw8m-mcq3-phm8, CGA-mwrq-qm8f-2mc9
- Record: https://cvemate.com/vulnerability/CVE-2026-41312 · JSON: https://cvemate.com/vulnerability/CVE-2026-41312/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 a stream compressed using `/FlateDecode` with a `/Predictor` unequal 1 and large predictor parameters. 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.9.2-r0 \| \< 0.8.12-r4
- wolfi open-webui (Wolfi): \< 0.9.2-r0 \| \< 0.8.12-r4
- 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-7gw9-cf7v-778f>
- <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-41312>
- <https://github.com/py-pdf/pypdf>
- <https://pypi.org/project/pypdf>
- <https://github.com/advisories/GHSA-7gw9-cf7v-778f>
- <https://ubuntu.com/security/CVE-2026-41312>
- <https://www.cve.org/CVERecord?id=CVE-2026-41312>
- <https://security-tracker.debian.org/tracker/CVE-2026-41312>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/41xxx/CVE-2026-41312.json>

---

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