Allocation of Resources Without Limits or Throttling The advisory has been revoked - it doesn't affect any version of package zod  (opens in a new tab)


Threat Intelligence

EPSS
0.35% (28th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Allocation of Resources Without Limits or Throttling vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-ZOD-20510278
  • published5 Oct 2026
  • disclosed1 Oct 2026
  • creditUnknown

Introduced: 1 Oct 2026

CVE-2023-54404  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade zod to version 4.6.6 or higher.

Amendment

This was deemed not a vulnerability.

Overview

zod is a TypeScript-first schema declaration and validation library with static type inference

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling via the handleArrayResult parse logic in $ZodArray, which accumulates every validation issue for each failing element in a large array with no cap or early termination. An attacker can submit a large array to an application using an array schema without a length constraint, causing the process to allocate excessive issue objects and crash due to out-of-memory conditions. Note: CVE-2023-54404 was rejected by the CVE List.