GHSA-xhj4-g6w8-2xjw: Github.com/woven planet/go zserio Go-zserio Has Unbounded Memory Allocation Vulnerability

CRITICAL
CVSS 9.8
CWE-789
Published
Advisory Summary

GHSA-xhj4-g6w8-2xjw is a CRITICAL (CVSS 9.8) go-zserio has unbounded memory allocation vulnerability (CWE-789: Memory Allocation with Excessive Size Value) affecting Github.com/woven planet/go zserio libraries in the Go ecosystem. The issue involves go-zserio has unbounded memory allocation for all platforms. Remediation is available by upgrading affected packages to version 0.9.1.

GHSA-xhj4-g6w8-2xjw at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-xhj4-g6w8-2xjw
Severity CRITICAL
CVSS v3.1 Base Score 9.8
CWE Classification CWE-789: Memory Allocation with Excessive Size Value
Affected Product Github.com/woven planet/go zserio
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 9.8

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix GHSA-xhj4-g6w8-2xjw

To remediate this vulnerability, upgrade all affected Github.com/woven planet/go zserio dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/woven-planet/go-zserio fixed: 0.9.1
Upgrade github.com/woven-planet/go-zserio to 0.9.1
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/woven-planet/go-zserio

How to Check if You Are Affected

To determine whether your application is affected by GHSA-xhj4-g6w8-2xjw, inspect your project dependencies for Github.com/woven planet/go zserio:

inspect dependencies for github.com/woven-planet/go-zserio

Analyze the terminal output to locate any version of Github.com/woven planet/go zserio in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.9.1), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-789: Memory Allocation with Excessive Size Value, where the product allocates memory based on an untrusted, large size value, but it does not ensure that the size is within expected limits, allowing arbitrary amounts of memory to be allocated. In Github.com/woven planet/go zserio, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### 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](https://github.com/woven-by-toyota/go-zserio/commit/39ef1decde7e9766207794d396018776b33c6e45). ### Workarounds - Do not accept zserio data from non-trusted sources. - Use secure transportation protocols (like TLS).

GHSA-xhj4-g6w8-2xjw Affected Github.com/woven planet/go zserio Versions

1 component(s)
Fixed Versions:
0.9.1
Product / Package Ecosystem Affected Versions Fixed Version
github.com/woven-planet/go-zserio
Go
< 0.9.1
0.9.1

References

Frequently Asked Questions

What is GHSA-xhj4-g6w8-2xjw?
GHSA-xhj4-g6w8-2xjw is a security vulnerability in Github.com/woven planet/go zserio involving go-zserio has Unbounded Memory Allocation for All Platforms under CWE-789: Memory Allocation with Excessive Size Value.
Which Github.com/woven planet/go zserio versions are affected?
Affected versions include releases prior to 0.9.1 across affected packages: github.com/woven-planet/go-zserio.
What version fixes GHSA-xhj4-g6w8-2xjw?
Upgrading to 0.9.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/woven-planet/go-zserio affected?
Yes, github.com/woven-planet/go-zserio is affected in releases prior to 0.9.1. Upgrade your dependency to 0.9.1 or later.
What is the CVSS score of GHSA-xhj4-g6w8-2xjw?
GHSA-xhj4-g6w8-2xjw has a CVSS v3.1 base score of 9.8 (CRITICAL) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with GHSA-xhj4-g6w8-2xjw?
GHSA-xhj4-g6w8-2xjw is classified under CWE-789: Memory Allocation with Excessive Size Value (The product allocates memory based on an untrusted, large size value, but it does not ensure that the size is within expected limits, allowing arbitrary amounts of memory to be allocated.).
How can I check Go dependencies for GHSA-xhj4-g6w8-2xjw?
Run the dependency tree command: 'inspect dependencies for github.com/woven-planet/go-zserio'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-xhj4-g6w8-2xjw",
  "modified" : "2026-04-24T16:25:54Z",
  "published" : "2026-04-24T16:25:54Z",
  "aliases" : [ ],
  "summary" : "go-zserio has Unbounded Memory Allocation for All Platforms",
  "details" : "### Impact\n\nWhen 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.\n\n### Patches\n\nPlease apply [this commit](https://github.com/woven-by-toyota/go-zserio/commit/39ef1decde7e9766207794d396018776b33c6e45).\n\n### Workarounds\n\n- Do not accept zserio data from non-trusted sources.\n- Use secure transportation protocols (like TLS).",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/woven-planet/go-zserio"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.9.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/woven-by-toyota/go-zserio/security/advisories/GHSA-xhj4-g6w8-2xjw"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/woven-by-toyota/go-zserio/commit/39ef1decde7e9766207794d396018776b33c6e45"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/woven-by-toyota/go-zserio"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-789" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-04-24T16:25:54Z",
    "nvd_published_at" : null
  }
}