Home / libstruts1.2-java / libstruts1.2-java / CVE-2012-1592
CVE-2012-1592: is it exploited, and which versions of libstruts1.2-java are affected and fixed?
CVE-2012-1592 is an unrestricted file upload vulnerability in libstruts1.2-java. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 06:38 UTC). Affected: org.apache.struts:struts2-core from 2.0 before 2.5.22 (GitHub advisory GHSA-8m5q-crqq-6pmf). Fixed in 2.5.22 (GitHub advisory GHSA-8m5q-crqq-6pmf). Severity: High (8.8, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 06:38 UTC, CVE record November 19, 2026, 07:20 UTC and NVD November 19, 2026, 08:17 UTC.
What is CVE-2012-1592?
A local code execution issue exists in Apache Struts2 when processing malformed XSLT files, which could let a malicious user upload and execute arbitrary files.
From the CVE record by redhat, last updated August 6, 2024, 19:01 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| libstruts1.2-java | libstruts1.2-java | 1.2- |
As the CVE record by redhat states it, last updated August 6, 2024. 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.0, < 2.5.22 | 2.5.22 | GHSA-8m5q-crqq-6pmf |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated July 13, 2022. Summary: Unrestricted Upload of File with Dangerous Type in Apache Struts2.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| apache | struts | 2.0.0 | application |
NVD analysis (status Modified), last modified June 16, 2026, 23:39 UTC.
How severe is CVE-2012-1592?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD |
| Medium 6.5 | CVSS 2.0 | AV:N/AC:L/Au:S/C:P/I:P/A:P | 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-2012-1592 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 28.5% probability of exploitation activity in the next 30 days, percentile 98.2 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-434 Unrestricted Upload of File with Dangerous Type
Where are the vendor advisories and references?
- https://security-tracker.debian.org/tracker/CVE-2012-1592 x_refsource_MISC
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2012-1592 x_refsource_MISC
- https://access.redhat.com/security/cve/cve-2012-1592 x_refsource_MISC
- http://www.openwall.com/lists/oss-security/2012/03/28/12 x_refsource_MISC
- [struts-issues] 20200122 [jira] [Created] (WW-5055) Fix for security vulnerability CVE-2012-1592 identified in the National Vulnerability Database mailing-list, x_refsource_MLIST
- [struts-issues] 20200123 [jira] [Closed] (WW-5055) Fix for security vulnerability CVE-2012-1592 identified in the National Vulnerability Database mailing-list, x_refsource_MLIST
- [struts-issues] 20200903 [jira] [Commented] (WW-5055) Fix for security vulnerability CVE-2012-1592 identified in the National Vulnerability Database mailing-list, x_refsource_MLIST
When was it published, and where is the official record?
- Reserved
- March 12, 2012
- Published
- December 5, 2019, 20:57 UTC
- CVE record updated
- August 6, 2024, 19:01 UTC by redhat
- NVD
- Modified, last modified June 16, 2026, 23:39 UTC
- Last checked
- CVE list November 19, 2026, 07:20 UTC; NVD November 19, 2026, 08:17 UTC; KEV December 3, 2026, 06:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
Questions about CVE-2012-1592
Is CVE-2012-1592 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 06:38 UTC. FIRST's EPSS gives it a 28.5% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of libstruts1.2-java are affected by CVE-2012-1592?
org.apache.struts:struts2-core from 2.0 before 2.5.22, per the GitHub advisory GHSA-8m5q-crqq-6pmf. The tables above give every range the sources list.
Which version fixes CVE-2012-1592?
2.5.22, per the GitHub advisory GHSA-8m5q-crqq-6pmf. Check the vendor's advisory before you rely on it.
How severe is CVE-2012-1592?
High (8.8, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2012-1592?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.