CVEBrief

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.

Exploited in the wild
Yes, CISA KEV
added November 3, 2021, due May 3, 2022, used in ransomware
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
Exploit odds (EPSS)
100.0% in 30 days
higher than 100% of CVEs; FIRST, December 2, 2026

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?

VendorProductAffectedFixed or not affected from
Apache Software FoundationApache Struts2.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?

EcosystemPackageAffectedFixed inAdvisory
Mavenorg.apache.struts:struts2-core>= 2.3.0, < 2.3.322.3.32GHSA-j77q-2qqg-6989
Mavenorg.apache.struts:struts2-core>= 2.5.0, < 2.5.10.12.5.10.1GHSA-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?

VendorProductVersionsType
apachestrutsfrom 2.2.3 before 2.3.32application
apachestrutsfrom 2.5.0 before 2.5.10.1application
ibmstorwize v3500 firmware7.7.1.6operating system
ibmstorwize v3500 firmware7.8.1.0operating system
ibmstorwize v5000 firmware7.7.1.6operating system
ibmstorwize v5000 firmware7.8.1.0operating system
ibmstorwize v7000 firmware7.7.1.6operating system
ibmstorwize v7000 firmware7.8.1.0operating system
lenovostorage v5030 firmware7.7.1.6operating system
lenovostorage v5030 firmware7.8.1.0operating system
hpserver automation9.1.0application
hpserver automation10.0.0application
hpserver automation10.1.0application
hpserver automation10.2.0application
hpserver automation10.5.0application
oracleweblogic server10.3.6.0.0application
oracleweblogic server12.1.3.0.0application
oracleweblogic server12.2.1.1.0application
oracleweblogic server12.2.1.2.0application
arubanetworksclearpass policy managerbefore 6.6.5application
netapponcommand balanceall versionsapplication

NVD analysis (status Analyzed), last modified June 17, 2026, 01:20 UTC.

How severe is CVE-2017-5638?

ScoreVersionVectorSource
Critical 9.8CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HCISA-ADP
Critical 9.8CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD
High 10.0CVSS 2.0AV:N/AC:L/Au:N/C:C/I:C/A:CNVD

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?

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?

Every CVE in Apache Struts

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.