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, which fix this issue by imposing a maximum default of 500 attachments per message.
Published: 2026-06-12
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Apache CXF has no limit on the number of attachment headers that can be present in a message during deserialization, allowing an attacker to flood the system with many attachments. Each attachment consumes memory and CPU resources, which can deplete available system capacity and cause the service to become unresponsive or to crash. The flaw is classified as a resource‑consumption weakness (CWE-400).

Affected Systems

The vulnerability affects the Apache CXF framework distributed by the Apache Software Foundation. Versions older than 4.2.2 or 4.1.7 do not enforce an attachment threshold and are therefore vulnerable. Updating to Apache CXF 4.2.2 or 4.1.7 installs a default cap of 500 attachments per message, mitigating the issue.

Risk and Exploitability

The description indicates that an attacker could send an XML message with an excessive number of attachment headers to an exposed CXF endpoint. Based on this information, it is inferred that the flaw can be exploited remotely without authentication, and would trigger memory exhaustion or processing delays. The CVSS score of 7.5 reflects a high severity denial of service vulnerability. The EPSS score is less than 1% and the vulnerability is not listed in CISA’s KEV catalog, but the lack of a resource cap makes it a high‑risk denial of service vector in environments with unrestricted inbound traffic.

Generated by OpenCVE AI on June 12, 2026 at 15:29 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Apache CXF to version 4.2.2 or 4.1.7, which enforce a default maximum of 500 attachments per message.
  • If upgrading is not immediately possible, configure the application to set an explicit maximum number of attachments per message or reject messages that exceed a safe threshold.
  • Implement network‑level rate limiting or firewall rules to control the rate of incoming connections and to detect large payloads before they reach the application.
  • Monitor runtime memory usage and application logs for abnormal attachment header volumes to detect and mitigate potential denial‑of‑service attempts.

Generated by OpenCVE AI on June 12, 2026 at 15:29 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 12 Jun 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 12 Jun 2026 10:45:00 +0000

Type Values Removed Values Added
First Time appeared Apache
Apache cxf
Vendors & Products Apache
Apache cxf

Fri, 12 Jun 2026 10:30:00 +0000

Type Values Removed Values Added
References

Fri, 12 Jun 2026 09:45:00 +0000

Type Values Removed Values Added
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, which fix this issue by imposing a maximum default of 500 attachments per message.
Title Apache CXF: No restriction on attachment headers per message
Weaknesses CWE-400
References

cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published:

Updated: 2026-06-12T13:43:27.552Z

Reserved: 2026-06-05T14:05:01.499Z

Link: CVE-2026-50645

cve-icon Vulnrichment

Updated: 2026-06-12T09:28:15.759Z

cve-icon NVD

Status : Undergoing Analysis

Published: 2026-06-12T10:16:23.533

Modified: 2026-06-12T15:16:31.137

Link: CVE-2026-50645

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-12T15:30:31Z

Weaknesses
  • CWE-400

    Uncontrolled Resource Consumption