VDB

CVE-2026-40980

CVE-2026-40980 PUBLISHED CVSS 6.5 MEDIUM

Spring AI Vulnerable to OOM by attacker-controlled PDF

Reported by vmware · Published April 28, 2026

spring-ai-pdf-document-reader is fixed in 1.1.5 and 1.0.6 (Maven Central)

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)

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
org.springframework.ai:spring-ai-pdf-document-readerMaven Central1.1.5, 1.0.6
Spring AISpring1.1.5, 1.0.6
spring_aivmware1.1.5, 1.0.6

Risk scores

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

Affected products

VendorProductVersions
SpringSpring AI1.0.0, 1.1.0
Mavenorg.springframework.ai:spring-ai-pdf-document-reader1.0.0, 1.1.0
SpringSpring AI1.0.0, 1.1.0

Timeline

  • Apr 28, 2026 CVE Published
  • Apr 28, 2026 PoC Published
  • May 18, 2026 EPSS Score (30 in total, the first dated here)
  • Jun 1, 2026 Security Advisory
  • Jul 24, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-40980
vulnetix vdb fixes CVE-2026-40980

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-40980/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›