# CVE-2026-40260

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

## Description

pypdf is a free and open-source pure-python PDF library. In versions prior to 6.10.0, manipulated XMP metadata entity declarations can exhaust RAM. An attacker who exploits this vulnerability can craft a PDF which leads to large memory usage. This requires parsing the XMP metadata. This issue has been fixed in version 6.10.0.

## Key facts

- **CVE ID:** CVE-2026-40260
- **Published:** 2026-04-17
- **CVSS severity:** MEDIUM
- **CVSS base score:** 5.3
- **CWE codes:** CWE-776

## Affected products

- `pypdf_project:pypdf`

## Primary sources

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

## Citation

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

---

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