๐Ÿ” CVE Alert

CVE-2023-54404

HIGH 7.5

Zod 4.6.5 Uncontrolled Resource Consumption via Array Validation

CVSS Score
7.5
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-770
Vendor colinhacks
Product zod
Published Oct 1, 2026
Last Updated Oct 1, 2026
Stay Ahead of the Next One

Get instant alerts for colinhacks zod

Be the first to know when new high vulnerabilities affecting colinhacks zod are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

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

Affected Versions

colinhacks / zod
0 โ‰ค 4.6.5

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/colinhacks/zod/issues/1872 github.com: https://github.com/colinhacks/zod/pull/6475 vulncheck.com: https://www.vulncheck.com/advisories/zod-uncontrolled-resource-consumption-via-array-validation

Credits

Axel Habermaier (axel-habermaier) Alessio Della Libera