Home / Apache Software Foundation / Apache Struts / CVE-2017-5638
CVE-2017-5638: is it exploited, and which versions of Apache Software Foundation Apache Struts are affected and fixed?
CVE-2017-5638 is an exceptional condition mishandled vulnerability in Apache Software Foundation Apache Struts, and it is exploited in the wild: CISA added it to its Known Exploited Vulnerabilities catalog on November 3, 2021, with a federal due date of May 3, 2022. Affected: org.apache.struts:struts2-core from 2.3.0 before 2.3.32 and org.apache.struts:struts2-core from 2.5.0 before 2.5.10.1 (GitHub advisory GHSA-j77q-2qqg-6989). Fixed in 2.3.32 and 2.5.10.1 (GitHub advisory GHSA-j77q-2qqg-6989). Severity: Critical (9.8, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 07:38 UTC, CVE record November 19, 2026, 07:18 UTC and NVD November 19, 2026, 08:43 UTC.
What is CVE-2017-5638?
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.
From the CVE record by apache, last updated October 21, 2025, 23:55 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Apache Software Foundation | Apache Struts | 2.3.x before 2.3.32 2.5.x before 2.5.10.1 |
As the CVE record by apache states it, last updated October 21, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | org.apache.struts:struts2-core | >= 2.3.0, < 2.3.32 | 2.3.32 | GHSA-j77q-2qqg-6989 |
| Maven | org.apache.struts:struts2-core | >= 2.5.0, < 2.5.10.1 | 2.5.10.1 | GHSA-j77q-2qqg-6989 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated October 22, 2025. Summary: Apache Struts vulnerable to remote arbitrary command execution due to improper input validation.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| apache | struts | from 2.2.3 before 2.3.32 | application |
| apache | struts | from 2.5.0 before 2.5.10.1 | application |
| ibm | storwize v3500 firmware | 7.7.1.6 | operating system |
| ibm | storwize v3500 firmware | 7.8.1.0 | operating system |
| ibm | storwize v5000 firmware | 7.7.1.6 | operating system |
| ibm | storwize v5000 firmware | 7.8.1.0 | operating system |
| ibm | storwize v7000 firmware | 7.7.1.6 | operating system |
| ibm | storwize v7000 firmware | 7.8.1.0 | operating system |
| lenovo | storage v5030 firmware | 7.7.1.6 | operating system |
| lenovo | storage v5030 firmware | 7.8.1.0 | operating system |
| hp | server automation | 9.1.0 | application |
| hp | server automation | 10.0.0 | application |
| hp | server automation | 10.1.0 | application |
| hp | server automation | 10.2.0 | application |
| hp | server automation | 10.5.0 | application |
| oracle | weblogic server | 10.3.6.0.0 | application |
| oracle | weblogic server | 12.1.3.0.0 | application |
| oracle | weblogic server | 12.2.1.1.0 | application |
| oracle | weblogic server | 12.2.1.2.0 | application |
| arubanetworks | clearpass policy manager | before 6.6.5 | application |
| netapp | oncommand balance | all versions | application |
NVD analysis (status Analyzed), last modified June 17, 2026, 01:20 UTC.
How severe is CVE-2017-5638?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | CISA-ADP |
| Critical 9.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD |
| High 10.0 | CVSS 2.0 | AV:N/AC:L/Au:N/C:C/I:C/A:C | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2017-5638 exploited in the wild?
- CISA KEV
- Listed as Apache Struts Remote Code Execution Vulnerability, added November 3, 2021; federal agencies must act by May 3, 2022
- Required action
- Apply updates per vendor instructions.
- Ransomware use
- Known
- CISA's summary
- Apache Struts Jakarta Multipart parser allows for malicious file upload using the Content-Type value, leading to remote code execution.
- CISA SSVC
- Exploitation: active; automatable: yes; technical impact: total (CISA ADP, February 6, 2025)
- EPSS
- 100.0% probability of exploitation activity in the next 30 days, percentile 100.0 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- https://nmap.org/nsedoc/scripts/http-vuln-cve2017-5638.html x_refsource_MISC
- http://www.arubanetworks.com/assets/alert/ARUBA-PSA-2017-002.txt x_refsource_CONFIRM
- https://arstechnica.com/security/2017/03/critical-vulnerability-under-massive-attack-imperils-high-impact-sites/ x_refsource_MISC
- 41570 exploit, x_refsource_EXPLOIT-DB
- https://security.netapp.com/advisory/ntap-20170310-0001/ x_refsource_CONFIRM
- https://github.com/rapid7/metasploit-framework/issues/8064 x_refsource_MISC
- https://struts.apache.org/docs/s2-046.html x_refsource_CONFIRM
- http://blog.talosintelligence.com/2017/03/apache-0-day-exploited.html x_refsource_MISC
- https://www.imperva.com/blog/2017/03/cve-2017-5638-new-remote-code-execution-rce-vulnerability-in-apache-struts-2/ x_refsource_MISC
- https://h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbgn03733en_us x_refsource_CONFIRM
- VU#834067 third-party-advisory, x_refsource_CERT-VN
- https://isc.sans.edu/diary/22169 x_refsource_MISC
- https://struts.apache.org/docs/s2-045.html x_refsource_CONFIRM
- 1037973 vdb-entry, x_refsource_SECTRACK
- http://www.eweek.com/security/apache-struts-vulnerability-under-attack.html x_refsource_MISC
- 96729 vdb-entry, x_refsource_BID
- https://twitter.com/theog150/status/841146956135124993 x_refsource_MISC
- https://github.com/mazen160/struts-pwn x_refsource_MISC
- https://packetstormsecurity.com/files/141494/S2-45-poc.py.txt x_refsource_MISC
- https://www.symantec.com/security-center/network-protection-security-advisories/SA145 x_refsource_CONFIRM
- https://support.lenovo.com/us/en/product_security/len-14200 x_refsource_CONFIRM
- https://git1-us-west.apache.org/repos/asf?p=struts.git%3Ba=commit%3Bh=352306493971e7d5a756d61780d57a76eb1f519a x_refsource_CONFIRM
- https://h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbhf03723en_us x_refsource_CONFIRM
- https://git1-us-west.apache.org/repos/asf?p=struts.git%3Ba=commit%3Bh=6b8272ce47160036ed120a48345d9aa884477228 x_refsource_CONFIRM
- https://cwiki.apache.org/confluence/display/WW/S2-045 x_refsource_CONFIRM
- 41614 exploit, x_refsource_EXPLOIT-DB
- https://cwiki.apache.org/confluence/display/WW/S2-046 x_refsource_CONFIRM
- http://www.oracle.com/technetwork/security-advisory/cpujul2017-3236622.html x_refsource_CONFIRM
- https://h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbgn03749en_us x_refsource_CONFIRM
- http://blog.trendmicro.com/trendlabs-security-intelligence/cve-2017-5638-apache-struts-vulnerability-remote-code-execution/ x_refsource_MISC
- [announce] 20200131 Apache Software Foundation Security Report: 2019 mailing-list, x_refsource_MLIST
- [announce] 20210125 Apache Software Foundation Security Report: 2020 mailing-list, x_refsource_MLIST
- [announce] 20210223 Re: Apache Software Foundation Security Report: 2020 mailing-list, x_refsource_MLIST
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2017-5638 government-resource
When was it published, and where is the official record?
- Reserved
- January 29, 2017
- Published
- March 11, 2017, 02:11 UTC
- CVE record updated
- October 21, 2025, 23:55 UTC by apache
- NVD
- Analyzed, last modified June 17, 2026, 01:20 UTC
- Last checked
- CVE list November 19, 2026, 07:18 UTC; NVD November 19, 2026, 08:43 UTC; KEV December 3, 2026, 07:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD · CISA KEV
What other CVEs affect Apache Struts?
- Dec 11, 2020CVE-2020-17530 Apache Software Foundation Apache Struts: improper Neutralization of Special Elements used in an Expression Language Statement exploited
- Aug 22, 2018CVE-2018-11776 Apache Software Foundation Apache Struts: improper input validation exploited
- Sep 15, 2017CVE-2017-9805 Apache Software Foundation Apache Struts: deserialization of untrusted data exploited
- Jul 10, 2017CVE-2017-9791 Apache Software Foundation Apache Struts: improper input validation exploited
- Nov 30, 2026CVE-2026-133644 Apache Software Foundation Apache Struts: incorrect authorization
- Nov 30, 2026CVE-2026-133643 Apache Software Foundation Apache Struts: cross-site scripting (XSS)
- Nov 30, 2026CVE-2026-133642 Apache Software Foundation Apache Struts: interpretation Conflict
- Nov 30, 2026CVE-2026-133641 Apache Software Foundation Apache Struts: asymmetric Resource Consumption (Amplification)
Questions about CVE-2017-5638
Is CVE-2017-5638 exploited in the wild?
Yes. CISA added CVE-2017-5638 to its Known Exploited Vulnerabilities catalog on November 3, 2021 and set federal agencies a due date of May 3, 2022. CISA lists it as used in ransomware campaigns. FIRST's EPSS gives it a 100.0% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Apache Software Foundation Apache Struts are affected by CVE-2017-5638?
org.apache.struts:struts2-core from 2.3.0 before 2.3.32 and org.apache.struts:struts2-core from 2.5.0 before 2.5.10.1, per the GitHub advisory GHSA-j77q-2qqg-6989. The tables above give every range the sources list.
Which version fixes CVE-2017-5638?
2.3.32 and 2.5.10.1, per the GitHub advisory GHSA-j77q-2qqg-6989. Check the vendor's advisory before you rely on it.
How severe is CVE-2017-5638?
Critical (9.8, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2017-5638?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov; CISA's entry is in its Known Exploited Vulnerabilities catalog. For a fix, the vendor's own advisory is the one to follow.