Live threats

All CVEs / Spring

CVE-2026-59340Spring AI

Medium 6.5 Recent

Priority
47
CVSS 3.1
6.5
EPSS
—
Auth required
Yes
Published
Nov 23, 2026
Updated
Nov 24, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-770
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

What happens

PagePdfDocumentReader and ParagraphPdfDocumentReader are vulnerable to a denial of service when processing untrusted PDF input. The underlying text extraction logic reconstructs layout from a PDF's glyph positions and limits how much memory can be allocated for any single computed gap, but does not limit the cumulative allocation across an entire page. A specially crafted PDF can exploit this to force excessive memory allocation during processing, resulting in OutOfMemoryError. Depending on JVM configuration, this can cause request failures with degraded service under repeated exploitation, or immediate JVM termination when ExitOnOutOfMemoryError options are used. Any application that processes PDFs from untrusted sources (document upload, email attachment processing, RAG ingestion, web crawling) using either affected reader is impacted.

Original NVD text.

What to do

  1. Apply the vendor's security update for Spring AI.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.