CVE-2025-48795

Apache CXF: Denial of Service and sensitive data exposure in logs

Published Jul 15, 2025 CVSS 3.1 · 5.6 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-21438 Apache CXF is vulnerable to DoS attacks as entire files are read into memory and logged
Github GHSA Github GHSA GHSA-36wv-v2qp-v4g4 Apache CXF is vulnerable to DoS attacks as entire files are read into memory and logged
History
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:*:*:*:*:*:*:*
Type Values Removed Values Added
Metrics epss

{'score': 0.00037}

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'}

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
Weaknesses

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Nov 4, 2025, 9:11 PM
Reserved
May 26, 2025, 8:49 AM
Status
Modified
Published
Jul 15, 2025, 3:15 PM
Modified
Jun 17, 2026, 9:30 AM
Severity
Moderate
Public date
Jul 15, 2025, 2:26 PM