GHSA-xhj4-g6w8-2xjw: Github.com/woven planet/go zserio Go-zserio Has Unbounded Memory Allocation Vulnerability
CRITICALGHSA-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
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).
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.
Upgrade github.com/woven-planet/go-zserio to 0.9.1
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
GHSA-xhj4-g6w8-2xjw Affected Github.com/woven planet/go zserio Versions
1 component(s)| 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?
Which Github.com/woven planet/go zserio versions are affected?
What version fixes GHSA-xhj4-g6w8-2xjw?
Is github.com/woven-planet/go-zserio affected?
What is the CVSS score of GHSA-xhj4-g6w8-2xjw?
What CWE is associated with GHSA-xhj4-g6w8-2xjw?
How can I check Go dependencies for GHSA-xhj4-g6w8-2xjw?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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
}
}