GHSA-4g42-gqrg-4633HighCVSS 7.5

Apache Struts vulnerable to memory exhaustion

Published
June 14, 2023
Last Modified
October 13, 2025

🔗 CVE IDs covered (1)

📋 Description

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 products4

  • maven/org.apache.struts:struts2-core:< 2.5.31
  • maven/org.apache.struts:struts2-core:>= 6.0.0, < 6.1.2.1
  • maven/org.apache.struts:struts-core:<= 1.3.10
  • maven/struts:struts:<= 1.2.9

🔗 References (8)