CVE-2012-0838

Apache Struts 2 before 2.2.3.1 evaluates a string as an OGNL expression during the handling of a conversion error, which allows remote attackers to modify run-time data values, and consequently execute arbitrary code, via invalid input to a field.

Published: 2012-03-02 Last update: 2026-06-16 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2012-0838 is rated High Risk (73.5/100): CVSS Critical severity, with high exploitation likelihood (EPSS 13.88%, 96th percentile). Core evidence: EPSS ranks this CVE among the most likely to be exploited in the near term. Mandatory action: High exploitation likelihood—assess exposure and prioritize remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2012-0838

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-07-06 14.03% 13.88% -0.15%
2 2026-06-15 11.11% 14.03% +2.92%
3 2026-04-07 11.11%

Full EPSS history (19 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2012-0838

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
10.0 2.0 HIGH
AV:N/AC:L/Au:N/C:C/I:C/A:C Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:L)
Exploitation conditions are straightforward and predictable.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:C)
Complete confidentiality impact.
Integrity impact (I:C)
Complete integrity impact.
Availability impact (A:C)
Complete availability impact.
10.0 10.0 [email protected]

Weakness enumeration for CVE-2012-0838

GitHub Security Advisory for CVE-2012-0838

GHSA-mwrx-hx6x-3hhv · Severity: high · Ecosystem: maven — Apache Struts Code injection due to conversion error

OS Trackers for CVE-2012-0838

vendor priority summary link
redhat high https://access.redhat.com/security/cve/CVE-2012-0838
ubuntu medium CVE-2012-0838 medium priority: Ubuntu including 1 source packages (libstruts1.2-java), 20 status rows across 20 suites (artful, bionic, cosmic, hardy, lucid, maverick, natty, oneiric, precise, quantal, raring, saucy, trusty, upstream, utopic, vivid, wily, xenial, yakkety, zesty): ignored 10, DNE 9, released 1. https://ubuntu.com/security/CVE-2012-0838

Affected software / configurations for CVE-2012-0838

Vendor Product Version Raw CPE
apache struts >= 2.0.0, <= 2.2.3 cpe:2.3:a:apache:struts:*:*:*:*:*:*:*:*

References for CVE-2012-0838

URL Tags
http://jvn.jp/en/jp/JVN79099262/index.html Third Party Advisory VDB Entry
http://jvndb.jvn.jp/jvndb/JVNDB-2012-000012 Third Party Advisory VDB Entry
http://struts.apache.org/2.3.1.2/docs/s2-007.html Vendor Advisory
https://issues.apache.org/jira/browse/WW-3668 Issue Tracking Vendor Advisory
cvelogic Threat Intelligence