Resource exhaustion in Spring Batch

CVE-2026-47881

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

Vulnerability class: DoS (Denial of Service)

EPSS: 0.003 (19.3th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.9 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-47881?
CVE-2026-47881 is a medium-severity vulnerability in Spring Batch, classified under Uncontrolled Resource Consumption. CVSS score: 5.9/10. Published 2026-08-27.
How severe is CVE-2026-47881?
Medium severity. CVSS v3 base score is 5.9 out of 10.