CVE-2025-48795
July 15, 2025
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 Packages
https://github.com/apache/cxf.git (GITHUB):
Affected version(s) =cxf-4.1.0 <cxf-4.1.1Fix Suggestion:
Update to version cxf-4.1.1https://github.com/apache/cxf.git (GITHUB):
Affected version(s) =cxf-4.0.6 <cxf-4.0.7Fix Suggestion:
Update to version cxf-4.0.7https://github.com/apache/cxf.git (GITHUB):
Affected version(s) =cxf-3.6.5 <cxf-3.6.6Fix Suggestion:
Update to version cxf-3.6.6https://github.com/apache/cxf.git (GITHUB):
Affected version(s) =cxf-3.5.10 <cxf-3.5.11Fix Suggestion:
Update to version cxf-3.5.11org.apache.cxf:cxf-core (JAVA):
Affected version(s) =3.6.5 <3.6.6Fix Suggestion:
Update to version 3.6.6org.apache.cxf:cxf-core (JAVA):
Affected version(s) =4.1.0 <4.1.1Fix Suggestion:
Update to version 4.1.1org.apache.cxf:cxf-core (JAVA):
Affected version(s) =3.5.10 <3.5.11Fix Suggestion:
Update to version 3.5.11org.apache.cxf:cxf-core (JAVA):
Affected version(s) =4.0.6 <4.0.7Fix Suggestion:
Update to version 4.0.7Additional Notes
The description of this vulnerability differs from MITRE.
Related Resources (5)
Do you need more information?
Contact UsCVSS v4
Base Score:
6.3
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
LOW
Vulnerable System Availability
LOW
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
5.6
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
LOW
Availability
LOW
Weakness Type (CWE)
Uncontrolled Resource Consumption
EPSS
Base Score:
0.07