NetSight
medium6.5

CVE-2026-40980

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

Impact

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)

Affected packages

EcosystemPackageAffectedFixed in
mavenorg.springframework.ai:spring-ai-pdf-document-reader>= 1.0.0, < 1.0.61.0.6

Affected products

VendorProductAffected versions
VmwareSpring Ai
from 1.0.0 before 1.0.6
from 1.1.0 before 1.1.5

Weakness classification

References