Allocation of Resources Without Limits or Throttling Affecting org.springframework.batch:spring-batch-infrastructure package, versions [4.3.0, 6.0.5)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.27% (20th 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-ORGSPRINGFRAMEWORKBATCH-19268223
  • published26 Aug 2026
  • disclosed20 Aug 2026
  • creditUnknown

Introduced: 20 Aug 2026

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

How to fix?

Upgrade org.springframework.batch:spring-batch-infrastructure to version 6.0.5 or higher.

Overview

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling via the FlatFileItemReader when handling specially crafted input files that exploit the way multi-line records are assembled. An attacker can cause excessive CPU and memory consumption by providing a malformed file, potentially leading to application stalls or resource exhaustion.

Note: This is only exploitable if either DefaultRecordSeparatorPolicy or JsonRecordSeparatorPolicy is used; the default SimpleRecordSeparatorPolicy is not affected.

Workaround

This vulnerability can be mitigated by adding an application-level check to reject files above a safe size threshold before they are opened by the reader, or by switching to SimpleRecordSeparatorPolicy if multi-line record support is not required.

CVSS Base Scores

version 4.0
version 3.1