Vulnerability · Published Jun 12, 2026 · Assigned by apache

CVE-2026-50645Apache CXF: No restriction on attachment headers per message

High 7.5

In plain English

A high-severity uncontrolled resource consumption in Apache CXF from Apache Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 40% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.5%top 60.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

There is no restriction on the amount of attachment headers that a message can contain when being deserialized by Apache CXF, which can lead to uncontrolled resource consumption or a denial of service attack. Users are recommended to upgrade to versions 4.2.2 or 4.1.7 or 3.6.12, which fix this issue by imposing a maximum default of 500 attachments per message.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Mavenorg.apache.cxf:cxf-core4.2.2GHSA-ghvc-7hp8-2g2v
Mavenorg.apache.cxf:cxf-core4.1.7GHSA-ghvc-7hp8-2g2v
Mavenorg.apache.cxf:cxf-core3.6.12GHSA-ghvc-7hp8-2g2v

Affected products (as reported)

VendorProductVersions
Apache Software Foundation Apache CXF 4.2.0 – before 4.2.24.0.0 – before 4.1.70 – before 3.6.12

Weakness: CWE-400 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References