{"id":"CVE-2023-34396","aliases":["GHSA-4g42-gqrg-4633"],"url":"https://o3.security/vulnerability/CVE-2023-34396","summary":"Apache Struts: DoS via OOM owing to no sanity limit on normal form fields in multipart forms","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.\n\nUpgrade to Struts 2.5.31 or 6.1.2.1 or greater","published":"2023-06-14T07:50:59.730Z","modified":"2026-10-28T02:31:03.874475659Z","cvss":{"score":4.3,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L"},"epss":{"score":0.05512,"percentile":0.92253,"asOf":"2026-08-23"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Maven","name":"org.apache.struts:struts2-core","fixedVersion":"2.5.31"},{"ecosystem":"Maven","name":"org.apache.struts:struts2-core","fixedVersion":"6.1.2.1"},{"ecosystem":"Maven","name":"org.apache.struts:struts-core","fixedVersion":null},{"ecosystem":"Maven","name":"struts:struts","fixedVersion":null}],"fix":{"url":"https://github.com/apache/struts/commit/2d6f1bc0a6f5ac575a56784ac6461816b67c4f21","label":"apache/struts@2d6f1bc"},"references":[{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2023/06/14/3"},{"type":"ADVISORY","url":"https://cwiki.apache.org/confluence/display/WW/S2-064"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/34xxx/CVE-2023-34396.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-34396"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20230706-0005/"},{"type":"WEB","url":"https://github.com/apache/struts/commit/2d6f1bc0a6f5ac575a56784ac6461816b67c4f21"},{"type":"PACKAGE","url":"https://github.com/apache/struts"},{"type":"WEB","url":"https://github.com/apache/struts/releases/tag/STRUTS_2_5_31"},{"type":"WEB","url":"https://github.com/apache/struts/releases/tag/STRUTS_6_1_2_1"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20230706-0005"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-10-28T02:31:03.874475659Z"}}