Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.apache.cxf/cxf-core
  4. ›
  5. CVE-2025-48795

CVE-2025-48795: Apache CXF is vulnerable to DoS attacks as entire files are read into memory and logged

July 15, 2025 (updated July 17, 2025)

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.

References

  • github.com/advisories/GHSA-36wv-v2qp-v4g4
  • github.com/apache/cxf
  • github.com/apache/cxf/commit/1c1d687f8e295f433a3592a3bc0b0a63c432bfde
  • github.com/apache/cxf/pull/2258
  • lists.apache.org/thread/vo5qv02mvv5plmb6z2xf1ktjmrpv3jmn
  • nvd.nist.gov/vuln/detail/CVE-2025-48795

Code Behaviors & Features

Detect and mitigate CVE-2025-48795 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.5.11, all versions starting from 3.6.0 before 3.6.6, all versions starting from 4.0.0 before 4.0.7, all versions starting from 4.1.0 before 4.1.1

Fixed versions

  • 3.5.11
  • 3.6.6
  • 4.0.7
  • 4.1.1

Solution

Upgrade to versions 3.5.11, 3.6.6, 4.0.7, 4.1.1 or above.

Impact 5.6 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption

Source file

maven/org.apache.cxf/cxf-core/CVE-2025-48795.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 19 Aug 2025 12:19:00 +0000.