CVE-2026-61657
HIGH 7.5CVSS 3.1zserio-runtime: Incomplete fix for GHSA-cwq5-8pvq-j65j — Array.read() bounds check skipped for variable-size element types (String, Object)
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.
- Published
- 2 Dec 2026
- Last modified
- 2 Dec 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Received
- Weakness
- CWE-789
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| CVE List | GitHub_M | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| CVE List | CISA-ADP | SSVC | Exploitation: none; Automatable: yes; Technical Impact: partial |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | ndsev | zserio | = < 2.18.2 |
References
- https://github.com/ndsev/zserio/releases/tag/v2.18.2 · x_refsource_MISC
- https://github.com/ndsev/zserio/security/advisories/GHSA-m257-f4fp-gr9f · x_refsource_CONFIRM
History
- 2 Dec 2026 19:36 UTC · NVD: updated (other details)
- 2 Dec 2026 19:08 UTC · CVE List: updated (other details)
- 2 Dec 2026 16:24 UTC · NVD: first stored (published 2 Dec 2026)
- 2 Dec 2026 15:37 UTC · CVE List: first stored (published 2 Dec 2026)