Apache CXF: Unbounded DEFLATE Decompression in CXF JOSE/JWE and SAML Processing (Decompression Bomb)
CompressionUtils.inflate() decompressed attacker-controlled DEFLATE data with no output-size cap. A small (~KB) crafted payload could expand to gigabytes on the heap. Reachable via JWE decryption when zip=DEF (e.g. JoseSessionTokenProvider with RSA-OAEP key wrap) and via SAML redirect/POST binding token inflation — in both cases decompression happens before/independent of trust validation. Fix: Added a configurable maximum inflated-size cap (default 10 MiB, org.apache.cxf.compression-max-inflated-size system property) to CompressionUtils.inflate(); aborts with DataFormatException once exceeded. Users are recommended to upgrade to versions 4.2.4 or 4.1.9 or 3.6.13, which fix this issue.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-78384
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 17:44 UTC · Revision 1
Source evidence
Apache CXF: Unbounded DEFLATE Decompression in CXF JOSE/JWE and SAML Processing (Decompression Bomb)
core-osv · Original sourcePublished 9 Oct 2026, 10:18 UTC
CompressionUtils.inflate() decompressed attacker-controlled DEFLATE data with no output-size cap. A small (~KB) crafted payload could expand to gigabytes on the heap. Reachable via JWE decryption when zip=DEF (e.g. JoseSessionTokenProvider with RSA-OAEP key wrap) and via SAML redirect/POST binding token inflation — in both cases decompression happens before/independent of trust validation. Fix: Added a configurable maximum inflated-size cap (default 10 MiB, org.apache.cxf.compression-max-inflated-size system property) to CompressionUtils.inflate(); aborts with DataFormatException once exceeded. Users are recommended to upgrade to versions 4.2.4 or 4.1.9 or 3.6.13, which fix this issue.
osv:CVE-2026-78384
Complete source record
{
"id": "d322a03fc7872f21ee2d950e1e6caadfcf271184515ffb25a2bf0db21c7b8e8e",
"url": "https://osv.dev/vulnerability/CVE-2026-78384",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Apache CXF: Unbounded DEFLATE Decompression in CXF JOSE/JWE and SAML Processing (Decompression Bomb)",
"summary": "CompressionUtils.inflate() decompressed attacker-controlled DEFLATE data with no output-size cap. A small (~KB) crafted payload could expand to gigabytes on the heap. Reachable via JWE decryption when zip=DEF (e.g. JoseSessionTokenProvider with RSA-OAEP key wrap) and via SAML redirect/POST binding token inflation — in both cases decompression happens before/independent of trust validation. Fix: Added a configurable maximum inflated-size cap (default 10 MiB, org.apache.cxf.compression-max-inflated-size system property) to CompressionUtils.inflate(); aborts with DataFormatException once exceeded. Users are recommended to upgrade to versions 4.2.4 or 4.1.9 or 3.6.13, which fix this issue.",
"evidence": "osv:CVE-2026-78384",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2026-78384",
"aliases": [
"CVE-2026-78384"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/apache/cxf",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "8999af05d26ef2e63dc4c77a798595e2a53435ad"
},
{
"introduced": "02310e95fe74c0c031f540f3284e4a9bd856ced2"
},
{
"fixed": "043829b193a6ead389864e636a07ddf6bfa2ca8a"
},
{
"introduced": "04ccbfd709eef8f4af53d6237514fbe9db7ea81f"
},
{
"fixed": "5e324f121104cc76af1b8f3ec0d1a20ef9e98c3b"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:apache:cxf:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "3.6.13"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:apache:cxf:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "4.0.0"
},
{
"fixed": "4.1.9"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:apache:cxf:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "4.2.0"
},
{
"fixed": "4.2.4"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"cxf-3.6.12",
"cxf-4.1.8",
"cxf-4.2.3",
"cxf-4.1.7",
"cxf-4.2.2",
"cxf-3.6.11",
"cxf-4.1.6",
"cxf-4.2.1",
"cxf-3.6.10",
"cxf-4.1.5",
"cxf-4.2.0",
"cxf-3.6.9",
"cxf-4.1.4",
"cxf-3.6.8",
"cxf-4.1.3",
"cxf-3.6.7",
"cxf-4.1.2",
"cxf-3.6.6",
"cxf-4.1.1",
"cxf-4.1.0",
"cxf-3.6.5",
"cxf-3.6.4",
"cxf-3.6.3",
"cxf-4.0.4",
"cxf-4.0.3",
"cxf-3.6.2",
"cxf-4.0.2",
"cxf-3.6.1",
"cxf-4.0.1",
"cxf-3.6.0",
"cxf-4.0.0",
"cxf-3.5.0",
"cxf-3.4.1",
"cxf-3.4.0",
"cxf-3.3.3",
"cxf-3.3.2",
"cxf-3.3.1",
"cxf-3.3.0",
"cxf-3.2.5",
"cxf-3.2.4",
"cxf-3.2.3",
"cxf-3.2.2",
"cxf-3.2.1",
"cxf-3.2.0",
"cxf-3.1.4",
"cxf-3.1.3",
"cxf-3.1.2",
"cxf-3.1.1",
"cxf-3.1.0",
"cxf-3.0.0",
"cxf-3.0.0-milestone2",
"cxf-2.7.2",
"cxf-2.7.1",
"cxf-2.7.0",
"cxf-2.6.1",
"cxf-2.6.0",
"cxf-2.5.1",
"cxf-2.5.0",
"cxf-2.4.0",
"cxf-2.3.0",
"cxf-2.2.2",
"cxf-2.2.1",
"cxf-2.2",
"cxf-2.1.2",
"cxf-2.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-78384.json"
}
}
],
"modified": "2026-10-28T02:30:51.293313139Z",
"provider": "osv",
"references": [
"https://repo.maven.apache.org/maven2",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/78xxx/CVE-2026-78384.json",
"https://lists.apache.org/thread.html/xoh63rlxn0m9koft5j4jxrfd0hf81v3q",
"https://nvd.nist.gov/vuln/detail/CVE-2026-78384"
],
"provider_metadata": {
"cna_assigner": "apache",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"introduced": "4.2.0"
},
{
"fixed": "4.2.4"
},
{
"introduced": "4.0.0"
},
{
"fixed": "4.1.9"
},
{
"fixed": "3.6.13"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/78xxx/CVE-2026-78384.json"
}
},
"related_cves": [
{
"value": "CVE-2026-78384",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 520010,
"published_at": "2026-10-09T10:18:00.617+00:00"
}