CVE-2025-23184 Apache CXF: Denial of Service vulnerability with temporary files

Medium 5.9 Published Updated

Attackers can cause denial of service by filling the file system with unclosed temporary files in Apache CXF.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2025-23184?

CVE-2025-23184 is a medium-severity denial of service vulnerability in Apache Cxf, published on 21 Jan 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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).

Weakness: CWE-400

Which versions are affected by CVE-2025-23184?

6 open source packages ship an affected version, including org.apache.cxf:cxf-core. It affects 1 product.

PackageAffectedFixed in
org.apache.cxf:cxf-core MavenAll versions3.5.10
org.apache.cxf:cxf-core MavenAll versions3.5.10
org.apache.cxf:cxf-core MavenFrom 3.6.03.6.5
org.apache.cxf:cxf-core MavenFrom 3.6.03.6.5
org.apache.cxf:cxf-core MavenFrom 4.0.04.0.6
org.apache.cxf:cxf-core MavenFrom 4.0.04.0.6

Products include Apache Cxf.

How do I fix CVE-2025-23184?

Upgrade org.apache.cxf:cxf-core to a fixed version for your release line: 3.5.10, 3.6.5 or 4.0.6.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2025-23184 being exploited?

There is no known exploitation of CVE-2025-23184 in the wild and no public exploit code.

All Apache Cxf vulnerabilities

Sources

Also known as CLSA-2025-1759363571, GHSA-fh5r-crhr-qrrq, MINI-xhcm-3qr3-fjqm.

Is CVE-2025-23184 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free