cve.bz

CVE-2026-40980

6.5 mediumEPSS 0.2%

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)

CVSS 3.1
6.5CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS
0.2% chance of exploitation in the next 30 days; higher than 14% of CVEs (scores of 2026-10-26)
CWE
CWE-400
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-26gg-9gv2-v27jMavenorg.springframework.ai:spring-ai-pdf-document-reader>=1.0.0 <1.0.61.0.6
GHSA-26gg-9gv2-v27jMavenorg.springframework.ai:spring-ai-pdf-document-reader>=1.1.0 <1.1.51.1.5

References

Check your stackJSON