# CVE-2017-12624: Improper Input Validation in Apache CXF

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.0, NVD) `CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: None; User interaction: Required; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 3.70% (percentile 90, 2026-11-26)
- **CWE:** CWE-20
- **Aliases:** GHSA-7vgj-8mw4-hg8r
- **Published:** 2017-11-14T16:00:00.000Z
- **Modified:** 2026-06-17T01:03:39.240Z

## Who should check

- Projects that depend on Maven package org.apache.cxf:cxf-core (\>= 3.2.0, \< 3.2.1)
- Anyone running Apache Software Foundation Apache CXF prior to 3.1.14; 3.2.x prior to 3.2.1

## Description

Apache CXF supports sending and receiving attachments via either the JAX-WS or JAX-RS specifications. It is possible to craft a message attachment header that could lead to a Denial of Service (DoS) attack on a CXF web service provider. Both JAX-WS and JAX-RS services are vulnerable to this attack. From Apache CXF 3.2.1 and 3.1.14, message attachment headers that are greater than 300 characters will be rejected by default. This value is configurable via the property "attachment-max-header-size".

## Affected and fixed versions

- Maven `org.apache.cxf:cxf-core`: affected \>= 3.2.0, \< 3.2.1; fixed 3.2.1, 3.1.14, 3.0.16 (osv)
- Apache Software Foundation Apache CXF: prior to 3.1.14; 3.2.x prior to 3.2.1 (cvelist)

## Mitigation

- Upgrade org.apache.cxf:cxf-core to one of 3.2.1, 3.1.14, 3.0.16 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2017-12624. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2017-12624.md
Affected: org.apache.cxf:cxf-core >= 3.2.0, < 3.2.1
Fixed in: 3.2.1, 3.1.14, 3.0.16

Steps:
1. Search this machine and project for org.apache.cxf:cxf-core (Maven), Apache Software Foundation Apache CXF: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2017-12624 being exploited?

There is no confirmed exploitation: CVE-2017-12624 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 3.70% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2017-12624?

Medium: CVSS 5.5 (v3.0, scored by NVD). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2017-12624?

org.apache.cxf:cxf-core \>= 3.2.0, \< 3.2.1.

### Is there a fix for CVE-2017-12624?

Yes. Fixed in 3.2.1, 3.1.14, 3.0.16. Upgrade org.apache.cxf:cxf-core to one of 3.2.1, 3.1.14, 3.0.16 (or later in the same release line).

### How do I check if I'm affected by CVE-2017-12624?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://access.redhat.com/errata/RHSA-2018:2428>
- vendor: <https://access.redhat.com/errata/RHSA-2018:2424>
- vendor: <https://access.redhat.com/errata/RHSA-2018:2423>
- vendor: <https://access.redhat.com/errata/RHSA-2018:2425>
- vendor: <http://cxf.apache.org/security-advisories.data/CVE-2017-12624.txt.asc>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2017-12624>
- patch: <https://github.com/apache/cxf/commit/896bd961cbbb6b8569700e5b70229f78f94ad9d>
- patch: <https://github.com/apache/cxf/commit/8bd915bfd7735c248ad660059c6b6ad26cdbcdf6>
- patch: <https://github.com/apache/cxf/commit/a2ce435cf0eedc8158d118d6d275114408d2a376>
- other: <http://www.securitytracker.com/id/1040486>
- other: <http://www.securityfocus.com/bid/101859>
- other: <https://lists.apache.org/thread.html/rc774278135816e7afc943dc9fc78eb0764f2c84a2b96470a0187315c%40%3Ccommits.cxf.apache.org%3E>
- other: <https://lists.apache.org/thread.html/r36e44ffc1a9b365327df62cdfaabe85b9a5637de102cea07d79b2dbf%40%3Ccommits.cxf.apache.org%3E>
- other: <https://lists.apache.org/thread.html/rff42cfa5e7d75b7c1af0e37589140a8f1999e578a75738740b244bd4%40%3Ccommits.cxf.apache.org%3E>
- other: <https://lists.apache.org/thread.html/rd49aabd984ed540c8ff7916d4d79405f3fa311d2fdbcf9ed307839a6%40%3Ccommits.cxf.apache.org%3E>
- other: <https://lists.apache.org/thread.html/rec7160382badd3ef4ad017a22f64a266c7188b9ba71394f0d321e2d4%40%3Ccommits.cxf.apache.org%3E>
- other: <https://lists.apache.org/thread.html/rfb87e0bf3995e7d560afeed750fac9329ff5f1ad49da365129b7f89e%40%3Ccommits.cxf.apache.org%3E>
- other: <https://github.com/apache/cxf>
- other: <https://issues.apache.org/jira/browse/CXF-7507>
- other: <https://lists.apache.org/thread.html/r36e44ffc1a9b365327df62cdfaabe85b9a5637de102cea07d79b2dbf@%3Ccommits.cxf.apache.org%3E>
- other: <https://lists.apache.org/thread.html/rc774278135816e7afc943dc9fc78eb0764f2c84a2b96470a0187315c@%3Ccommits.cxf.apache.org%3E>
- other: <https://lists.apache.org/thread.html/rd49aabd984ed540c8ff7916d4d79405f3fa311d2fdbcf9ed307839a6@%3Ccommits.cxf.apache.org%3E>
- other: <https://lists.apache.org/thread.html/rec7160382badd3ef4ad017a22f64a266c7188b9ba71394f0d321e2d4@%3Ccommits.cxf.apache.org%3E>
- other: <https://lists.apache.org/thread.html/rfb87e0bf3995e7d560afeed750fac9329ff5f1ad49da365129b7f89e@%3Ccommits.cxf.apache.org%3E>
- other: <https://lists.apache.org/thread.html/rff42cfa5e7d75b7c1af0e37589140a8f1999e578a75738740b244bd4@%3Ccommits.cxf.apache.org%3E>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2017-12624>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-7vgj-8mw4-hg8r> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2017-12624> · JSON: <https://flawdb.com/api/v1/entries/CVE-2017-12624>
