CVE-2026-50645
Apache CXF vulnerability analysis and mitigation

Overview

CVE-2026-50645 is a denial-of-service vulnerability in Apache CXF caused by the absence of any restriction on the number of attachment headers a message can contain during deserialization. An unauthenticated remote attacker can exploit this to cause uncontrolled resource consumption and make the service unavailable. The vulnerability affects Apache CXF (org.apache.cxf:cxf-core) versions before 4.1.7 and versions 4.2.0 through 4.2.2 (exclusive). It was disclosed on June 11, 2026, and carries a CVSS v3.1 base score of 7.5 (High) (Apache Advisory, oss-security).

Technical details

The root cause is classified as CWE-400 (Uncontrolled Resource Consumption). During message deserialization, Apache CXF imposes no upper bound on the number of attachment headers a message may include, allowing an attacker to craft messages with an arbitrarily large number of attachment headers that force the server to allocate excessive resources. No authentication or special privileges are required, and the attack vector is entirely network-based with low complexity. The fix enforces a default maximum of 500 attachments per message (oss-security, Apache Advisory).

Impact

Successful exploitation results in a denial-of-service condition, exhausting server resources and rendering the Apache CXF-based service unavailable to legitimate users. There is no impact on confidentiality or data integrity — the vulnerability is limited to availability. Services relying on Apache CXF for SOAP or REST message processing are at risk of complete service disruption (oss-security, Apache Advisory).

Exploitation steps

  1. Reconnaissance: Identify internet-facing services running Apache CXF (org.apache.cxf:cxf-core) versions before 4.1.7 or between 4.2.0 and 4.2.1 using service banners, WSDL endpoints, or dependency scanning tools.
  2. Craft malicious message: Construct a MIME multipart or SOAP message containing an extremely large number of attachment headers (e.g., thousands of Content-Disposition or similar MIME headers) within a single request.
  3. Send request: Transmit the crafted message to any CXF endpoint that processes attachments (e.g., a SOAP/MTOM endpoint) without requiring authentication.
  4. Trigger resource exhaustion: The server attempts to deserialize all attachment headers without limit, consuming excessive CPU and/or memory, leading to service degradation or a complete denial-of-service condition (oss-security).

Indicators of compromise

  • Network: Unusually large or malformed MIME multipart/SOAP requests sent to CXF service endpoints; high-volume requests with abnormally large Content-Type: multipart/... headers.
  • Logs: CXF application logs showing repeated deserialization activity or out-of-memory errors; Java heap exhaustion stack traces in server logs correlating with inbound message processing.
  • Process: Java process (hosting CXF) exhibiting sustained high CPU or memory usage without corresponding legitimate traffic; JVM garbage collection logs showing frequent full GC cycles triggered by large object allocations during message parsing.

Mitigation and workarounds

Users should upgrade Apache CXF to version 4.1.7 (for the 4.1.x branch) or 4.2.2 (for the 4.2.x branch), which enforce a default maximum of 500 attachment headers per message. No configuration-based workaround has been officially documented; upgrading is the recommended and primary remediation. Organizations unable to upgrade immediately should consider placing a WAF or reverse proxy in front of CXF endpoints to limit the size and complexity of inbound MIME multipart messages (Apache Advisory, oss-security).

Community reactions

The vulnerability was reported by the Apache CXF team with a severity rating of "low" in the oss-security disclosure, reflecting the limited scope of impact (availability only) and the absence of known exploits. A Tenable Nessus detection plugin (ID 321189) was published to assist organizations in identifying vulnerable instances. Social media activity was minimal, with brief mentions on Bluesky and Mastodon security feeds (oss-security).

Additional resources


SourceThis report was generated using AI

Related Apache CXF vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-50633HIGH8.1
  • Apache CXF logoApache CXF
  • cpe:2.3:a:apache:cxf
NoYesJun 12, 2026
CVE-2026-50632HIGH8.1
  • Apache CXF logoApache CXF
  • cpe:2.3:a:apache:cxf
NoYesJun 12, 2026
CVE-2026-50645HIGH7.5
  • Apache CXF logoApache CXF
  • cpe:2.3:a:apache:cxf
NoYesJun 12, 2026
CVE-2026-50631HIGH7.4
  • Apache CXF logoApache CXF
  • cpe:2.3:a:apache:cxf
NoYesJun 12, 2026
CVE-2026-50634MEDIUM6.5
  • Apache CXF logoApache CXF
  • cpe:2.3:a:apache:cxf
NoYesJun 12, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management