Medium

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

  • Disclosed: 15.07.2025
  • Updated: 11.10.2026 13:20

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 software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) 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

References

CVSS score 5.6/10
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
Weakness (CWE)
CWE-400
Platform
Java / Kotlin (Maven)
Package
org.apache.cxf:cxf-core
Disclosed
15.07.2025
Updated
11.10.2026 13:20

Sources and licenses

OSV / GitHub Advisory Database - GHSA-36wv-v2qp-v4g4 - CC BY 4.0

Vulnerability history: org.apache.cxf:cxf-core

All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (14) in the archive
Total entries
14
First → latest
05.2022 06.2026
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • Critical 2
  • High 5
  • Medium 7

Disclosures per year

  1. 2022: 10
  2. 2023: 0
  3. 2024: 0
  4. 2025: 2
  5. 2026: 2
Severity:
  1. High · 7.5 CVE-2026-50645 >= 4.2.0, < 4.2.2, >= 4.0.0, < 4.1.7, < 3.6.12 4.2.2, 4.1.7, 3.6.12
  2. Critical · 9.8 CVE-2026-49875 >= 4.2.0, < 4.2.2, < 4.1.7 4.2.2, 4.1.7
  3. Apache CXF is vulnerable to DoS attacks as entire files are read into memory and logged this entry
    Medium · 5.6 CVE-2025-48795 < 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
  4. High · 7.5 CVE-2025-23184 < 3.5.10, >= 3.6.0, < 3.6.5, >= 4.0.0, < 4.0.6 3.5.10, 3.6.5, 4.0.6
  5. Critical · 9.8 CVE-2022-46364 < 3.4.10, >= 3.5.0, < 3.5.5 3.4.10, 3.5.5
  6. High · 7.5 CVE-2022-46363 < 3.4.10, >= 3.5.0, < 3.5.5 3.4.10, 3.5.5
  7. High · 7.5 CVE-2016-8739 < 3.0.12, >= 3.1.0, < 3.1.9 3.0.12, 3.1.9
  8. High · 7.5 CVE-2017-5656 >= 3.1.0, < 3.1.11, < 3.0.13 3.1.11, 3.0.13

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.