CVE-2025-48795
MEDIUM 5.6CVSS 3.1Apache CXF is vulnerable to DoS attacks as entire files are read into memory and logged
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.
- Published
- 15 Jul 2025
- Last modified
- 10 Sep 2026
- Assigned by
- security@apache.org
- NVD status
- Modified
- Weakness
- CWE-400
- Also known as
- GHSA-36wv-v2qp-v4g4
- Sources
- NVDJSONOSV GHSA-36wv-v2qp-v4g4JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | MEDIUM 5.6 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.6 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | cxfcpe:2.3:a:apache:cxf:3.5.10:*:*:*:*:*:*:* |
= 3.5.10 | |
| NVD | apache | cxfcpe:2.3:a:apache:cxf:3.6.5:*:*:*:*:*:*:* |
= 3.6.5 | |
| NVD | apache | cxfcpe:2.3:a:apache:cxf:4.0.6:*:*:*:*:*:*:* |
= 4.0.6 | |
| NVD | apache | cxfcpe:2.3:a:apache:cxf:4.1.0:*:*:*:*:*:*:* |
= 4.1.0 | |
| OSV | Maven | org.apache.cxf:cxf-core | < 3.5.11 | 3.5.11 |
| OSV | Maven | org.apache.cxf:cxf-core | >= 3.6.0, < 3.6.6 | 3.6.6 |
| OSV | Maven | org.apache.cxf:cxf-core | >= 4.0.0, < 4.0.7 | 4.0.7 |
| OSV | Maven | org.apache.cxf:cxf-core | >= 4.1.0, < 4.1.1 | 4.1.1 |
References
- https://lists.apache.org/thread/vo5qv02mvv5plmb6z2xf1ktjmrpv3jmn · Issue Tracking, Mailing List, Vendor Advisory, WEB
- http://www.openwall.com/lists/oss-security/2025/07/15/3 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-48795 · ADVISORY
- https://github.com/apache/cxf/pull/2258 · WEB
- https://github.com/apache/cxf/commit/1c1d687f8e295f433a3592a3bc0b0a63c432bfde · WEB
- https://github.com/apache/cxf · PACKAGE
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 15 Jul 2025)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 15 Jul 2025)