CVE-2025-48795: Apache Cxf

Medium severity, CVSS 5.6. EPSS: 0.9% probability of exploitation activity in the next 30 days.

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.

What to do

No fixed version is stated in NVD's or the CNA's structured data. Check the vendor's advisory among the references.

Affected products

  • Apache Cxf: version 3.5.10 only; version 3.6.5 only; version 4.0.6 only; version 4.1.0 only

Affected packages

Published 2025-07-15. Last modified 2026-06-17.