CVE-2026-111073
Apache Kafka: PushTelemetry (KIP-714) metrics payloads are decompressed without a size limit, allowing a broker out-of-memory denial of service
Description
The broker-side PushTelemetry API (KIP-714) validates only the compressed size of a client's metrics payload against telemetry.max.bytes (default 1 MB) before decompressing it. ClientTelemetryUtils.decompress() then decompresses the payload with no limit on the decompressed output size, growing a heap buffer until the compressed input is exhausted. A small, highly compressible payload (for example gzip-compressed zeros) can therefore expand to hundreds of megabytes of broker heap.
Impact:
An authenticated client can send a PushTelemetry request with a small compressed payload that decompresses to a very large size, consuming broker heap out of proportion to the request size. Repeated or concurrent requests can exhaust the broker heap and cause an OutOfMemoryError, degrading or crashing the broker; a client that targets multiple brokers can affect cluster availability. PushTelemetry is available to any authenticated client and is not gated by an ACL.
Mitigation:
Upgrade to Apache Kafka 4.2.2, 4.3.1, or 4.4.0. On affected versions there is no configuration that fully prevents the amplification, because telemetry.max.bytes bounds only the compressed size; lowering telemetry.max.bytes reduces the worst-case decompressed size proportionally and is a partial mitigation.
Resolution:
- From Apache Kafka 4.2.2, 4.3.1, and 4.4.0: ClientTelemetryUtils.decompress() enforces a maximum decompressed size equal to telemetry.max.bytes (default 1 MB). Decompression reads in bounded chunks and aborts with a TelemetryTooLargeException once the decompressed total exceeds the limit, so an over-large or highly compressible payload is rejected instead of being fully expanded in heap. The decompressed size is therefore bounded by default.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.kafka » kafkapreliminary | >= 3.7.0, <= 4.1.2>= 4.2.0, <= 4.2.1= 4.3.0 | - |
Blast radius
62% of the dependent artifacts (140) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 1,691 |
| 2 hops | 1,487 |
| 3 hops | 1,121 |
| 4 hops | 258 |
| 5 hops | 15 |
| 6 hops | 5 |
Most used dependents
- org.springframework.kafka » spring-kafka-test289 usages
- io.github.embeddedkafka » embedded-kafka74 usages
- com.smartbear » ready-api-soapui-pro42 usages
- ch.admin.bit.jeap » jeap-messaging-infrastructure-kafka-test27 usages
- com.rarible.core » rarible-core-test-common25 usages
- org.apache.atlas » atlas-notification24 usages
- com.smartbear » loadui-api20 usages
- com.smartbear » loadui-utils15 usages
- com.smartbear » loadui-base14 usages
- com.smartbear » ready-api-service-v13 usages
- org.springframework.boot » spring-boot-starter-kafka-test13 usages
- org.apache.kafka » kafka-test-common-runtime13 usages
- io.kroxylicious.testing » testing-junit5-extension10 usages
- org.eclipse.ecsp » api-common10 usages
- org.citrusframework » citrus-kafka9 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.
