MODERATE 5.6

CVE-2025-48795

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

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 Maven artifacts (1)

ArtifactAffected versionsFixed in
org.apache.cxf » cxf-core
< 3.5.11>= 3.6.0, < 3.6.6>= 4.0.0, < 4.0.7>= 4.1.0, < 4.1.1
3.5.11, 3.6.6, 4.0.7, 4.1.1

Blast radius

1affected artifacts
942affected versions
7,274dependent artifacts (est.)
449,681dependent versions

60% of the dependent artifacts (4,400) still pull an affected version in their latest release.

DepthDependent versions
Direct
78,711
2 hops
117,591
3 hops
125,300
4 hops
63,205
5 hops
35,295
6 hops
29,579

Most used dependents

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.

References

Advisorynvd.nist.gov
Packagegithub.com
Webgithub.com
Webgithub.com
Weblists.apache.org
Webopenwall.com