CVE-2023-54404Zod 4.6.5 Uncontrolled Resource Consumption via Array Validation
Updated under an hour ago ()
Does this affect you?
It affects colinhacks zod. Add what you run to find out whether that includes you.
EPSS puts the chance of exploitation in the next 30 days at 0.34%, higher than 25% of scored CVEs.
Do this next
Free account, 1 product
Zod schema-validation library through 4.6.5, fixed in commit e06a510, 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
- 7.5 HIGH (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weakness (CWE)
- CWE-770
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- 0.34% (percentile 25)
- Assigned by
- VulnCheck
- NVD analysis
- Awaiting Analysis
- Record last updated
- Oct 13, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
colinhacks zod colinhacks:zod (from the name) | through 4.6.5; e06a510b6fc1e6e28e3201fd116ca2a76212f6be not affected | CNA record |
References
- https://github.com/colinhacks/zod/issues/1872technical-description
- https://github.com/colinhacks/zod/pull/6475issue-tracking
- https://github.com/colinhacks/zod/pull/6652issue-tracking, patch
- https://www.vulncheck.com/advisories/zod-uncontrolled-resource-consumption-via-array-validationthird-party-advisory
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.