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.

Severity (CVSS 3.1)5.6Medium
Exploit odds (30 days)0.7%top 45.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Mavenorg.apache.cxf:cxf-core3.5.11GHSA-36wv-v2qp-v4g4
Mavenorg.apache.cxf:cxf-core3.6.6GHSA-36wv-v2qp-v4g4
Mavenorg.apache.cxf:cxf-core4.0.7GHSA-36wv-v2qp-v4g4
Mavenorg.apache.cxf:cxf-core4.1.1GHSA-36wv-v2qp-v4g4

Affected products (as reported)

VendorProductVersions
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

References