CVE-2025-48795

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.

Category

5.6
CVSS
Severity: Medium
CVSS 3.1 •
EPSS 0.04%
Vendor Advisory apache.org
Affected: Apache Software Foundation Apache CXF
Published at:
Updated at:

References

Link Tags
https://lists.apache.org/thread/vo5qv02mvv5plmb6z2xf1ktjmrpv3jmn issue tracking mailing list vendor advisory

Frequently Asked Questions

What is the severity of CVE-2025-48795?
CVE-2025-48795 has been scored as a medium severity vulnerability.
How to fix CVE-2025-48795?
To fix CVE-2025-48795, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2025-48795 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2025-48795 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2025-48795?
CVE-2025-48795 affects Apache Software Foundation Apache CXF.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.