CVE-2026-47881

Denial of Service in Spring Batch FlatFileItemReader via Malformed Input File

State
Published
Severity
5.9 Medium
Published
Aug 27, 2026
Updated
Aug 27, 2026
Reserved
May 20, 2026

Read the record on cve.org

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

Scores

CVSSScoreVectorSource
3.15.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:Hvmware

Weaknesses

  • CWE-400 Uncontrolled Resource Consumption

Affected Products

ProductVersions
Spring BatchSpring
  • 6.0.0 through 6.0.4Affected
  • 5.2.0 through 5.2.6Affected
  • 4.3.0 through 4.3.13Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.