Apache ZooKeeper: Denial of service through unbounded memory allocation in multiRead request handling
- State
- Published
- Severity
- 7.1 High
- Published
- Nov 4, 2026
- Updated
- Nov 4, 2026
- Reserved
- Sep 25, 2026
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.
| Product | Versions |
|---|---|
| Apache ZooKeeper Apache Software Foundation | 3.9.0 through 3.9.6 Affected3.8.0 through 3.8.7 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 7.1 High | apache |
Weaknesses
- CWE-770 Allocation of resources without limits or throttling
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.