# CVE-2026-40980

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

## Description

In Spring AI, a malicious PDF file can be crafted that triggers the allocation of unreasonable amounts of memory when handled by `ForkPDFLayoutTextStripper`.

Affected versions:
Spring AI: 1.0.0 - 1.0.5 (fixed in 1.0.6), 1.1.0 - 1.1.4 (fixed in 1.1.5)

## Key facts

- **CVE ID:** CVE-2026-40980
- **Published:** 2026-04-28
- **CVSS severity:** MEDIUM
- **CVSS base score:** 6.5
- **CWE codes:** CWE-400

## Affected products

- `vmware:spring_ai`

## Primary sources

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

## Citation

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

---

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