All reports
Medium

Apache Struts vulnerable to memory exhaustion

Affected versions

Affected versions
< 2.5.31
Fixed version
2.5.31
Affected versions
>= 6.0.0, < 6.1.2.1
Fixed version
6.1.2.1

Exploitation

CVE-2023-34149

Probability of exploitation in the next 30 days: 5.40%

FIRST EPSS · 2026-11-23

Description

Denial of service via out of memory (OOM) owing to not properly checking of list bounds. When a Multipart request has non-file normal form fields, Struts used to bring them into memory as Strings without checking their sizes. This could lead to OOM if developer has set struts.multipart.maxSize to a value equal or greater than the available memory.

Upgrade to Struts 2.5.31 or 6.1.2.1 or greater.

Links