GitHub Advisoryadvisory · Maven

GHSA-36wv-v2qp-v4g4 Apache CXF is vulnerable to DoS attacks as entire files are read into memory and logged

MEDIUM Published 2025-07-15 Modified 2025-11-05 Official page ↗
Aliases
CVE-2025-48795
Ecosystem
Maven
Packages
org.apache.cxf:cxf-core
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
Weaknesses
CWE-400
Reviewed
2025-07-16

Affected packages

• Maven org.apache.cxf:cxf-core: < 3.5.11 → fixed in 3.5.11 • Maven org.apache.cxf:cxf-core: >= 3.6.0, < 3.6.6 → fixed in 3.6.6 • Maven org.apache.cxf:cxf-core: >= 4.0.0, < 4.0.7 → fixed in 4.0.7 • Maven org.apache.cxf:cxf-core: >= 4.1.0, < 4.1.1 → 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.

Related

Alias · CVE (1)

  • CVE-2025-48795 Apache CXF stores large stream based messages as temporary files on the local filesystem. vulnerability

Weakness · CWE (1)

  • CWE-400 Uncontrolled Resource Consumption weakness

References