CVE-2025-48795Apache Cxf
Medium 5.6 No auth needed
Follow: this CVE · Apache · Apache Cxf We alert you by email or Slack (account required).
- Priority
- 49
- CVSS 3.1
- 5.6
- EPSS
- —
- Auth required
- No
- Published
- Jul 15, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-400
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
What happens
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.
What to do
- Apply the vendor's security update for Cxf.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.apache.cxf:cxf-core |
< 3.5.11 |
3.5.11 |
— |
| Maven | org.apache.cxf:cxf-core |
≥ 3.6.0 < 3.6.6 |
3.6.6 |
— |
| Maven | org.apache.cxf:cxf-core |
≥ 4.0.0 < 4.0.7 |
4.0.7 |
— |
| Maven | org.apache.cxf:cxf-core |
≥ 4.1.0 < 4.1.1 |
4.1.1 |
— |
Per OSV / GitHub Advisories (GHSA-36wv-v2qp-v4g4). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | cxf | 3.5.10 |
| apache | cxf | 3.6.5 |
| apache | cxf | 4.0.6 |
| apache | cxf | 4.1.0 |
Official sources
References
Links published by the sources. Open them with care.
- lists.apache.org Issue Tracking Mailing List Vendor Advisory
- www.openwall.com