Skip to content

CVE-2026-107937 Apache CXF: The attachment header size and count limits can be bypassed, which allows denial of service through memory exhaustion.

HighCVSS 7.5 EPSS 0.56%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial
Technology
Red Hat

Description

In Apache CXF, the parser for multipart/MTOM attachment part headers did not fully enforce the configured attachment-max-header-size (default 300 characters) and attachment-headers-max-count (default 500) limits. The size limit was applied only to each physical line, not to a header value built from continuation lines or to the combined values of a repeated header. The count limit was checked against the number of distinct header names, not the total number of header lines. A remote, unauthenticated attacker could send a multipart request with very large folded or repeated part headers. The server would then allocate memory without bound, causing a denial of service. 
Users are recommended to upgrade to versions 4.2.4 or 4.1.9 or 3.6.13, which fix this issue.

Upgrade path

7 packages: 2 fixed, 5 with no fix yet.

PackageAffectedFixed inStatus
redhat/cxf-core(Red Hat camel_quarkus 3) All versions No fix listed No fix yet
redhat/cxf-core(Red Hat camel_spring_boot 4) All versions No fix listed No fix yet
redhat/cxf-core(Red Hat jboss_enterprise_application_platform 8) All versions No fix listed No fix yet
redhat/cxf-core(Red Hat red_hat_single_sign_on 7) All versions No fix listed No fix yet
redhat/org.apache.cxf/cxf-core:4.1.9.rhbac-redhat-00001(Red Hat apache_camel_quarkus 3.33 el6) All versions No fix listed No fix yet
apache cxf < 3.6.13; >= 4.0.0, < 4.1.9; >= 4.2.0, < 4.2.4 3.6.13, 4.1.9, 4.2.4 Fixed
org.apache.cxf/cxf-core(Maven) < 3.6.13; >= 4.0.0, < 4.1.9; >= 4.2.0, < 4.2.4 3.6.13, 4.1.9, 4.2.4 Fixed

Affected products

ProductAffected versionsFixed in
org.apache.cxf/cxf-core(Maven) >= 4.2.0, < 4.2.4 4.2.4
org.apache.cxf/cxf-core(Maven) >= 4.0.0, < 4.1.9 4.1.9
org.apache.cxf/cxf-core(Maven) < 3.6.13 3.6.13
redhat/org.apache.cxf/cxf-core:4.1.9.rhbac-redhat-00001(Red Hat:apache_camel_quarkus:3.33::el6) All versions No fix listed
redhat/cxf-core(Red Hat:camel_quarkus:3) All versions No fix listed
redhat/cxf-core(Red Hat:camel_spring_boot:4) All versions No fix listed
redhat/cxf-core(Red Hat:jboss_enterprise_application_platform:7) All versions No fix listed
redhat/jboss-eap-7/eap74-els-openjdk11-openshift-rhel8(Red Hat:jboss_enterprise_application_platform:7) All versions No fix listed
redhat/jboss-eap-7/eap74-els-openjdk17-openshift-rhel8(Red Hat:jboss_enterprise_application_platform:7) All versions No fix listed
redhat/jboss-eap-7/eap74-els-openjdk8-openshift-rhel8(Red Hat:jboss_enterprise_application_platform:7) All versions No fix listed
redhat/cxf-core(Red Hat:jboss_enterprise_application_platform:8) All versions No fix listed
redhat/cxf-core(Red Hat:jboss_enterprise_web_server:5) All versions No fix listed
redhat/cxf-core(Red Hat:red_hat_single_sign_on:7) All versions No fix listed
apache cxf < 3.6.13 3.6.13
apache cxf >= 4.0.0, < 4.1.9 4.1.9
apache cxf >= 4.2.0, < 4.2.4 4.2.4

References