CVE-2025-48795

published 15 Jul 2025 · updated 4 Nov 2025

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

5.6MediumCVSS 5.6EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 3.5.11, 3.6.6, 4.0.7 and 1 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Apache Software Foundation>=3.5.10 <3.5.11, >=3.6.5 <3.6.6, >=4.0.6 <4.0.7, >=4.1.0 <4.1.13.5.11, 3.6.6, 4.0.7, 4.1.1

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-48795 severity on Zeptric[![CVE-2025-48795](https://zeptric.io/badge/cve/CVE-2025-48795.svg)](https://zeptric.io/cve/CVE-2025-48795)