Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSubmit crafted PDF to ingestion path
-
ExploitReader reconstructs layout from glyph gaps
-
ExecutionUnbounded cumulative per-page memory allocation
-
ImpactTrigger 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
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.
Primary rating from Vendor (vmware).
CVSS VectorVendor: vmware
Lifecycle Timeline
1DescriptionCVE.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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Access control bypass in SpringBlade v4.5.0 importUser function allows low-privileged users to import sensitive user dat
Spring Cloud Config Server contains a path traversal vulnerability when using the native file system backend, allowing u
Spring Framework MVC applications can be vulnerable to a “Path Traversal Vulnerability” when deployed on a non-compliant
SpringBlade v4.5.0 has an access control flaw in authRoutes allowing low-privileged users to escalate to admin through t
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
Server-Sent Events (SSE) stream corruption affects Spring MVC applications built on the functional web framework across
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
Unsafe JSON deserialization in Spring Framework's JMS message converters (MappingJackson2MessageConverter and JacksonJso
Spring Security Aspects may not correctly locate method security annotations on private methods. Rated critical severity
Safety-guard bypass in the Spring Framework SpEL engine (VMware/Broadcom) lets attacker-controlled expression input esca
Directory traversal in Spring Cloud Config server module allows remote unauthenticated attackers to read arbitrary files
Spring Security fails to properly write HTTP response headers in servlet applications across multiple versions (5.7.0-5.
EUVD-2026-132999
GHSA-g3cc-x98w-xp7r
NVD
CVE.org
Exploit-DB