VYPR
High severityNVD Advisory· Published Jan 21, 2025· Updated Dec 15, 2025

Apache CXF: Denial of Service vulnerability with temporary files

CVE-2025-23184

Description

A potential denial of service vulnerability is present in versions of Apache CXF before 3.5.10, 3.6.5 and 4.0.6. In some edge cases, the CachedOutputStream instances may not be closed and, if backed by temporary files, may fill up the file system (it applies to servers and clients).

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

A denial of service vulnerability in Apache CXF where unclosed CachedOutputStream instances can fill the file system with temporary files.

Vulnerability

Description In Apache CXF versions prior to 3.5.10, 3.6.5, and 4.0.6, the CachedOutputStream class may fail to close its underlying temporary files in certain edge cases. The root cause lies in the maybeDeleteTempFile method, which does not always remove streams from its internal list correctly, especially under high concurrency [3].

Exploitation

An attacker can exploit this by sending a large number of requests that trigger the caching mechanism, causing temporary files to accumulate on the server or client file system. No special authentication is required if the service is accessible; the vulnerability applies to both server and client contexts [1].

Impact

Over time, the accumulation of temporary files can exhaust disk space, leading to a denial of service (DoS) condition. This affects the availability of the system but does not expose data or allow code execution [1].

Mitigation

The vulnerability is fixed in Apache CXF versions 3.5.10, 3.6.5, and 4.0.6. The fix refactors the cleaner implementation and adds guardrails to ensure temporary files are properly deleted [4]. Users should upgrade to these versions or later.

AI Insight generated on May 20, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
org.apache.cxf:cxf-coreMaven
< 3.5.103.5.10
org.apache.cxf:cxf-coreMaven
>= 3.6.0, < 3.6.53.6.5
org.apache.cxf:cxf-coreMaven
>= 4.0.0, < 4.0.64.0.6

Affected products

12

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

10

News mentions

0

No linked articles in our index yet.