GHSA-36wv-v2qp-v4g4

Apache CXF is vulnerable to DoS attacks as entire files are read into memory and logged

At a glance

Published
Updated
CVE
CVE-2025-48795
CVSS_V3
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L

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.

Affected packages

PackageVersions
Maven · org.apache.cxf:cxf-coreintroduced 0, fixed 3.5.11
Maven · org.apache.cxf:cxf-coreintroduced 3.6.0, fixed 3.6.6
Maven · org.apache.cxf:cxf-coreintroduced 4.0.0, fixed 4.0.7
Maven · org.apache.cxf:cxf-coreintroduced 4.1.0, fixed 4.1.1

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database