ZeroDay Brief
Happy holidays from ZeroDay Brief!
CVE-2026-59340

PagePdfDocumentReader and ParagraphPdfDocumentReader are vulnerable to a denial of service when processing untrusted PDF input.

CVSS
6.5Medium
Chance of exploitation (EPSS)
0.51%
Published
Nov 23, 2026
In the news
Not yet
More from this vendor

What to do

A moderate security flaw in Spring AI that can be attacked over the network by someone with an account. No attacks are reported yet; it can go in your normal patch cycle.

Action: Check the vendor's advisory in the references and apply updates as soon as they are available.

Fixed in: 1.0.11, 1.1.10, 2.0.2.1, 2.0.3

Affected versions
Spring AI
1.0.0 to before 1.0.11; 1.1.0 to before 1.1.10; 2.0.0 to before 2.0.2.1; 2.0.0 to before 2.0.3

Description

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.

CWE-770

Affected products

Get alerts for these →

Timeline 1

Latest change: CVE-2026-59340 published (CVSS 6.5) (Nov 23, 2026)

News, advisories, exploit code, scanner detection and exploitation, newest first.

Mon, Nov 23, 2026

  1. CVECVE-2026-59340 published (CVSS 6.5)CVE Program · 11:17 UTC

References 1

You are leaving ZeroDay Brief

This link goes to exploit code on a third-party site. We find these links automatically and do not test, review or vouch for them. They may contain malware or fake exploits.

We are not responsible for anything that happens if you open the page or run its code. Never run exploit code on systems you care about.

↑ ↓ moveEnter openEsc closeTry “CVE-2026”, “fortinet” or “ivanti”