Apache CXF is vulnerable to DoS attacks as entire files are read into memory and logged
Apache CXF stores large stream based messages as temporary files on the local filesystem. A bug was introduced which means that the entire temporary file is read into memory and then logged. An attacker might be able to exploit this to cause a denial of service attack by causing an out of memory exception. In addition, it is possible to configure CXF to encrypt temporary files to prevent sensitive credentials from being cached unencrypted on the local filesystem, however this bug means that the cached files are written out to logs unencrypted.
Users are recommended to upgrade to versions 3.5.11, 3.6.6, 4.0.7 or 4.1.1, which fixes this issue.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.apache.cxf:cxf-core | < 3.5.11, >= 3.6.0, < 3.6.6, >= 4.0.0, < 4.0.7, >= 4.1.0, < 4.1.1 | 3.5.11, 3.6.6, 4.0.7, 4.1.1 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-48795
- https://github.com/apache/cxf/pull/2258
- https://github.com/apache/cxf/commit/1c1d687f8e295f433a3592a3bc0b0a63c432bfde
- https://github.com/apache/cxf
- https://lists.apache.org/thread/vo5qv02mvv5plmb6z2xf1ktjmrpv3jmn
- http://www.openwall.com/lists/oss-security/2025/07/15/3
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L- Weakness (CWE)
CWE-400- Platform
- Java / Kotlin (Maven)
- Package
org.apache.cxf:cxf-core- Disclosed
- 15.07.2025
- Updated
- 11.10.2026 13:20
Sources and licenses
OSV / GitHub Advisory Database - GHSA-36wv-v2qp-v4g4 - CC BY 4.0
Vulnerability history: org.apache.cxf:cxf-core
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 14
- First → latest
- 05.2022 06.2026
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Critical 2
- High 5
- Medium 7
Disclosures per year
- 2022: 10
- 2023: 0
- 2024: 0
- 2025: 2
- 2026: 2
-
Apache CXF is vulnerable to DoS attacks as entire files are read into memory and logged this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.