Home / Apache Software Foundation / Apache CXF / CVE-2018-8039
CVE-2018-8039: is it exploited, and which versions of Apache Software Foundation Apache CXF are affected and fixed?
CVE-2018-8039 is an exceptional condition mishandled vulnerability in Apache Software Foundation Apache CXF. 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, 07:38 UTC). Affected: org.apache.cxf:cxf-rt-transports-http from 3.2.0 before 3.2.5, org.apache.cxf:cxf-rt-transports-http before 3.1.16, org.apache.cxf:apache-cxf from 3.2.0 before 3.2.5 and 1 more (GitHub advisory GHSA-jc7r-v6fg-2gpf). Fixed in 3.2.5 and 3.1.16 (GitHub advisory GHSA-jc7r-v6fg-2gpf). Severity: High (8.1, CVSS 3.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 07:38 UTC, CVE record November 19, 2026, 07:17 UTC and NVD November 19, 2026, 08:31 UTC.
What is CVE-2018-8039?
It is possible to configure Apache CXF to use the com.sun.net.ssl implementation via 'System.setProperty("java.protocol.handler.pkgs", "com.sun.net.ssl.internal.www.protocol");'. When this system property is set, CXF uses some reflection to try to make the HostnameVerifier work with the old com.sun.net.ssl.HostnameVerifier interface. However, the default HostnameVerifier implementation in CXF does not implement the method in this interface, and an exception is thrown. However, in Apache CXF prior to 3.2.5 and 3.1.16 the exception is caught in the reflection code and not properly propagated. What this means is that if you are using the com.sun.net.ssl stack with CXF, an error with TLS hostname verification will not be thrown, leaving a CXF client subject to man-in-the-middle attacks.
From the CVE record by apache, last updated September 17, 2024, 04:04 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Apache Software Foundation | Apache CXF | prior to 3.1.16 3.2.x prior to 3.2.5 |
As the CVE record by apache states it, last updated September 17, 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.cxf:cxf-rt-transports-http | >= 3.2.0, < 3.2.5 | 3.2.5 | GHSA-jc7r-v6fg-2gpf |
| Maven | org.apache.cxf:cxf-rt-transports-http | < 3.1.16 | 3.1.16 | GHSA-jc7r-v6fg-2gpf |
| Maven | org.apache.cxf:apache-cxf | >= 3.2.0, < 3.2.5 | 3.2.5 | GHSA-jc7r-v6fg-2gpf |
| Maven | org.apache.cxf:apache-cxf | < 3.1.16 | 3.1.16 | GHSA-jc7r-v6fg-2gpf |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated May 29, 2025. Summary: Apache CXF TLS hostname verification does not work correctly with com.sun.net.ssl.*.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| apache | cxf | before 3.1.16 | application |
| apache | cxf | from 3.2.0 before 3.2.5 | application |
| redhat | jboss enterprise application platform | 7.1.0 | application |
NVD analysis (status Modified), last modified June 17, 2026, 02:04 UTC.
How severe is CVE-2018-8039?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.1 | CVSS 3.0 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD |
| Medium 6.8 | CVSS 2.0 | AV:N/AC:M/Au:N/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-2018-8039 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 8.21% probability of exploitation activity in the next 30 days, percentile 95.0 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-755 Improper Handling of Exceptional Conditions
Where are the vendor advisories and references?
- https://github.com/apache/cxf/commit/fae6fabf9bd7647f5e9cb68897a7d72b545b741b x_refsource_CONFIRM
- RHSA-2018:2428 vendor-advisory, x_refsource_REDHAT
- RHSA-2018:3817 vendor-advisory, x_refsource_REDHAT
- RHSA-2018:2643 vendor-advisory, x_refsource_REDHAT
- [cxf-user] 20180628 Apache CXF 3.2.6 and 3.1.16 are released mailing-list, x_refsource_MLIST
- 106357 vdb-entry, x_refsource_BID
- RHSA-2018:2279 vendor-advisory, x_refsource_REDHAT
- RHSA-2018:2424 vendor-advisory, x_refsource_REDHAT
- RHSA-2018:2276 vendor-advisory, x_refsource_REDHAT
- RHSA-2018:2423 vendor-advisory, x_refsource_REDHAT
- RHSA-2018:2425 vendor-advisory, x_refsource_REDHAT
- RHSA-2018:2277 vendor-advisory, x_refsource_REDHAT
- http://cxf.apache.org/security-advisories.data/CVE-2018-8039.txt.asc?version=1&modificationDate=1530184663000&api=v2 x_refsource_CONFIRM
- 1041199 vdb-entry, x_refsource_SECTRACK
- RHSA-2018:3768 vendor-advisory, x_refsource_REDHAT
- https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html x_refsource_MISC
- https://www.oracle.com/security-alerts/cpujan2020.html x_refsource_MISC
- [cxf-commits] 20200116 svn commit: r1055336 - in /websites/production/cxf/content: cache/main.pageCache security-advisories.data/CVE-2019-12423.txt.asc security mailing-list, x_refsource_MLIST
- [cxf-commits] 20200319 svn commit: r1058035 - in /websites/production/cxf/content: cache/main.pageCache security-advisories.data/CVE-2019-17573.txt.asc security mailing-list, x_refsource_MLIST
- [cxf-commits] 20200401 svn commit: r1058573 - in /websites/production/cxf/content: cache/main.pageCache index.html security-advisories.data/CVE-2020-1954.txt.as mailing-list, x_refsource_MLIST
- https://www.oracle.com/security-alerts/cpuapr2020.html x_refsource_MISC
- [cxf-commits] 20201112 svn commit: r1067927 - in /websites/production/cxf/content: cache/main.pageCache security-advisories.data/CVE-2020-13954.txt.asc security mailing-list, x_refsource_MLIST
- [cxf-commits] 20210402 svn commit: r1073270 - in /websites/production/cxf/content: cache/main.pageCache security-advisories.data/CVE-2021-22696.txt.asc security mailing-list, x_refsource_MLIST
- [cxf-commits] 20210616 svn commit: r1075801 - in /websites/production/cxf/content: cache/main.pageCache index.html security-advisories.data/CVE-2021-30468.txt.a mailing-list, x_refsource_MLIST
When was it published, and where is the official record?
- Reserved
- March 9, 2018
- Published
- July 2, 2018, 13:00 UTC
- CVE record updated
- September 17, 2024, 04:04 UTC by apache
- NVD
- Modified, last modified June 17, 2026, 02:04 UTC
- Last checked
- CVE list November 19, 2026, 07:17 UTC; NVD November 19, 2026, 08:31 UTC; KEV December 3, 2026, 07:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Apache CXF?
- Oct 9, 2026CVE-2026-108039 Apache Software Foundation Apache CXF: XML entity expansion (billion laughs)
- Oct 9, 2026CVE-2026-107938 Apache Software Foundation Apache CXF: certificate host not checked
- Oct 9, 2026CVE-2026-107937 Apache Software Foundation Apache CXF: denial of service (resources allocated without limits)
- Oct 9, 2026CVE-2026-100227 Apache Software Foundation Apache CXF: race condition
- Oct 9, 2026CVE-2026-97791 Apache Software Foundation Apache CXF: race condition
- Oct 9, 2026CVE-2026-97468 Apache Software Foundation Apache CXF: use of Weak Hash
- Oct 9, 2026CVE-2026-86463 Apache Software Foundation Apache CXF: denial of service (uncontrolled resource consumption)
- Oct 9, 2026CVE-2026-79650 Apache Software Foundation Apache CXF: open redirect
Questions about CVE-2018-8039
Is CVE-2018-8039 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 07:38 UTC. FIRST's EPSS gives it a 8.21% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Apache Software Foundation Apache CXF are affected by CVE-2018-8039?
org.apache.cxf:cxf-rt-transports-http from 3.2.0 before 3.2.5, org.apache.cxf:cxf-rt-transports-http before 3.1.16, org.apache.cxf:apache-cxf from 3.2.0 before 3.2.5 and org.apache.cxf:apache-cxf before 3.1.16, per the GitHub advisory GHSA-jc7r-v6fg-2gpf. The tables above give every range the sources list.
Which version fixes CVE-2018-8039?
3.2.5 and 3.1.16, per the GitHub advisory GHSA-jc7r-v6fg-2gpf. Check the vendor's advisory before you rely on it.
How severe is CVE-2018-8039?
High (8.1, CVSS 3.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2018-8039?
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.