Zserio is a framework for serializing structured data with a compact and efficient way with low overhead. The fix for GHSA-cwq5-8pvq-j65j shipped in zserio-runtime 2.18.1 is incomplete. Prior to version 2.18.2, the new bounds check in Array.read() is gated on arrayTraits.isBitSizeOfConstant(), which returns false for variable-size element types including strings and complex structs. For those types the check is never reached, rawArray.reset(readSize) executes unconditionally with an attacker-controlled value, and a 5-byte payload declaring Integer.MAX_VALUE elements causes an attempted ~16 GB heap allocation that crashes any process parsing untrusted zserio data — with no authentication required. This issue has been patched in version 2.18.2.
References
Configurations
No configuration.
History
02 Dec 2026, 16:17
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-12-02 16:17
Updated : 2026-12-02 19:18
NVD link : CVE-2026-61657
Mitre link : CVE-2026-61657
CVE.ORG link : CVE-2026-61657
JSON object : View
Products Affected
No product.
CWE
CWE-789
Memory Allocation with Excessive Size Value
