---
title: "CVE-2023-54404: Zod - Uncontrolled Resource Consumption"
description: "Zod schema-validation library through 4.6.5 contains an uncontrolled resource consumption vulnerability caused by unbounded array validation in $ZodArray, letting attackers exhaust memory by submitting large arrays, exploit requires no length constraint on array schema."
url: https://panop.io/threat-heartbeat/CVE-2023-54404/
---

# CVE-2023-54404 Zod - Uncontrolled Resource Consumption

Zod schema-validation library through 4.6.5 contains an uncontrolled resource consumption vulnerability caused by unbounded array validation in $ZodArray, letting attackers exhaust memory by submitting large arrays, exploit requires no length constraint on array schema.

CVSS base score 7.5 /10

High

CISA KEV

Not listed

Public exploit

None known

Authentication

Not required

EPSS

0.35% chance of exploitation in 30 days

[View the NVD record ↗](https://nvd.nist.gov/vuln/detail/CVE-2023-54404)

## Details

Type

Uncontrolled Resource Consumption

Impact

Denial Of Service

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Published

1 October 2026

Updated

15 October 2026

Weakness

[CWE-770](https://cwe.mitre.org/data/definitions/770.html)

## Vendor fix

Update to a version later than 4.6.5 or apply patches that add length constraints to array schemas.

Patching closes this CVE. It does not tell you which of your systems run the affected version, or what else is exposed alongside them.

## References

- [https://nvd.nist.gov/vuln/detail/CVE-2023-54404](https://nvd.nist.gov/vuln/detail/CVE-2023-54404)
- [https://github.com/colinhacks/zod/pull/6652](https://github.com/colinhacks/zod/pull/6652)
- [https://github.com/colinhacks/zod/issues/1872](https://github.com/colinhacks/zod/issues/1872)
- [https://github.com/colinhacks/zod/pull/6475](https://github.com/colinhacks/zod/pull/6475)
- [https://www.vulncheck.com/advisories/zod-uncontrolled-resource-consumption-via-array-validation](https://www.vulncheck.com/advisories/zod-uncontrolled-resource-consumption-via-array-validation)

[← All CVEs](https://panop.io/threat-heartbeat/)

## What this record can't tell you

- Whether you run the affected software, and where
- Whether an attacker can actually reach and exploit it
- The misconfigurations that never get a CVE number
- What it would cost the business, ranked into what to fix first

Panop answers these inside your environment, for this CVE and every other finding.

[Book a demo](https://panop.io/demo)
