CVE-2026-47881

Denial of Service in Spring Batch FlatFileItemReader via Malformed Input File

Published Aug 27, 2026 CVSS 3.1 · 5.9 Medium EPSS < 1% KEV · Not listed
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

Analysis

AI-generated

Technical 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. The EPSS score of 0.00274 (<1%) indicates a very low exploitation probability, but does not eliminate the risk. 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 can trigger the denial of service. No workaround has been documented, making patching the most reliable response.

Remediation

No solution or workaround provided in the CVE record.

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 19:14 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
References
History
Type Values Removed Values Added
First Time appeared Broadcom
Broadcom spring Batch
CPEs cpe:2.3:a:broadcom:spring_batch:*:*:*:*:*:*:*:*
Vendors & Products Broadcom
Broadcom spring Batch
Type Values Removed Values Added
First Time appeared Spring
Spring spring Batch
Vendors & Products Spring
Spring spring Batch
Type Values Removed Values Added
Weaknesses CWE-400
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Weaknesses CWE-399
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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
vmware
Published
Updated
Aug 27, 2026, 2:21 PM
Reserved
May 20, 2026, 10:00 AM
Status
Analyzed
Published
Aug 27, 2026, 6:17 AM
Modified
Sep 1, 2026, 8:21 PM