HIGH 7.5

CVE-2026-47851

Unbounded recursion over attacker-controlled PDF outline tree in Spring AI PDF Document Reader

Description

Analyzing a PDF with a deeply nested or cyclic table of contents can cause a StackOverflowError in the ingestion thread. Spring AI 2.0.0 Spring AI 1.1.0 - 1.1.8 Spring AI 1.0.0 - 1.0.9

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.springframework.ai » spring-ai-pdf-document-reader
>= 1.0.0, <= 1.0.9>= 1.1.0, <= 1.1.8= 2.0.0
-

Blast radius

1affected artifacts
20affected versions
23dependent artifacts (est.)
168dependent versions

73% of the dependent artifacts (17) still pull an affected version in their latest release.

DepthDependent versions
Direct
63
2 hops
105

Most used dependents

Computed from the dependency graph of build 20261125.2201 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.

References

Advisorygithub.com
Advisorynvd.nist.gov
Webspring.io