CVE-2025-48795: Apache CXF: Denial of Service and sensitive data exposure in logs

Published Jul 15, 2025
·
Updated

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 Software

9 affected componentsFixes available
Apache CXF<3.5.11, <3.6.6, <4.0.7, <4.1.1
maven/org.apache.cxf:cxf-core>=4.0.0<4.0.7
4.0.7
maven/org.apache.cxf:cxf-core>=4.1.0<4.1.1
4.1.1
maven/org.apache.cxf:cxf-core>=3.6.0<3.6.6
3.6.6
maven/org.apache.cxf:cxf-core<3.5.11
3.5.11
Apache CXF=3.5.10
Apache CXF=3.6.5
Apache CXF=4.0.6
Apache CXF=4.1.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade maven/org.apache.cxf:cxf-core to a version that resolves this vulnerability.

    Fixed in 4.0.7
  2. Upgrade

    Upgrade maven/org.apache.cxf:cxf-core to a version that resolves this vulnerability.

    Fixed in 4.1.1
  3. Upgrade

    Upgrade maven/org.apache.cxf:cxf-core to a version that resolves this vulnerability.

    Fixed in 3.6.6
  4. Upgrade

    Upgrade maven/org.apache.cxf:cxf-core to a version that resolves this vulnerability.

    Fixed in 3.5.11
  5. Upgrade

    Upgrade Apache CXF to a version that resolves this vulnerability.

    Fixed in 3.5.11
  6. Upgrade

    Upgrade Apache CXF to a version that resolves this vulnerability.

    Fixed in 3.6.6
  7. Upgrade

    Upgrade Apache CXF to a version that resolves this vulnerability.

    Fixed in 4.0.7
  8. Upgrade

    Upgrade Apache CXF to a version that resolves this vulnerability.

    Fixed in 4.1.1

Event History

Jul 15, 2025
CVE Published
via MITRE·02:26 PM
Data Sourced
via MITRE·02:26 PM
DescriptionWeakness
Data Sourced
via NVD·03:15 PM
DescriptionWeakness
Advisory Published
via GitHub·03:31 PM
Data Sourced
via GitHub·03:31 PM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via NVD·09:15 PM
Severity
Jul 17, 2025
Updated
via GitHub·04:47 PM
Affected Software
Jul 29, 2025
Data Sourced
via NVD·04:57 PM
Affected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-48795?

CVE-2025-48795 is classified as a medium severity vulnerability.

2

How do I fix CVE-2025-48795?

To mitigate CVE-2025-48795, upgrade Apache CXF to version 3.5.11 or later, 3.6.6 or later, 4.0.7 or later, or 4.1.1 or later.

3

What is the impact of CVE-2025-48795?

CVE-2025-48795 can lead to a denial of service due to excessive memory consumption caused by large stream based messages being logged.

4

Which versions of Apache CXF are affected by CVE-2025-48795?

Apache CXF versions prior to 3.5.11, 3.6.6, 4.0.7, and 4.1.1 are affected by CVE-2025-48795.

5

Who can be affected by CVE-2025-48795?

Any organization using the affected versions of Apache CXF for processing large stream based messages may be vulnerable to CVE-2025-48795.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203