CVE-2012-0838

CRITICAL

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 exe...

Affects 1 product across 1 vendor.

CVSS 2.010.0
EPSS13.9%
Percentile96th
PatchUnknown
CVSS Vector — Plain English Remotely exploitable over the network, low complexity.
CWE Weakness Definitions
CWE-20: Improper Input Validation

Software does not validate or incorrectly validates input, allowing attackers to craft data processed in unintended ways.

Related Attack Patterns (CAPEC)
CAPEC-3 Using Leading 'Ghost' Character Sequences to Bypass Input Filters
via CWE-20
CAPEC-7 Blind SQL Injection
via CWE-20
CAPEC-8 Buffer Overflow in an API Call
via CWE-20
CAPEC-9 Buffer Overflow in Local Command-Line Utilities
via CWE-20
CAPEC-10 Buffer Overflow via Environment Variables
via CWE-20
Show all 51
via CWE-20
via CWE-20
via CWE-20
via CWE-20
via CWE-20
via CWE-20
via CWE-20
via CWE-20
via CWE-20
via CWE-20
via CWE-20
via CWE-20
via CWE-20
via CWE-20
via CWE-20
via CWE-20
via CWE-20
via CWE-20
via CWE-20
via CWE-20
via CWE-20
via CWE-20
via CWE-20
via CWE-20
via CWE-20
via CWE-20
via CWE-20
via CWE-20
via CWE-20
via CWE-20
via CWE-20
via CWE-20
via CWE-20
via CWE-20
via CWE-20
via CWE-20
via CWE-20
via CWE-20
via CWE-20
via CWE-20
via CWE-20
via CWE-20
via CWE-20
via CWE-20
via CWE-20
via CWE-20

Mapping is CWE-to-CAPEC per MITRE CAPEC 3.9.

◆ AI Analysis — automated analysis, not human-reviewed

This vulnerability was disclosed in 2012. A critical vulnerability affects Apache systems (CVE-2012-0838). No public exploit code is currently available. Isolate affected systems if patching is not feasible.

BSID: BS-2012-GLOBAL-315767-C • Model: rule-based-v1 • Confidence: MEDIUM

Is this CVE in your environment?

BreachSpider monitors your ICS/OT environment for vulnerabilities like this one. No agents or network access required. Free to start.

Check My Environment →
Frequently Asked Questions
What is CVE-2012-0838?
This vulnerability was disclosed in 2012. A critical vulnerability affects Apache systems (CVE-2012-0838). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
What is the CVSS score for CVE-2012-0838?
CVE-2012-0838 has CVSS 10.0 (Critical). Vector: AV:N/AC:L/Au:N/C:C/I:C/A:C. EPSS: 13.9%.
Is CVE-2012-0838 actively exploited?
No confirmed active exploitation of CVE-2012-0838 as of 2026-09-25.
How do I remediate CVE-2012-0838?
Priority: MEDIUM. Advisory: http://struts.apache.org/2.3.1.2/docs/s2-007.html PSIRT: [email protected]
What systems are affected by CVE-2012-0838?
CVE-2012-0838 affects Apache Struts.
Vulnerability Details
CVE IDCVE-2012-0838
BSIDBS-2012-GLOBAL-315767-C BreachSpider Global ID
CVSS VectorAV:N/AC:L/Au:N/C:C/I:C/A:C
Published2012-03-02
Last Modified2026-06-16
ICS Relevance0%
Weakness (CWE)
SourceNVD
Official Description

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.

Source: NIST NVD / MITRE CVE Database

Attack Vector Analysis — CITED Relevance

Vulnerability details: 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. CVSS vector: AV:N/AC:L/Au:N/C:C/I:C/A:C.

Exploitation Likelihood: LOW

Affected Products
VendorProductAffected Versions
Apache Struts ≥ 2.0.0, ≤ 2.2.3
Remediation
View Vendor Advisory →

Remediation Priority: MEDIUM

Vendor PSIRT: [email protected]
Threat Intelligence
● Threat Intelligence Validated: October 2026 | Threat Age: 5340 Days
CISA known-exploitedNot in KEV catalog
Public ExploitNot confirmed
PoC CodeNot confirmed
AI Enrichment Record — provenance & audit hash
Modelrule-based-v1
ConfidenceMEDIUM
Enriched At2026-05-24
SHA-512 Audit Hashcc638b5ee56f02b800e1bf4379d49f7365c2636d5a2a93b8ee7e66264a9c6e5ed0828f017a75a2154205c11374a340ead620ca754621c7bd14d7cdda94bff3ff
Related CVEs affecting Apache
CVE-1999-1293 10.0 mod_proxy in Apache 1.2.5 and earlier allows remote attackers to cause a deni... CVE-1999-1237 10.0 Multiple buffer overflows in smbvalid/smbval SMB authentication library, as u... CVE-2009-2412 10.0 Multiple integer overflows in the Apache Portable Runtime (APR) library and t... CVE-2012-4501 10.0 Citrix Cloud.com CloudStack, and Apache CloudStack pre-release, allows remote... CVE-2012-2379 10.0 Apache CXF 2.4.x before 2.4.8, 2.5.x before 2.5.4, and 2.6.x before 2.6.1, wh...
View all Apache CVEs →

Critical Severity - Know Your Exposure

A CVSS 10.0 vulnerability in your ICS environment cannot wait. BreachSpider maps critical CVEs to your specific assets and tells you what to fix first.

Create a free account →