CVE-2026-61657: zserio-runtime: Incomplete fix for GHSA-cwq5-8pvq-j65j — Array.read() bounds check skipped for variable-size element types (String, Object)

Published Dec 2, 2026
·
Updated

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.MAXVALUE 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.

Affected Software

1 affected component
Zserio zserio-runtime<2.18.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade zserio-runtime to a version that resolves this vulnerability.

    Fixed in 2.18.2

Event History

Dec 2, 2026
CVE Published
via MITRE·03:17 PM
Data Sourced
via MITRE·03:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which applications are exposed to this issue?

Any process that parses untrusted zserio data using zserio-runtime versions before 2.18.2 is exposed when it reads arrays whose elements have variable size, including strings and complex structs. No authentication is required for exploitation.

2

What does an attacker need to send to trigger the denial of service?

An attacker needs to provide crafted zserio data containing a variable-size-element array with an attacker-controlled declared element count. A 5-byte payload declaring Integer.MAX_VALUE elements can cause an attempted heap allocation of roughly 16 GB and crash the parsing process.

3

Are fixed-size arrays affected in the same way?

The described bypass applies to variable-size element types because the bounds check is gated on arrayTraits.isBitSizeOfConstant(), which returns false for strings and complex structs. For those types, rawArray.reset(readSize) executes with the attacker-controlled size.

4

What version fixes the issue?

Upgrade zserio-runtime to version 2.18.2. The earlier 2.18.1 fix for GHSA-cwq5-8pvq-j65j is incomplete for variable-size array elements.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203