Intel

AIKIDO-2026-204618

spring-ai-pdf-document-reader is vulnerable to Denial of Service (DoS)

Denial of Service (DoS)CVE-2026-47851 Published 6 days ago

75

High Risk

This Affects:

JAVAspring-ai-pdf-document-reader
1.0.0 - 2.0.0
Fixed in 2.0.1
Are you affected? Scan for Free

TL;DR

spring-ai-pdf-document-reader recursively walks a PDF outline tree during ingestion. A PDF with a deeply nested or cyclic table of contents can cause a StackOverflowError on the ingestion thread. That stops document processing and can take down the worker. The patch bounds outline traversal so crafted PDFs no longer crash the reader.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you ingest PDFs with spring-ai-pdf-document-reader.

Background info

spring-ai-pdf-document-reader is vulnerable to Denial of Service (DoS) in versions 1.0.0 - 2.0.0.

How to fix this

Upgrade the org.springframework.ai:spring-ai-pdf-document-reader library to the patch version.