# CVE-2026-41312

> Vulnerability · severity: **MEDIUM** (CVSS 6.5).

## Description

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.

## Key facts

- **CVE ID:** CVE-2026-41312
- **Published:** 2026-04-22
- **CVSS severity:** MEDIUM
- **CVSS base score:** 6.5
- **CWE codes:** CWE-789

## Affected products

- `pypdf_project:pypdf`

## Primary sources

- NIST NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-41312

## Citation

> AI Analytics. CVE-2026-41312. Retrieved 2026-07-15 from https://api.ai-analytics.org/cve/CVE-2026-41312. Derived from NIST NVD. Licensed CC0.

---

*[Dataset catalog](https://api.ai-analytics.org/datasets/) · [AI Analytics](https://api.ai-analytics.org/) · CC0 1.0*