Skip to main content
VulnerabilityPublished

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

Affects Spring AISource CVE Database V5

0
Compare

Not known to be exploited · CVSS 6.5 Medium · fixed in 2.0.3 : update Spring AI when convenient.

Data as of 23 Nov 2026, 11:09 UTC

CVSS 3.1 base score
6.5Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (vmware)CVSS 3.16.5
Patch
Available – fixed in 2.0.3, 2.0.2.1, 1.1.10 +1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 23 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 22 Nov 2026.

What to do

Upgrade Spring AI to 2.0.3, 2.0.2.1, 1.1.10 or 1.0.11.

Affected software

ProductAffectedFixed in
SpringSpring AIAffected
  • >=2.0.0 <2.0.3
Fixed in
  • 2.0.3
SpringSpring AIAffected
  • >=2.0.0 <2.0.2.1
Fixed in
  • 2.0.2.1
SpringSpring AIAffected
  • >=1.1.0 <1.1.10
Fixed in
  • 1.1.10
SpringSpring AIAffected
  • >=1.0.0 <1.0.11
Fixed in
  • 1.0.11

AI-suggested

Fixed versions 2.0.3, 2.0.2.1, 1.1.10, and 1.0.11 are available and should be applied to remediate this vulnerability. No other mitigation is indicated.

Description

CVE-2026-59340 is a denial of service vulnerability in Spring AI's PagePdfDocumentReader and ParagraphPdfDocumentReader components. The flaw arises from the text extraction logic that reconstructs layout from PDF glyph positions, which limits memory allocation per gap but not cumulatively across a page. A crafted PDF can trigger excessive memory allocation, causing an OutOfMemoryError. This can lead to request failures or JVM termination depending on JVM settings. Applications processing untrusted PDFs with these readers are affected.

References

Community reviews

Loading reviews…