Skip to main content
← All vulnerabilities
CVE-2026-40980GHSA-26GG-9GV2-V27J

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.0.6, 1.1.5
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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)

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • Spring Spring AI

    From 1.0.0 · fixed in 1.0.6; From 1.1.0 · fixed in 1.1.5

  • org.springframework.ai:spring-ai-pdf-document-readerMaven

    From 1.0.0 · fixed in 1.0.6

  • org.springframework.ai:spring-ai-pdf-document-readerMaven

    From 1.1.0 · fixed in 1.1.5

References 1

spring.io