CVE-2026-78384
Apache CXF: Unbounded DEFLATE Decompression in CXF JOSE/JWE and SAML Processing (Decompression Bomb)
Description
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.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.cxf » cxf-corepreliminary | < 3.6.13>= 4.0.0, < 4.1.9>= 4.2.0, < 4.2.4 | 3.6.13, 4.1.9, 4.2.4 |
Blast radius
66% of the dependent artifacts (4,930) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 83,670 |
| 2 hops | 124,650 |
| 3 hops | 139,033 |
| 4 hops | 64,548 |
| 5 hops | 35,913 |
| 6 hops | 30,149 |
Most used dependents
- org.apache.kafka » kafka1,450 usages
- org.apache.cxf » cxf-rt-frontend-jaxws1,379 usages
- org.apache.cxf » cxf-rt-transports-http1,281 usages
- org.apache.cxf » cxf-rt-frontend-jaxrs1,257 usages
- org.apache.cxf » cxf-codegen-plugin811 usages
- io.fabric8 » fabric8-maven-plugin676 usages
- org.apache.camel.kafkaconnector » camel-kafka-connector616 usages
- org.apache.camel.springboot » camel-core-starter558 usages
- org.apache.cxf » cxf-rt-rs-client515 usages
- org.apache.cxf » cxf-rt-transports-http-jetty513 usages
- org.apache.tika » tika-parsers480 usages
- org.apache.cxf » cxf-rt-ws-security478 usages
- org.apache.camel.springboot » camel-spring-boot-starter478 usages
- org.xwiki.platform » xwiki-platform-oldcore449 usages
- org.wildfly » wildfly-feature-pack372 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | CVE record CVE-2026-78384 | github.com |
| Advisory | thread.html/xoh63rlxn0m9koft5j4jxrfd0hf81v3q | lists.apache.org |
| Advisory | NVD CVE-2026-78384 | nvd.nist.gov |
| Web | lists/oss-security/2026/10/09/6 | openwall.com |
| Web | maven2 | repo.maven.apache.org |
