CVE-2026-40980: Medium severity maven/org.springframework/spring-ai vulnerability

Published Apr 28, 2026
·
Updated

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 Software

3 affected components
maven/org.springframework/spring-ai>=1.0.0<=1.0.5, >=1.1.0<=1.1.4
VMware Spring Ai>=1.0.0<1.0.6
VMware Spring Ai>=1.1.0<1.1.5

Event History

Apr 28, 2026
CVE Published
via MITRE·07:31 AM
Data Sourced
via MITRE·07:31 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:16 AM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-40980?

CVE-2026-40980 is considered to have a high severity due to its potential to cause excessive memory allocation from malicious PDF files.

2

How do I fix CVE-2026-40980?

To fix CVE-2026-40980, upgrade Spring AI to version 1.0.6 or 1.1.5 or later.

3

What versions are affected by CVE-2026-40980?

CVE-2026-40980 affects Spring AI versions 1.0.0 to 1.0.5 and 1.1.0 to 1.1.4.

4

What component of Spring AI is vulnerable in CVE-2026-40980?

The vulnerability in CVE-2026-40980 specifically involves the `ForkPDFLayoutTextStripper` component.

5

What can happen if CVE-2026-40980 is exploited?

Exploitation of CVE-2026-40980 can lead to denial of service due to resource exhaustion caused by handling specially crafted PDF files.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203