All reports
Medium

Spring AI Vulnerable to OOM by attacker-controlled PDF

Affected versions

Affected versions
>= 1.1.0, < 1.1.5
Fixed version
1.1.5
Affected versions
>= 1.0.0, < 1.0.6
Fixed version
1.0.6

Exploitation

CVE-2026-40980

Probability of exploitation in the next 30 days: 0.24%

FIRST EPSS · 2026-11-19

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)

Links