CVE-2025-23184: Apache CXF: Denial of Service vulnerability with temporary files
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).
Published Jan 21, 2025 · Updated Dec 16, 2025
Affected packages
org.apache.cxf:cxf-core
- Ecosystem
- Maven
- Affected
- < 3.5.10
- Fixed in
- 3.5.10
- Check
mvn dependency:tree -Dincludes=org.apache.cxf:cxf-core
org.apache.cxf:cxf-core
- Ecosystem
- Maven
- Affected
- >= 3.6.0, < 3.6.5
- Fixed in
- 3.6.5
- Check
mvn dependency:tree -Dincludes=org.apache.cxf:cxf-core
org.apache.cxf:cxf-core
- Ecosystem
- Maven
- Affected
- >= 4.0.0, < 4.0.6
- Fixed in
- 4.0.6
- Check
mvn dependency:tree -Dincludes=org.apache.cxf:cxf-core
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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).
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-23184
- https://lists.apache.org/thread/lfs8l63rnctnj2skfrxyys7v8fgnt122
- https://github.com/apache/cxf/pull/2048
- https://github.com/apache/cxf/pull/2111
- https://issues.apache.org/jira/browse/CXF-7396
- https://security.netapp.com/advisory/ntap-20250214-0003
- https://www.vicarius.io/vsociety/posts/cve-2025-23184-detect-apache-cxf-vulnerability
- https://www.vicarius.io/vsociety/posts/cve-2025-23184-mitigate-apache-cxf-vulnerability
- https://github.com/advisories/GHSA-fh5r-crhr-qrrq
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Maven vulnerabilities
All Maven entriesCVE-2026-49875
Apache CXF has Improper Restriction of XML External Entity Reference
critical9.8Jun 12, 2026CVE-2026-50645
Apache cxf-core: No restriction on attachment headers per message
high7.5Jun 12, 2026CVE-2025-48795
Apache CXF is vulnerable to DoS attacks as entire files are read into memory and logged
medium5.6Jul 15, 2025
