CVE-2012-5786

The wsdl_first_https sample code in distribution/src/main/release/samples/wsdl_first_https/src/main/ in Apache CXF before 2.7.0 does not verify that the server hostname matches a domain name in the subject's Common Name (CN) or subjectAltName field of the X.509 certificate, which allows man-in-the-middle attackers to spoof SSL servers via an arbitrary valid certificate. NOTE: The vendor states that the sample had specifically used a flag to bypass the DN check

Published: 2012-11-04 Last update: 2026-06-16 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2012-5786 is rated Moderate Risk (45.4/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 1.08%). Mandatory action: Review affected assets and schedule 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-5786

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-06-15 0.12% 1.08% +0.96%
2 2025-03-30 0.15% 0.12% -0.03%
3 2025-03-29 0.15%

Full EPSS history (6 records total)

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

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
5.8 2.0 MEDIUM
AV:N/AC:M/Au:N/C:P/I:P/A:N Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:M)
Exploitation needs some favorable conditions, but not exceptional ones.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:P)
Partial confidentiality impact.
Integrity impact (I:P)
Partial integrity impact.
Availability impact (A:N)
No availability impact.
8.6 4.9 [email protected]

Weakness enumeration for CVE-2012-5786

OS Trackers for CVE-2012-5786

vendor priority summary link
redhat medium https://access.redhat.com/security/cve/CVE-2012-5786

Affected software / configurations for CVE-2012-5786

Vendor Product Version Raw CPE
apache cxf <= 2.6.17 cpe:2.3:a:apache:cxf:*:*:*:*:*:*:*:*

References for CVE-2012-5786

cvelogic Threat Intelligence