Advisory

GHSA-xhj4-g6w8-2xjw

Also known as: GO-2026-5759

Summary

go-zserio has Unbounded Memory Allocation for All Platforms

Details

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

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2026-04-24 16:25 UTC
Modified
2026-06-25 23:11 UTC

Affected packages and fixes

github.com/woven-planet/go-zserio

Go · All systems

Affected

  • introduced 0, fixed 0.9.1 (semver)

Fixed versions

0.9.1

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences