Vulnerability · Published Jul 15, 2025 · Assigned by apache
CVE-2025-48795Apache CXF: Denial of Service and sensitive data exposure in logs
Medium 5.6
In plain English
A medium-severity uncontrolled resource consumption in Apache CXF from Apache Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 55% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.apache.cxf:cxf-core | 3.5.11 | GHSA-36wv-v2qp-v4g4 |
| Maven | org.apache.cxf:cxf-core | 3.6.6 | GHSA-36wv-v2qp-v4g4 |
| Maven | org.apache.cxf:cxf-core | 4.0.7 | GHSA-36wv-v2qp-v4g4 |
| Maven | org.apache.cxf:cxf-core | 4.1.1 | GHSA-36wv-v2qp-v4g4 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Apache Software Foundation | Apache CXF | 3.5.10 – before 3.5.113.6.5 – before 3.6.64.0.6 – before 4.0.74.1.0 – before 4.1.1 |
Weakness: CWE-400 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L