Resource exhaustion in Apache Cxf
CVE-2025-48795
- CVSS v3
- 5.6 Medium
- Public exploits
- None known
- EPSS
- 0.007 · 55.0th percentile
- Published
- 2025-07-15
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.
Vulnerability class: DoS (Denial of Service)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.6 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L.
- Attack Vector
- Network
AV:N - Attack Complexity
- High
AC:H - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- Low
C:L - Integrity
- Low
I:L - Availability
- Low
A:L
EPSS exploit prediction
EPSS 0.007, 55.0th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Apache Cxf — versions 3.5.10, 3.6.5, 4.0.6
- Apache Software Foundation Cxf — versions 3.5.10, 3.6.5, 4.0.6
Weakness classification (CWE)
References
- lists.apache.org/thread/vo5qv02mvv5plmb6z2xf1ktjmrpv3jmn (vendor-advisory, Mailing List, Issue Tracking, Vendor Advisory)
- www.openwall.com/lists/oss-security/2025/07/15/3