# CVE-2023-34396: Apache Struts vulnerable to memory exhaustion

Source: https://junglewise.ai/threats/cve-2023-34396-apache-struts-vulnerable-to-memory-exhaustion  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2023-06-14  
License: CC BY 4.0 with a link back

CVE-2023-34396 · Severity: low · CVSS 3.1 · Published 2023-06-14

Apache Struts vulnerable to memory exhaustion

Technologies: [org.apache.struts:struts-core (Maven)](https://junglewise.ai/threats/technologies/org-apache-struts-struts-core), [org.apache.struts:struts2-core (Maven)](https://junglewise.ai/threats/technologies/org-apache-struts-struts2-core), [struts:struts (Maven)](https://junglewise.ai/threats/technologies/struts-struts). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2023-34396 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2023-34396 being exploited in the wild.

**How severe is CVE-2023-34396?** Low severity, with a CVSS score of 3.1, published 14 June 2023.

**Which products and versions are affected?** org.apache.struts:struts-core (Maven) ECOSYSTEM:introduced=0,last_affected=1.3.10; org.apache.struts:struts2-core (Maven) ECOSYSTEM:introduced=0,fixed=2.5.31; struts:struts (Maven) ECOSYSTEM:introduced=0,last_affected=1.2.9.

**Is there a fix for CVE-2023-34396?** Yes. org.apache.struts:struts2-core (Maven): upgrade to 2.5.31 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2023-34396?** Check whether you run org.apache.struts:struts-core (Maven), org.apache.struts:struts2-core (Maven) or struts:struts (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- org.apache.struts:struts2-core (Maven): upgrade to 2.5.31 or later

  ```sh
  # set org.apache.struts:struts2-core to 2.5.31 in your pom.xml or build.gradle
  ```


## Affected products

- org.apache.struts:struts-core (Maven) ECOSYSTEM:introduced=0,last_affected=1.3.10
- org.apache.struts:struts2-core (Maven) ECOSYSTEM:introduced=0,fixed=2.5.31
- struts:struts (Maven) ECOSYSTEM:introduced=0,last_affected=1.2.9

## Identifiers

- CVE-2023-34396
- GHSA-4g42-gqrg-4633

## Related threats

- [Apache Struts XXE injection in XWork component](https://junglewise.ai/threats/cve-2025-68493-apache-struts-xxe-injection-in-xwork-component)
- [Apache Struts has a Denial of Service vulnerability](https://junglewise.ai/threats/cve-2025-66675-apache-struts-has-a-denial-of-service-vulnerability)
- [Apache Struts is Vulnerable to DoS via File Leak](https://junglewise.ai/threats/cve-2025-64775-apache-struts-is-vulnerable-to-dos-via-file-leak)
- [Apache Struts Extras Before 2 has an Improper Output Neutralization for Logs Vulnerability](https://junglewise.ai/threats/cve-2025-54656-apache-struts-extras-before-2-has-an-improper-output)
- [Apache Struts file upload logic is flawed](https://junglewise.ai/threats/cve-2024-53677-apache-struts-file-upload-logic-is-flawed)
