Skip to content
OpenAdvisories
High · 7.5 CVE-2026-50645 EUVD-2026-36403GHSA-ghvc-7hp8-2g2v

Apache CXF: No restriction on attachment headers per message

Published Jun 12, 2026 · Updated Aug 7, 2026 · Assigned by apache

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 products

VendorProductAffectedFixed
Apache Software Foundation Apache CXF 4.2.0 – < 4.2.2, 4.0.0 – < 4.1.7, < 3.6.12 4.2.2

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling apache-tika-3.1 3.1.0-r38 —
Wolfi rolling apache-tika-3.2 +1 3.2.3-r18 —
Wolfi rolling apache-tika-3.3 3.3.2-r2 —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.apache.cxf:cxf-core >= 4.2.0, < 4.2.2 4.2.2 GHSA-ghvc-7hp8-2g2v
Maven org.apache.cxf:cxf-core >= 4.0.0, < 4.1.7 4.1.7 GHSA-ghvc-7hp8-2g2v
Maven org.apache.cxf:cxf-core < 3.6.12 3.6.12 GHSA-ghvc-7hp8-2g2v

Advisories 2

References