Description
Spring Batch's FlatFileItemReader supports files where a single logical record spans multiple physical lines — for example, a CSV field that contains embedded newlines wrapped in quotes. A specially crafted input file could exploit the way the reader assembles those multi-line records to consume excessive CPU time and memory, causing the batch job to stall or run out of memory.
Spring Batch 6.0.0 - 6.0.4
Spring Batch 5.2.0 - 5.2.6
Spring Batch 4.3.0 - 4.3.13
Published: 2026-08-27
Score: 5.9 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Spring Batch’s FlatFileItemReader can process logical records that span multiple physical lines, such as CSV fields containing embedded newlines. A maliciously crafted input file can cause the reader to assemble these multi‑line records in a way that consumes excessive CPU and memory. The resulting resource exhaustion can stall the batch job or exhaust available memory, rendering the application unavailable to legitimate users.

Affected Systems

The affected products are Spring Batch versions 4.3.0 through 4.3.13, 5.2.0 through 5.2.6, and 6.0.0 through 6.0.4. These are deployed in any Java application that uses the FlatFileItemReader component for batch processing.

Risk and Exploitability

The CVSS score of 5.9 indicates a moderate severity risk for denial of service. No EPSS score is available, so the likelihood of exploitation is currently unknown. The vulnerability is not listed in the CISA KEV catalog. The attack vector is inferred to be local or remote, depending on the environment where input files are accepted; an attacker who can supply malformed files to the reader gain is able to trigger the debtilation. No workaround has been documented, making patching the most reliable response.

Generated by OpenCVE AI on August 27, 2026 at 07:53 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to a Spring Batch version that fixes the flaw, such as 6.0.5 or a later release.
  • When the patch cannot be applied immediately, limit the size and complexity of files processed by the FlatFileItemReader and monitor CPU and memory usage for signs of abnormal consumption.
  • Implement pre‑validation of input files to reject those with excessive embedded newlines or oversized fields before reading.

Generated by OpenCVE AI on August 27, 2026 at 07:53 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

References
History

Thu, 27 Aug 2026 08:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-399

Thu, 27 Aug 2026 06:15:00 +0000

Type Values Removed Values Added
Description Spring Batch's FlatFileItemReader supports files where a single logical record spans multiple physical lines — for example, a CSV field that contains embedded newlines wrapped in quotes. A specially crafted input file could exploit the way the reader assembles those multi-line records to consume excessive CPU time and memory, causing the batch job to stall or run out of memory. Spring Batch 6.0.0 - 6.0.4 Spring Batch 5.2.0 - 5.2.6 Spring Batch 4.3.0 - 4.3.13
Title Denial of Service in Spring Batch FlatFileItemReader via Malformed Input File
References
Metrics cvssV3_1

{'score': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: vmware

Published:

Updated: 2026-08-27T05:21:31.231Z

Reserved: 2026-05-20T10:00:58.694Z

Link: CVE-2026-47881

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-27T06:17:18.143

Modified: 2026-08-27T06:17:18.143

Link: CVE-2026-47881

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-27T08:00:07Z

Weaknesses