GO-2026-5759
CRITICAL 9.8CVSS 3.1go-zserio has Unbounded Memory Allocation for All Platforms
Impact
When deserializing arrays, strings or bytes (blob) types zserio first reads the size of the variable, and then allocates sufficient memory to load data. Since the size is always trusted this can be abused by creating a data file with a large size value, causing the zserio runtime to allocate large amounts of memory.
Patches
Please apply this commit.
Workarounds
- Do not accept zserio data from non-trusted sources.
- Use secure transportation protocols (like TLS).
- Published
- 24 Apr 2026
- Last modified
- 25 Jun 2026
- Weakness
- CWE-789
- Also known as
- GHSA-xhj4-g6w8-2xjw
- Sources
- OSV GHSA-xhj4-g6w8-2xjwJSONOSVJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/woven-planet/go-zserio | < 0.9.1 | 0.9.1 |
References
- https://github.com/woven-by-toyota/go-zserio/security/advisories/GHSA-xhj4-g6w8-2xjw · WEB, ADVISORY
- https://github.com/woven-by-toyota/go-zserio/commit/39ef1decde7e9766207794d396018776b33c6e45 · WEB
- https://github.com/woven-by-toyota/go-zserio · PACKAGE
History
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Jun 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 24 Apr 2026)