HIGH 7.1

CVE-2026-100302

Apache ZooKeeper: Denial of service through unbounded memory allocation in multiRead request handling

Preliminary: affected artifacts were declared by the CNA in the CVE record and have not been reviewed yet. They will be replaced by the reviewed advisory when it is published.

Description

Allocation of Resources Without Limits or Throttling in the multiRead request handler of Apache ZooKeeper allows a remote attacker to crash the server (denial of service) with a single small request.

The multiRead handler places no limit on the number of bundled read operations or on the cumulative size of the response it builds in memory. Because each operation's result is fully materialized and retained before serialization, a request that is small on the wire — within the jute.maxbuffer limit — but that references a large znode many times can force the server to allocate far more heap than the request size implies, exhausting the JVM heap and terminating the server with an OutOfMemoryError. Neither jute.maxbuffer nor largeRequestMaxBytes prevents this, as both bound only the inbound request, not the response.

This issue affects Apache ZooKeeper from 3.7.0 through 3.9.6. Users are recommended to upgrade to version 3.9.7, which enforces configurable limits on the multiRead operation count and cumulative response size.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.apache.zookeeper » zookeeperpreliminary
>= 3.8.0, <= 3.8.7>= 3.9.0, <= 3.9.6
-

Blast radius

1affected artifacts
137affected versions
3,223dependent artifacts (est.)
188,731dependent versions

74% of the dependent artifacts (2,401) still pull an affected version in their latest release.

DepthDependent versions
Direct
18,616
2 hops
50,944
3 hops
32,556
4 hops
50,497
5 hops
27,001
6 hops
9,117

Most used dependents

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.