GHSA-8f6x-v685-g2xc
GitHub Security Advisory
Apache Struts vulnerable to memory exhaustion
✓ GitHub Reviewed
MODERATE
Has CVE
Advisory Details
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.
Affected Packages
Maven
org.apache.struts:struts2-core
Affected versions:
0
(fixed in 2.5.31)
Maven
org.apache.struts:struts2-core
Affected versions:
6.0.0
(fixed in 6.1.2.1)
Related CVEs
Key Information
5.0
/10
Dataset
Last updated: September 20, 2025 6:29 AM
Data from GitHub Advisory Database. This information is provided for research and educational purposes.