Allocation of Resources Without Limits or Throttling Affecting org.springframework.ai:spring-ai-pdf-document-reader package, versions [,1.0.6)[1.1.0-M1, 1.1.5)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.05% (16th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Allocation of Resources Without Limits or Throttling vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGSPRINGFRAMEWORKAI-16316421
  • published28 Apr 2026
  • disclosed27 Apr 2026
  • creditUnknown

Introduced: 27 Apr 2026

NewCVE-2026-40980  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade org.springframework.ai:spring-ai-pdf-document-reader to version 1.0.6, 1.1.5 or higher.

Overview

org.springframework.ai:spring-ai-pdf-document-reader is a Spring AI PDF document reader

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling via ForkPDFLayoutTextStripper. An attacker can cause denial of service by supplying a crafted PDF file that triggers excessive memory allocation during parsing, leading to resource exhaustion when user-controlled input is processed by DocumentReaders.

CVSS Base Scores

version 4.0
version 3.1