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.
CVE-2017-5638
“▲” beside the score: it is higher than NVD's CVSS score.
Score elevated to 10.0 because this CVE is listed on the CISA Known Exploited Vulnerabilities catalog (added 2021-11-03), indicating real-world exploitation has been confirmed by US federal agencies. NVD baseline CVSS 9.8 retained for reference. Confidence: HIGH.
Also known asEUVD-2018-0625 (ENISA EUVD) · GHSA-j77q-2qqg-6989 (GitHub Security Advisories)Source: ENISA EUVD
- Actively exploited in the wild (CISA-KEV) — the reason this is sooner than the SSVC decision on this page at low mission impact
A fix is available — apply it.
- CVSS v3
- 9.8
- EG Score
- 10.0CRITICALhigh confidence
- EG Risk
- 100EG Risk 100/100
EG Risk is EchelonGraph's 0–100 priority score. It fuses impact severity (EG Severity, the CVSS base score, never the KEV-floored or EPSS-lifted EG Score) with real-world exploitation and automatability, under weights EchelonGraph set by hand, so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner.
How it’s computed (value × EchelonGraph’s weight)Severity100% × 45%Impact severity (EG Severity): CVSS 10.0 of 10. Never the KEV-floored or EPSS-lifted EG Score.Exploitation100% × 40%Fixed at 100% for a CISA KEV listing: EchelonGraph's rule.Automatability100% × 15%CISA's SSVC Automatable value: yes (Vulnrichment).SSVC (CISA's decision table, applied by EchelonGraph): Attend at low mission impact; Act at medium or high.Exploitation active (CISA Vulnrichment) · Automatable yes (CISA Vulnrichment) · Technical impact total (CISA Vulnrichment). All three are CISA's SSVC values (Vulnrichment). EchelonGraph applied CISA's decision table to them; CISA publishes SSVC inputs and the table, not a decision for each CVE.Action: A fix is available. Apply it sooner than your standard update timelines at low mission impact and as soon as possible at medium or high. - EPSS PROB
- >99.9%
- EPSS %ILE
- 99th
- KEV
- ⚠ Exploited
What the EG score is made of (scorer v4.0: the three questions the 0–10 score mixes, published apart · methodology)
The EG score (10.0): severity, escalated by confirmed exploitation. This CVE's 10.0 is its impact severity (EG Severity), not escalated.
- EG Severity
- 10.0 CRITICALCVSS-B, impact only: no KEV listing, EPSS or EG-KEV tier raises it.GitHub Security Advisory CVSS
- EG Likelihood
- >99.9% within 30 daysSource: FIRST EPSS (model v2026.06.15, score date 2026-11-23). FIRST's exploitation probability, not an EchelonGraph model.
- Confirmed exploitation
- CISA KEV and EG-KEV Tier 1 (exploited in the wild)Reported apart from the likelihood: an observed fact, not a probability.
- EG Priority
- SSVC Act at medium mission impactAttend at low mission impact; Act at medium or high.CISA BOD 26-04: 3 days & forensic triage if the affected system is publicly exposed; 3 days & forensic triage if it is not.Each input and its source, and whom BOD 26-04 binds: the SSVC and BOD 26-04 blocks below.
SSVC (CISA's decision table, applied by EchelonGraph)Attend at low mission impact; Act at medium or high.
A fix is available. Apply it sooner than your standard update timelines at low mission impact and as soon as possible at medium or high.
Exploitation active (CISA Vulnrichment) · Automatable yes (CISA Vulnrichment) · Technical impact total (CISA Vulnrichment). All three are CISA's SSVC values (Vulnrichment). EchelonGraph applied CISA's decision table to them; CISA publishes SSVC inputs and the table, not a decision for each CVE. Mission impact is CISA's Mission & Well-being decision point, and only you can judge it. CISA's table makes it high when Mission Prevalence is Essential — the vulnerable component "directly provides capabilities that constitute at least one MEF for at least one entity" (MEF: mission essential function) — or when Public Well-Being Impact is Irreversible: "multiple fatalities are likely", the cyber-physical system "is likely lost or destroyed", "extreme or serious externalities" are imposed on other parties, or social systems such as elections or the financial grid "are destabilized and potentially collapse". CISA's decision table
BOD 26-04 (CISA's remediation timeline, Table 1)3 days & forensic triage if the affected system is publicly exposed; 3 days & forensic triage if it is not.
The score's inputs: In CISA KEV yes (CISA's KEV catalog) · Automatable yes (CISA Vulnrichment) · Technical impact total (CISA Vulnrichment). Whether your system is publicly exposed is yours to answer. BOD 26-04 binds US Federal Civilian Executive Branch agencies; for anyone else it is CISA's published timeline, a reference rather than an obligation. The directive · how EchelonGraph applies it
CISA required action“Apply updates per vendor instructions.”
Quoted verbatim from CISA's Known Exploited Vulnerabilities catalog. CISA directs it at US federal civilian executive branch agencies under Binding Operational Directive (BOD) 26-04, which replaced BOD 22-01 on 10 June 2026; it is not EchelonGraph's advice. CISA's notes: https://nvd.nist.gov/vuln/detail/CVE-2017-5638
Source timeline
Each source's own date for this CVE, as that source states it, in UTC. For vendor and authority advisories, each publisher's earliest advisory is shown, for at most 12 publishers, and only for publishers whose advisory dates we hold as the publisher's own publication time. The EchelonGraph column shows when our collectors recorded the event, only where that was within 72 hours of the source's date (for a row without one, of the CVE's publication).
| Source | Event | Source's date | Recorded by EchelonGraph | Link |
|---|---|---|---|---|
| Apache Software FoundationMITRE · CVE Program | Made public, as the CNA states it | 6 Mar 2017 | — | CVE.org record |
| CVE.orgMITRE · CVE Program | CVE Record published | 11 Mar 2017, 02:11 UTC | recorded later, in a bulk import or a late collection | CVE.org record |
| GitHub Advisory DatabaseGitHub Advisory Database (CC BY 4.0)Licence | GitHub advisory publishedGHSA-j77q-2qqg-6989 | 18 Oct 2018, 19:24 UTC | recorded later, in a bulk import or a late collection | GitHub advisory |
| CISA KEV | Added to CISA's Known Exploited Vulnerabilities catalogCISA due date: 3 May 2022 | 3 Nov 2021 | recorded later, in a bulk import or a late collection | CISA KEV catalog |
| CVE.orgMITRE · CVE Program | CVE Record last updated | 21 Oct 2025, 23:55 UTC | — | CVE.org record |
Advisory Details (8)
Auto-updated Nov 21, 2026S2-046 - Apache Struts 2 Wiki - Apache Software Foundation
https://cwiki.apache.org/confluence/display/WW/S2-046S2-045 - Apache Struts 2 Wiki - Apache Software Foundation
https://cwiki.apache.org/confluence/display/WW/S2-045Critical vulnerability under “massive” attack imperils high-impact sites [Updated] - Ars Technica
https://arstechnica.com/security/2017/03/critical-vulnerability-under-massive-attack-imperils-high-impact-sites/Apache Struts Vulnerability Exposes Sites to Attack | eWeek
http://www.eweek.com/security/apache-struts-vulnerability-under-attack.htmlApache Struts 2 Vulnerability Leads to RCE | Trend Micro (US)
http://blog.trendmicro.com/trendlabs-security-intelligence/cve-2017-5638-apache-struts-vulnerability-remote-code-execution/Content-Type: Malicious - New Apache Struts2 0-day Under Attack
http://blog.talosintelligence.com/2017/03/apache-0-day-exploited.htmlVendor Advisories for CVE-2017-5638(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Patch Availability(2)
| Vendor / Ecosystem | Fix (by version range) / Patch | Released | Source |
|---|---|---|---|
| maven | org.apache.struts:struts2-core @ 2.3.32 (fixes >= 2.3.0, <= 2.3.31) | — | ghsa |
| maven | org.apache.struts:struts2-core @ 2.5.10.1 (fixes >= 2.5.0, <= 2.5.10) | — | ghsa |
These rows come from GitHub (GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(1 across 1 ecosystem)
Maven(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| org.apache.struts:struts2-core | 2.5 ... 2.5.8 (6 versions) |
| — |
Weakness Classification(2)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 7× in last 7d / 28× in last 30d)
Each row is a time one of our pipelines fetched, updated or re-scored this CVE. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed its CVE.org record (CNA or CISA ADP). An arrow marks a change the record states ("CVSS v3 → 9.1"); EPSS and GHSA rows show the values recorded at that time, not what changed (EPSS values are rounded; hover one for the exact figures). "EchelonGraph re-scored" is our own recompute of this CVE's score, not an update from a source, and is not counted in the refreshes above. Most recent first.
Showing the most recent 100 of 169 rows on record for this CVE.
A repeat, a row identical to one the same pipeline wrote less than 10 seconds earlier, is not a separate refresh and is not counted. None are among the latest 100 rows. The 69 oldest rows on record are not shown and were not checked, so the counts can still include repeats.
- 2026-11-24 09:33 UTCEchelonGraph re-scored
- 2026-11-24 09:33 UTCGHSA enrichmentGHSA-j77q-2qqg-6989 · GitHub severity CRITICAL · GitHub CVSS 10.0
- 2026-11-23 10:02 UTCGHSA enrichmentGHSA-j77q-2qqg-6989 · GitHub severity CRITICAL · GitHub CVSS 10.0
- 2026-11-22 10:31 UTCEchelonGraph re-scored
- 2026-11-22 10:31 UTCGHSA enrichmentGHSA-j77q-2qqg-6989 · GitHub severity CRITICAL · GitHub CVSS 10.0
- 2026-11-21 10:59 UTCEchelonGraph re-scored
- 2026-11-21 10:59 UTCGHSA enrichmentGHSA-j77q-2qqg-6989 · GitHub severity CRITICAL · GitHub CVSS 10.0
- 2026-11-20 11:26 UTCEchelonGraph re-scored
- 2026-11-20 11:26 UTCGHSA enrichmentGHSA-j77q-2qqg-6989 · GitHub severity CRITICAL · GitHub CVSS 10.0
- 2026-11-19 11:55 UTCEchelonGraph re-scored
- 2026-11-19 11:55 UTCGHSA enrichmentGHSA-j77q-2qqg-6989 · GitHub severity CRITICAL · GitHub CVSS 10.0
- 2026-11-18 12:24 UTCEchelonGraph re-scored
- 2026-11-18 12:24 UTCGHSA enrichmentGHSA-j77q-2qqg-6989 · GitHub severity CRITICAL · GitHub CVSS 10.0
- 2026-11-17 12:53 UTCEchelonGraph re-scored
- 2026-11-17 12:53 UTCGHSA enrichmentGHSA-j77q-2qqg-6989 · GitHub severity CRITICAL · GitHub CVSS 10.0
- 2026-11-16 13:22 UTCEchelonGraph re-scored
- 2026-11-16 13:22 UTCGHSA enrichmentGHSA-j77q-2qqg-6989 · GitHub severity CRITICAL · GitHub CVSS 10.0
- 2026-11-15 13:47 UTCEchelonGraph re-scored
- 2026-11-15 13:47 UTCGHSA enrichmentGHSA-j77q-2qqg-6989 · GitHub severity CRITICAL · GitHub CVSS 10.0
- 2026-11-14 14:16 UTCEchelonGraph re-scored
- 2026-11-14 14:16 UTCGHSA enrichmentGHSA-j77q-2qqg-6989 · GitHub severity CRITICAL · GitHub CVSS 10.0
- 2026-11-13 14:45 UTCEchelonGraph re-scored
- 2026-11-13 14:45 UTCGHSA enrichmentGHSA-j77q-2qqg-6989 · GitHub severity CRITICAL · GitHub CVSS 10.0
- 2026-11-12 15:13 UTCEchelonGraph re-scored
- 2026-11-12 15:13 UTCGHSA enrichmentGHSA-j77q-2qqg-6989 · GitHub severity CRITICAL · GitHub CVSS 10.0
Show 75 moreShow fewer
- 2026-11-11 15:41 UTCEchelonGraph re-scored
- 2026-11-11 15:41 UTCGHSA enrichmentGHSA-j77q-2qqg-6989 · GitHub severity CRITICAL · GitHub CVSS 10.0
- 2026-11-10 16:10 UTCGHSA enrichmentGHSA-j77q-2qqg-6989 · GitHub severity CRITICAL · GitHub CVSS 10.0
- 2026-11-09 16:34 UTCEchelonGraph re-scored
- 2026-11-09 16:34 UTCGHSA enrichmentGHSA-j77q-2qqg-6989 · GitHub severity CRITICAL · GitHub CVSS 10.0
- 2026-11-08 17:03 UTCEchelonGraph re-scored
- 2026-11-08 17:03 UTCGHSA enrichmentGHSA-j77q-2qqg-6989 · GitHub severity CRITICAL · GitHub CVSS 10.0
- 2026-11-07 17:31 UTCEchelonGraph re-scored
- 2026-11-07 17:31 UTCGHSA enrichmentGHSA-j77q-2qqg-6989 · GitHub severity CRITICAL · GitHub CVSS 10.0
- 2026-11-06 18:00 UTCEchelonGraph re-scored
- 2026-11-06 18:00 UTCGHSA enrichmentGHSA-j77q-2qqg-6989 · GitHub severity CRITICAL · GitHub CVSS 10.0
- 2026-11-05 18:29 UTCEchelonGraph re-scored
- 2026-11-05 18:29 UTCGHSA enrichmentGHSA-j77q-2qqg-6989 · GitHub severity CRITICAL · GitHub CVSS 10.0
- 2026-11-04 18:58 UTCEchelonGraph re-scored
- 2026-11-04 18:58 UTCGHSA enrichmentGHSA-j77q-2qqg-6989 · GitHub severity CRITICAL · GitHub CVSS 10.0
- 2026-11-04 16:28 UTCEPSS rescoreEPSS >99.9% · 99th percentile
- 2026-11-03 19:26 UTCEchelonGraph re-scored
- 2026-11-03 19:26 UTCGHSA enrichmentGHSA-j77q-2qqg-6989 · GitHub severity CRITICAL · GitHub CVSS 10.0
- 2026-11-02 19:55 UTCEchelonGraph re-scored
- 2026-11-02 19:55 UTCGHSA enrichmentGHSA-j77q-2qqg-6989 · GitHub severity CRITICAL · GitHub CVSS 10.0
- 2026-11-02 17:25 UTCOSV refresh
- 2026-11-01 20:23 UTCEchelonGraph re-scored
- 2026-11-01 20:23 UTCGHSA enrichmentGHSA-j77q-2qqg-6989 · GitHub severity CRITICAL · GitHub CVSS 10.0
- 2026-11-01 08:44 UTCGHSA enrichmentGHSA-j77q-2qqg-6989 · GitHub severity CRITICAL · GitHub CVSS 10.0
- 2026-11-01 08:44 UTCEchelonGraph re-scored▲ 0.20
- 2026-10-31 20:52 UTCEchelonGraph re-scored
- 2026-10-30 21:21 UTCEchelonGraph re-scored
- 2026-10-29 21:50 UTCEchelonGraph re-scored
- 2026-10-28 22:19 UTCEchelonGraph re-scored
- 2026-10-27 22:49 UTCEchelonGraph re-scored
- 2026-10-27 16:26 UTCEPSS rescoreEPSS >99.9% · 99th percentile
- 2026-10-26 23:16 UTCEchelonGraph re-scored
- 2026-10-25 19:32 UTCEchelonGraph re-scored
- 2026-10-25 00:13 UTCEchelonGraph re-scored
- 2026-10-24 00:43 UTCEchelonGraph re-scored
- 2026-10-23 01:11 UTCEchelonGraph re-scored
- 2026-10-22 01:39 UTCEchelonGraph re-scored
- 2026-10-21 02:07 UTCEchelonGraph re-scored
- 2026-10-20 02:35 UTCEchelonGraph re-scored
- 2026-10-19 03:02 UTCEchelonGraph re-scored
- 2026-10-18 03:29 UTCEchelonGraph re-scored
- 2026-10-17 03:56 UTCEchelonGraph re-scored
- 2026-10-16 04:24 UTCEchelonGraph re-scored
- 2026-10-15 04:52 UTCEchelonGraph re-scored
- 2026-10-14 16:27 UTCEPSS rescoreEPSS >99.9% · 99th percentile
- 2026-10-14 05:19 UTCEchelonGraph re-scored
- 2026-10-12 20:27 UTCEchelonGraph re-scored
- 2026-10-11 21:59 UTCEchelonGraph re-scored
- 2026-10-11 17:51 UTCEchelonGraph re-scored
- 2026-10-11 13:41 UTCEchelonGraph re-scored
- 2026-09-28 23:46 UTCEchelonGraph re-scored
- 2026-09-27 21:51 UTCCISA KEV update
- 2026-09-25 19:35 UTCCISA KEV update
- 2026-09-25 14:55 UTCCISA KEV update
- 2026-09-24 19:31 UTCCISA KEV update
- 2026-09-22 19:36 UTCCISA KEV update
- 2026-09-21 19:09 UTCCISA KEV update
- 2026-09-18 19:20 UTCCISA KEV update
- 2026-09-18 14:15 UTCCISA KEV update
- 2026-09-16 14:10 UTCCISA KEV update
- 2026-09-14 19:24 UTCCISA KEV update
- 2026-09-11 18:49 UTCCISA KEV update
- 2026-09-10 19:28 UTCCISA KEV update
- 2026-09-09 19:08 UTCCISA KEV update
- 2026-09-08 18:54 UTCCISA KEV update
- 2026-09-04 17:38 UTCCISA KEV update
- 2026-09-02 17:33 UTCCISA KEV update
- 2026-08-31 14:19 UTCCISA KEV update
- 2026-08-27 17:22 UTCCISA KEV update
- 2026-08-26 17:41 UTCCISA KEV update
- 2026-08-24 18:52 UTCCISA KEV update
- 2026-08-21 16:49 UTCCISA KEV update
- 2026-08-20 17:06 UTCCISA KEV update
- 2026-08-19 17:33 UTCCISA KEV update
- 2026-08-18 16:58 UTCCISA KEV update
Publicly available exploits
(14 references, 10 shown)Public exploit code is referenced for this CVE (1 Metasploit module, 2 Exploit-DB entries, 10 GitHub PoCs), as is 1 Nuclei detection template. A detection template checks whether a system is affected; it is not necessarily exploit code. Defenders should treat patch urgency accordingly.
GitHub repositories: 3 of 10 labelled (3 exploit code).
- Exploit-DBEDB-41614✓ verifiedPublished Mar 15, 2017
Apache Struts 2.3.5 < 2.3.31 / 2.5 < 2.5.10 - 'Jakarta' Multipart Parser OGNL Injection (Metasploit)
Open source ↗ - Metasploitexploit/multi/http/struts2_content_type_ognl✓ verifiedPublished Mar 14, 2017
OGNL injection via Content-Type header — the exploit chain used in the Equifax breach.
Open source ↗ - Exploit-DBEDB-41570✓ verifiedPublished Mar 9, 2017
Standalone Python exploit, weaponised within 48h of patch release.
Open source ↗ - Nucleihttp/cves/2017/CVE-2017-5638.yamlPublished Aug 19, 2020
Apache Struts 2 - Remote Command Execution
Open source ↗ - GitHub PoCwin3zz/CVE-2017-5638Published May 13, 2018
Apache Struts 2.3.5 < 2.3.31 / 2.5 < 2.5.10 - Remote Code Execution - Shell Script
Open source ↗ - GitHub PoCjas502n/st2-046-pocExploit code (read on 2026-11-22)Published Mar 21, 2017
st2-046-poc CVE-2017-5638
Open source ↗ - GitHub PoCjrrdev/cve-2017-5638Published Mar 15, 2017
cve-2017-5638 Vulnerable site sample
Open source ↗ - GitHub PoCmazen160/struts-pwnPublished Mar 12, 2017
An exploit for Apache Struts CVE-2017-5638
Open source ↗ - GitHub PoCret2jazzy/Struts-Apache-ExploitPackPublished Mar 12, 2017
These are just some script which you can use to detect and exploit the Apache Struts Vulnerability (CVE-2017-5638)
Open source ↗ - GitHub PoCimmunio/apache-struts2-CVE-2017-5638Exploit code (read on 2026-11-23)Published Mar 10, 2017
Demo Application and Exploit
Open source ↗
Labels marked on GitHub repositories are EchelonGraph's. Gemini (Google Vertex AI) and Claude (Anthropic) read each repository's description, the first 6,000 bytes of its README and up to 200 paths of its file list; where they do not give the same label with every check passing, or the repository's text uses words of both kinds, a second Claude model is asked once. These labels are shown only where at least two of these models gave them (all three where the text uses words of both kinds) and every quote and file those models cited was found in the repository (rule poc-kind-verifier-v4). Each label shows the day its repository was read; it is read again only when those checks change, and is taken down if it no longer passes them. Repository content belongs to its authors.
Past incidents using this CVE
(1)This CVE was central to one or more publicly-documented breaches. Each card links to authoritative reporting at the time of the incident.
- Equifax breach (Apache Struts)Sep 2017147M+ affected
Apache Struts OGNL injection vulnerability — Equifax failed to patch for 2 months, leading to one of the largest PII breaches in history. 147M US consumers exposed.
Source: CSO Online
Related CVEs(same product + same CWE)
Same product
10 shownMaven:org.apache.struts:struts2-core
- CVE-2013-4316EG 10.0EPSS p95HIGH
- CVE-2012-0838EG 10.0EPSS p97HIGH
- CVE-2024-53677EG 9.8EPSS p99CRITICAL
- CVE-2023-50164EG 9.8EPSS p100CRITICAL
- CVE-2021-31805EG 9.8EPSS p100CRITICAL
- CVE-2020-17530EG 9.8 KEVEPSS p100CRITICAL
- CVE-2019-0230EG 9.8EPSS p100CRITICAL
- CVE-2011-3923EG 9.8EPSS p100CRITICAL
- CVE-2017-12611EG 9.8EPSS p100CRITICAL
- CVE-2016-4436EG 9.8EPSS p94CRITICAL
Frequently asked(6)
What is CVE-2017-5638?
When was CVE-2017-5638 made public?
Is CVE-2017-5638 actively exploited?
What is the CVSS score of CVE-2017-5638?
Which products are affected by CVE-2017-5638?
How do I remediate CVE-2017-5638?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2017-5638
Is Your Infrastructure Affected by CVE-2017-5638?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.