go-zserio has Unbounded Memory Allocation for All Platforms
Critical severity
GitHub Reviewed
Published
Apr 20, 2026
in
woven-by-toyota/go-zserio
•
Updated Apr 24, 2026
Package
Affected versions
< 0.9.1
Patched versions
0.9.1
Description
Published to the GitHub Advisory Database
Apr 24, 2026
Reviewed
Apr 24, 2026
Last updated
Apr 24, 2026
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
References