CVE-2017-5638

published 11 Mar 2017 · updated 21 Oct 2025

Apache Struts Remote Code Execution Vulnerability

10.0CriticalCVSS 9.8EPSS 100%CISA KEV · due 3 May 20226 public exploits

Exploited in the wild, used by ransomware, in CISA KEV since 3 Nov 2021 (due 3 May 2022), with 6 public exploits. No fixed version is recorded.

The Jakarta Multipart parser in Apache Struts 2 2.3.x before 2.3.32 and 2.5.x before 2.5.10.1 has incorrect exception handling and error-message generation during file-upload attempts, which allows remote attackers to execute arbitrary commands via a crafted Content-Type, Content-Disposition, or Content-Length HTTP header, as exploited in the wild in March 2017 with a Content-Type header containing a #cmd= string.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
ApacheStruts
Apache Software Foundation=2.3.x before 2.3.32, =2.5.x before 2.5.10.1

Exploit evidence

6 public sources

kev

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Struts, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2017-5638 severity on Zeptric[![CVE-2017-5638](https://zeptric.io/badge/cve/CVE-2017-5638.svg)](https://zeptric.io/cve/CVE-2017-5638)