HIGHVulnerability
Verified
Global

NVD HIGH: CVE-2023-54404 — Zod schema-validation library through 4.6.5 contains an uncontrolled resource co...

·Source: NIST NVD

Updated:

Executive Summary

Zod schema-validation library through 4.6.5 contains an uncontrolled resource consumption vulnerability that allows attackers to exhaust memory by submitting a large array to an application using an array schema without a length constraint. Attackers can exploit the handleArrayResult parse logic in $ZodArray, which accumulates every validation issue for each failing element with no cap or early te

Analysis

Zod schema-validation library through 4.6.5 contains an uncontrolled resource consumption vulnerability that allows attackers to exhaust memory by submitting a large array to an application using an array schema without a length constraint. Attackers can exploit the handleArrayResult parse logic in $ZodArray, which accumulates every validation issue for each failing element with no cap or early termination, causing the process to allocate excessive issue objects and crash due to out-of-memory conditions. CVSS Score: 7.5. Published: 2026-10-01T18:17:11.040.

Indicators of Compromise (1)

CVE (1)
CVE-2023-54404
Source Attribution

Originally published by NIST NVD on Oct 1, 2026. Verified by: NIST.

Related Threats