Skip to content
CVE PROGRAM SOURCE RECORD5.9 Medium

CVE-2026-47881

Denial of Service in Spring Batch FlatFileItemReader via Malformed Input File

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

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Spring Spring Batch

Default version status: unaffected

  • 6.0.0 to ≤ 6.0.4affected
  • 5.2.0 to ≤ 5.2.6affected
  • 4.3.0 to ≤ 4.3.13affected

References