Apache CXF: Denial of Service and sensitive data exposure in logs
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
org.apache.cxf:cxf-coreMaven | < 3.5.11 | 3.5.11 |
org.apache.cxf:cxf-coreMaven | >= 3.6.0, < 3.6.6 | 3.6.6 |
org.apache.cxf:cxf-coreMaven | >= 4.0.0, < 4.0.7 | 4.0.7 |
org.apache.cxf:cxf-coreMaven | >= 4.1.0, < 4.1.1 | 4.1.1 |
Affected products
27- osv-coords26 versionspkg:apk/chainguard/apache-tika-2.9pkg:apk/chainguard/apache-tika-2.9-compatpkg:apk/chainguard/apache-tika-3.0pkg:apk/chainguard/apache-tika-3.0-compatpkg:apk/chainguard/apache-tika-3.1pkg:apk/chainguard/apache-tika-3.1-compatpkg:apk/chainguard/apache-tika-3.2pkg:apk/chainguard/apache-tika-3.2-compatpkg:apk/chainguard/wildflypkg:apk/chainguard/wildfly-openjdk-17pkg:apk/chainguard/wildfly-openjdk-17-compatpkg:apk/chainguard/wildfly-openjdk-21pkg:apk/chainguard/wildfly-openjdk-21-compatpkg:apk/chainguard/wso2ispkg:apk/wolfi/apache-tika-3.0pkg:apk/wolfi/apache-tika-3.0-compatpkg:apk/wolfi/apache-tika-3.1pkg:apk/wolfi/apache-tika-3.1-compatpkg:apk/wolfi/apache-tika-3.2pkg:apk/wolfi/apache-tika-3.2-compatpkg:apk/wolfi/wildflypkg:apk/wolfi/wildfly-openjdk-17pkg:apk/wolfi/wildfly-openjdk-17-compatpkg:apk/wolfi/wildfly-openjdk-21pkg:apk/wolfi/wildfly-openjdk-21-compatpkg:maven/org.apache.cxf/cxf-core
< 2.9.4-r3+ 25 more
- (no CPE)range: < 2.9.4-r3
- (no CPE)range: < 2.9.4-r3
- (no CPE)range: < 3.0.0-r16
- (no CPE)range: < 3.0.0-r16
- (no CPE)range: < 3.1.0-r7
- (no CPE)range: < 3.1.0-r7
- (no CPE)range: < 3.2.1-r3
- (no CPE)range: < 3.2.1-r3
- (no CPE)range: < 36.0.1-r7
- (no CPE)range: < 36.0.1-r7
- (no CPE)range: < 36.0.1-r7
- (no CPE)range: < 36.0.1-r7
- (no CPE)range: < 36.0.1-r7
- (no CPE)range: < 7.3.0-r0
- (no CPE)range: < 3.0.0-r16
- (no CPE)range: < 3.0.0-r16
- (no CPE)range: < 3.1.0-r7
- (no CPE)range: < 3.1.0-r7
- (no CPE)range: < 3.2.1-r3
- (no CPE)range: < 3.2.1-r3
- (no CPE)range: < 36.0.1-r7
- (no CPE)range: < 36.0.1-r7
- (no CPE)range: < 36.0.1-r7
- (no CPE)range: < 36.0.1-r7
- (no CPE)range: < 36.0.1-r7
- (no CPE)range: < 3.5.11
Patches
Vulnerability mechanics
References
6- github.com/advisories/GHSA-36wv-v2qp-v4g4ghsaADVISORY
- lists.apache.org/thread/vo5qv02mvv5plmb6z2xf1ktjmrpv3jmnghsavendor-advisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2025-48795ghsaADVISORY
- www.openwall.com/lists/oss-security/2025/07/15/3ghsaWEB
- github.com/apache/cxf/commit/1c1d687f8e295f433a3592a3bc0b0a63c432bfdeghsaWEB
- github.com/apache/cxf/pull/2258ghsaWEB
News mentions
0No linked articles in our index yet.