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.
History

Tue, 29 Jul 2025 17:00:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:apache:cxf:3.5.10:*:*:*:*:*:*:*
cpe:2.3:a:apache:cxf:3.6.5:*:*:*:*:*:*:*
cpe:2.3:a:apache:cxf:4.0.6:*:*:*:*:*:*:*
cpe:2.3:a:apache:cxf:4.1.0:*:*:*:*:*:*:*

Wed, 16 Jul 2025 13:45:00 +0000

Type Values Removed Values Added
Metrics epss

{'score': 0.00037}


Wed, 16 Jul 2025 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-200
References
Metrics threat_severity

None

threat_severity

Moderate


Tue, 15 Jul 2025 21:15:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 5.6, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 15 Jul 2025 14:45:00 +0000

Type Values Removed Values Added
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.
Title Apache CXF: Denial of Service and sensitive data exposure in logs
Weaknesses CWE-400
References

cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published: 2025-07-15T14:26:44.758Z

Updated: 2025-07-15T20:44:33.127Z

Reserved: 2025-05-26T08:49:17.479Z

Link: CVE-2025-48795

cve-icon Vulnrichment

Updated: 2025-07-15T20:44:29.177Z

cve-icon NVD

Status : Analyzed

Published: 2025-07-15T15:15:24.697

Modified: 2025-07-29T16:57:13.093

Link: CVE-2025-48795

cve-icon Redhat

Severity : Moderate

Publid Date: 2025-07-15T14:26:44Z

Links: CVE-2025-48795 - Bugzilla