CVE-2026-40980

MediumCVSS 6.5/10Last modified Jun 17, 2026

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)

Metrics

CVSS 3.1 6.5/10CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Weakness enumeration

Affected software

No affected versions have been published.

Timeline

Published
Apr 28, 2026
Last modified
Jun 17, 2026
NVD status
Analyzed

Related CVEs from 2026

CVE-2026-409817.5When using Google Secrets Manager as a backend for the Spring Cloud Config server a client can craft a request to the config server potentiaCVE-2026-409829.1Spring Cloud Config allows applications to serve arbitrary text and binary files through the spring-cloud-config-server module. A malicious CVE-2026-409837.5In Micrometer, it is possible for a user to provide specially crafted gRPC requests that may cause a denial-of-service (DoS) condition. AffCVE-2026-409847.5In Micrometer, it is possible for a user to provide specially crafted HTTP requests that may cause a denial-of-service (DoS) condition. AffCVE-2026-409856.4Applications that configure the WebFlowELExpressionParser are vulnerable to the use of malicious Unified EL expressions. Affected versions:CVE-2026-409864.8Spring Web Flow's JavaScript RemotingHandler renders the body of an error response as HTML even when the response is not "text/html", which CVE-2026-409877.1A malicious or compromised FTP/SFTP/SMB server can write arbitrary files anywhere on the client filesystem (outside the configured local-dirCVE-2026-409887.5An application using spring-security-saml2-service-provider and the REDIRECT binding for SAML 2.0 Login or Logout may be vulnerable to a denCVE-2026-409896.5Under infinite recursion in the routing layer, request-handling can cause OOM error. Affected Spring Products and Versions: Spring Cloud FuCVE-2026-409906.5OOM error is possible while attempting to add infinite amount of functions to Function Registry. Affected Spring Products and Versions: SprCVE-2026-409915.9When using spring-restdocs-webtestclient or spring-restdocs-restassured to document a remote API accessed over HTTP, an attacker who compromCVE-2026-409925.0Spring Boot's Mail auto-configuration does not enable hostname verification. Applications that set the relevant JavaMail property, such as s
CVE-2026-40980: Medium severity, CVSS 6.5 | Vulnix