Heap exhaustion via unbounded simple string or bulk string allocation in Vert.x Redis client
- State
- Published
- Severity
- 5.9 Medium
- Published
- Nov 3, 2026
- Updated
- Nov 3, 2026
- Reserved
- Oct 28, 2026
Description
In Eclipse Vert.x versions [4.0.0, 4.5.35] or [5.0.0, 5.2.2], when a malicious server keeps sending bytes on an EOL-terminated line (not length-prefixed, for example a simple string [1]), we'll keep growing the buffer without bounds, eventually leading to an OOM. We need to have a configurable limit for EOL-terminated lines.
If a malicious server sends a specially crafted RESP response (for example a bulk string [2] with missing CRLF trailer), the parser enters an infinite loop where it keeps parsing the same buffer and pushing the same response to the caller, which may lead e.g. to an OOM if the consumer just buffers the responses. We must fix the parser to avoid this infinite looping.
| Product | Versions |
|---|---|
| Eclipse Vert.x Eclipse Foundation | 4.0.0 through 4.5.35 Affected5.0.0 through 5.2.2 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 3.1 | 5.9 Medium | eclipse |
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.