9.8critical
go-zserio has Unbounded Memory Allocation for All Platforms
- Severity
- 9.8critical CVSS:3.1 by GitHub
- Published
- Last changed
- Also known as
- GO-2026-5759
Description
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).
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| github.com/woven-planet/go-zserio (Go) | before 0.9.1 | GitHub Advisory Database, Go Vulnerability Database |
Classification
What each source says
GitHub Advisory Database
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).
Go Vulnerability Database
go-zserio has Unbounded Memory Allocation for All Platforms in github.com/woven-planet/go-zserio
References
Sources
| Source | Record | Licence |
|---|---|---|
| GitHub Advisory Database | GHSA-xhj4-g6w8-2xjw changed 2026-06-25 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2026-5759 changed 2026-06-25 | CC-BY-4.0 |