Skip to main content

Spring AI EUVDEUVD-2026-132999

| CVE-2026-59340 MEDIUM
2026-11-23 vmware GHSA-g3cc-x98w-xp7r
6.5
CVSS 3.1 · Vendor: vmware
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Submit crafted PDF to ingestion path
  2. Exploit
    Reader reconstructs layout from glyph gaps
  3. Execution
    Unbounded cumulative per-page memory allocation
  4. Impact
    Trigger OutOfMemoryError, degraded service or JVM termination

Vulnerability Assessment

Exploitation Conditions

Exploitation requires that the target application use Spring AI's PagePdfDocumentReader or ParagraphPdfDocumentReader to extract text from PDFs originating from untrusted sources (document upload, email attachment processing, RAG ingestion, or web crawling). The specific defect is that the text-extraction layout reconstruction caps memory for any single computed glyph gap but not the cumulative allocation across a full page, so a crafted PDF forces excessive total allocation. Limiting and modulating factors: the impact severity is governed by JVM configuration - with default heap behavior the result is request failures and degraded service under repeated requests, whereas with -XX:+ExitOnOutOfMemoryError set the JVM terminates immediately. Whether attacker authentication is needed depends on deployment: anonymous upload/crawl/email paths require none, while gated upload endpoints require a low-privilege account.

Impact

This is a moderate-severity availability issue (CVSS 6.5, CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H) affecting Spring AI's PagePdfDocumentReader and ParagraphPdfDocumentReader. The CVSS vector signals network reachability (AV:N) and low attack complexity (AC:L) with no impact to confidentiality or integrity - purely a denial-of-service via memory exhaustion (A:H). The vuln.today decision label is 'this_month', indicating a routine-but-not-emergency priority rather than act_now/emergency. No CISA KEV listing, no EPSS score, and no proof-of-concept or exploit reference are provided in the input, so there is no public exploit identified at time of analysis and no evidence of active exploitation. The vector lists PR:L (authenticated, low privilege), yet the description's threat model - document upload, email attachment processing, RAG ingestion, web crawling - includes unauthenticated ingestion paths where an attacker who merely supplies a PDF needs no account; this is a notable tension, so the real privilege requirement depends on deployment mode and should be verified against how the PDF-ingestion endpoint is exposed. Overall this is a real but bounded availability priority: impactful for services that auto-ingest untrusted PDFs, but it does not expose data and its worst outcome (JVM termination) is contingent on JVM flags.

Exploit ScenarioDerived

An attacker submits a specially crafted PDF to an application that ingests untrusted documents with Spring AI (e.g., a RAG upload endpoint, an email attachment processor, or a web crawler). During text extraction the reader reconstructs page layout from glyph gaps and allocates memory per page without a cumulative cap, driving an OutOfMemoryError. No public exploit is identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 23, 2026

Spring AI's PagePdfDocumentReader and ParagraphPdfDocumentReader can be driven into an OutOfMemoryError by a crafted PDF, causing denial of service in applications that extract text from untrusted documents. The flaw is a cumulative memory-allocation gap in layout reconstruction: per-gap limits exist, but total per-page allocation is not bounded, so a PDF with many glyph gaps can exhaust the JVM heap; severity is moderate (CVSS 6.5) and depends on JVM settings, with default heap behavior producing request failures and -XX:+ExitOnOutOfMemoryError producing immediate JVM termination. The CVSS vector is network-reachable with low privileges (PR:L), although deployments that expose anonymous upload, email-attachment, RAG-ingestion, or crawling paths may be reachable without authentication; no public exploit was identified at time of analysis.

RemediationAI

No vendor-released patch identified at time of analysis; check the Spring advisory at https://spring.io/security/cve-2026-59340 for the fixed release and apply it when available, and use the HeroDevs entry for tracking. Until a fix is applied, do not pass untrusted PDFs to PagePdfDocumentReader or ParagraphPdfDocumentReader where avoidable; if PDF ingestion must continue, isolate extraction in a dedicated JVM or worker with a constrained heap and restart policy, rate-limit and authenticate upload/ingestion endpoints, and enforce document size and page limits before extraction. Removing -XX:+ExitOnOutOfMemoryError changes the failure mode from immediate JVM termination to request failures and degraded service but does not prevent the memory exhaustion, so it is only a containment trade-off; adding authentication to anonymous upload or crawling paths reduces exposure but breaks public-ingestion use cases.

Affected VersionsENISA

Spring AI 1.1.0 <1.1.10
Spring AI 1.0.0 <1.0.11
Spring AI 2.0.0 <2.0.3
Spring AI 2.0.0 <2.0.2.1

Affected Packages

euvd spring_ai fix: 1.0.11, 1.1.10, 2.0.2.1, 2.0.3

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Spring AI provides document readers that extract text from PDFs for RAG and ingestion pipelines. PagePdfDocumentReader and ParagraphPdfDocumentReader reconstruct page layout from glyph positions; the code limits how much memory can be allocated for any single computed gap but does not cap the cumulative allocation across an entire page. A crafted PDF that produces many large gaps therefore forces excessive total allocation and an OutOfMemoryError. The CPE entry cpe:2.3:a:spring:spring_ai:*:*:*:*:*:*:*:* identifies Spring AI as the affected product, and no CWE identifier was supplied; the root cause is best described from the advisory as unbounded cumulative resource allocation during text extraction. The trigger is specifically PDF processing through either affected reader, not general Spring AI use.

Know when Spring gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vmware) PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 6.5 MEDIUM

Network-reachable PDF ingestion with low complexity and no user interaction; PR:L reflects commonly authenticated upload paths; impact is availability-only (A:H), with no confidentiality or integrity effect.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (vmware).

CVSS VectorVendor: vmware

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

1
Patch available
Nov 23, 2026 - 12:16 EUVD

DescriptionCVE.org

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.

Threat Intelligence Overview

Prevalence
Medium
Spring AI is a newer but growing Java framework for RAG/AI applications
Social Media
1
Sightings
Data Quality
3 sources
Confidence: Low

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS N/A
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

More in Spring

View all
CVE-2025-70982 CRITICAL POC
9.9 Jan 26

Access control bypass in SpringBlade v4.5.0 importUser function allows low-privileged users to import sensitive user dat

CVE-2026-22739 HIGH POC
8.6 Mar 24

Spring Cloud Config Server contains a path traversal vulnerability when using the native file system backend, allowing u

CVE-2025-41242 MEDIUM POC
5.9 Aug 18

Spring Framework MVC applications can be vulnerable to a “Path Traversal Vulnerability” when deployed on a non-compliant

CVE-2025-70983 CRITICAL
9.9 Jan 23

SpringBlade v4.5.0 has an access control flaw in authRoutes allowing low-privileged users to escalate to admin through t

CVE-2026-41699 CRITICAL
9.8 Jun 11

Remote code execution in Spring for GraphQL versions 1.3.0-1.3.8, 1.4.0-1.4.5, and 2.0.0-2.0.3 allows unauthenticated at

CVE-2026-59313 CRITICAL
9.8 Aug 27

Server-Sent Events (SSE) stream corruption affects Spring MVC applications built on the functional web framework across

CVE-2026-22738 CRITICAL
9.8 Mar 27

Spring AI versions 1.0.0 through 1.0.4 and 1.1.0 through 1.1.3 allow unauthenticated remote code execution through Sprin

CVE-2026-41855 CRITICAL
9.8 Jun 09

Unsafe JSON deserialization in Spring Framework's JMS message converters (MappingJackson2MessageConverter and JacksonJso

CVE-2025-41232 CRITICAL
9.1 May 21

Spring Security Aspects may not correctly locate method security annotations on private methods. Rated critical severity

CVE-2026-59283 CRITICAL
9.1 Aug 27

Safety-guard bypass in the Spring Framework SpEL engine (VMware/Broadcom) lets attacker-controlled expression input esca

CVE-2026-40982 CRITICAL
9.1 May 07

Directory traversal in Spring Cloud Config server module allows remote unauthenticated attackers to read arbitrary files

CVE-2026-22732 CRITICAL POC
9.1 Mar 19

Spring Security fails to properly write HTTP response headers in servlet applications across multiple versions (5.7.0-5.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy