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 at…

CVE-2012-0838 affects 29 listed versions of Apache Struts in the Dawnsentry catalogue.

10.0CVSS critical
None knownexploitation
14%EPSS (next 30 days)
2 March 2012published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

Apache Struts

29 of 125 listed versions are affected. No fixed release is named. The newest release, 7.5.1, is not affected.

2.2.3 2.2.1.1 2.2.1 2.1.8.1 2.1.8 2.1.7 2.1.6 2.1.5 2.1.4 2.1.3 2.1.2 2.1.1 2.1.0 2.1 2.0.14 2.0.13 2.0.12 2.0.11.2 2.0.11.1 2.0.11 2.0.10 2.0.9 2.0.8 2.0.7 2.0.6 2.0.5 2.0.4 2.0.3 2.0.2

What it is

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.

AV:N/AC:L/Au:N/C:C/I:C/A:C (NVD)

Published by Red Hat on 2 March 2012. Last changed 16 June 2026.

Sources

Check one version you run: look CVE-2012-0838 up, or pick a product and version in the quick lookup.

Updated 1 December 2026.