Uncontrolled Recursion in Spring AI - CVE-2026-47851

 

Uncontrolled Recursion in Spring AI - CVE-2026-47851

Published: August 28, 2026


Vulnerability identifier: #VU146244
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-47851
CWE-ID: CWE-674
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause a denial of service.

The vulnerability exists due to unbounded recursion in the PDF Document Reader outline tree processing when analyzing a PDF with a deeply nested or cyclic table of contents. A remote attacker can supply a crafted PDF to cause a denial of service.

The issue can trigger a StackOverflowError in the ingestion thread.


Affected software

Spring AI

How to mitigate CVE-2026-47851

Install security update from vendor's website.

Spring AI - addressed in versions 1.0.10, 1.1.9, 2.0.0.1

External References

Related Security Bulletins