CVE-2026-47881 PUBLISHED

Denial of Service in Spring Batch FlatFileItemReader via Malformed Input File

Assigner: vmware
Reserved: 20.05.2026 Published: 27.08.2026 Updated: 27.08.2026

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

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS Score: 5.9

Product Status

Vendor Spring
Product Spring Batch
Versions Default: unaffected
  • affected from 6.0.0 to 6.0.4 (incl.)
  • affected from 5.2.0 to 5.2.6 (incl.)
  • affected from 4.3.0 to 4.3.13 (incl.)

References

Problem Types

  • CWE-400 Uncontrolled Resource Consumption CWE

Impacts

  • 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.