6.5

CVE-2026-59340: Denial of Service via crafted PDF in PagePdfDocumentReader

Awaiting analysis
Published 23-11-2026Last modified 24-11-2026

Vulnerability summary

CVE-2026-59340 is a medium (CVSS 6.5) vulnerability in spring spring ai. EPSS estimates a 0.51% chance of exploitation in the next 30 days, higher than 44.8% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.5/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.51%
0%100%
Low · Change unavailable
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 23-11-2026
    PublishedVulnerability first disclosed.
  2. 24-11-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

2 scores · 2 sources · 1 version

EPSS trend

Probability

0.51%

Chance of exploitation in the next 30 days

Percentile

45%

Versus all other CVEs

30-day change

Change unavailable

Change unavailable

24-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Spring1 product
  • 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

1 vendor · 1 product

References

1 links