๐Ÿ” CVE Alert

CVE-2026-59340

MEDIUM 6.5

Denial of Service via crafted PDF in PagePdfDocumentReader

CVSS Score
6.5
EPSS Score
0.4%
EPSS Percentile
36th

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.

Vendor spring
Product spring ai
Ecosystems
Industries
TechnologyEnterprise
Published Nov 23, 2026
Last Updated Nov 24, 2026
Stay Ahead of the Next One

Get instant alerts for spring spring ai

Be the first to know when new medium vulnerabilities affecting spring spring ai are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Affected Versions

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

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
spring.io: https://spring.io/security/cve-2026-59340

Credits

The issue was reported responsibly by Chae Jisung (Jisung Chae) โ€“ https://github.com/jisung-02