What’s Vulnerable › Vulnerabilities
CVE-2026-47881: Denial of Service in Spring Batch FlatFileItemReader via Malformed Input File
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-08-27 · updated 2026-09-01
- Weakness: CWE-400
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
- Spring Batch: from 4.3.0 before 4.3.14; from 5.2.0 before 5.2.7; from 6.0.0 before 6.0.4.1 — fixed in 4.3.14, 5.2.7, 6.0.4.1
How to fix
Upgrade to a fixed version: Spring Batch 4.3.14, 5.2.7, 6.0.4.1. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2026-47881 or the next vulnerability affects your stack