Impact
The vulnerability resides in Zod’s handling of schema validation for containers. When a schema such as z.array() is declared without a size constraint, the parser accumulates a separate validation issue for every element that fails, without any cap or early termination. An attacker can exploit this by submitting an unbounded array, set, or map, causing the process to allocate an issue object per element and eventually crash due to out‑of‑memory conditions. This results in denial of service against the application.
Affected Systems
Based on the description, it is inferred that JavaScript and TypeScript projects importing the colinhacks Zod library are affected. Any usage of z.array(), z.set(), or z.map() without an explicit maximum bound is vulnerable, regardless of the library version, though the CVE data does not specify a particular version range.
Risk and Exploitability
The CVSS score of 8.2 classifies this as a high‑severity flaw. The EPSS score of < 1 % indicates a very low likelihood of exploitation in the wild, and the vulnerability is not listed in CISA KEV. Based on the description, it is inferred that the attack vector is sending oversized array‑like payloads to endpoints that perform Zod validation; no special privileges or authentication are required, making the flaw broadly exploitable for any unbounded schema.
OpenCVE Enrichment