GHSA-4g42-gqrg-4633
GitHub Security Advisory
Apache Struts vulnerable to memory exhaustion
✓ GitHub Reviewed
HIGH
Has CVE
Advisory Details
Denial of service via out of memory (OOM) owing to no sanity limit on normal form fields in multipart forms. 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 an 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
7.5
/10
Dataset
Last updated: September 20, 2025 6:29 AM
Data from GitHub Advisory Database. This information is provided for research and educational purposes.