Feed
7.5HIGH
CVE-2023-54404Zod can exhaust memory while validating oversized constrained collections
NVD rejected this CVE id, but another source still lists the vulnerability.
A high-severity vulnerability reachable over the network, needing no privileges and no user interaction. A fixed version is named.
- Exploited in the wild
- Not in KEV
- EPSS
- –
- not in our data
- Fix
- Named by a source
- CVE published 1 Oct 2026
Reference
None of the "Needs attention" rules apply right now.
No EPSS score: unknown (+10) · Network attack vector (+10) · No privileges required (+5) · No user interaction (+5)
Immediate actions
Who should check
zod (npm) pkg:npm/zod
- Affected< 4.6.6Fixed in4.6.6OSV (GHSA-mrhx-c7xc-m3w5)
Confirmed facts
- CVSS
- 7.5 HIGH (version 3.1)
- Score from
- GitHub Advisory Database (GHSA-mrhx-c7xc-m3w5)
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- none
- Weakness
- CWE-770
- Assigned by
- [email protected]
Unknowns
- We show one CVSS score. Other sources may score this CVE differently.
- No EPSS score in our data.
Advisory text
Quoted from the source advisory (untrusted)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.
Update history
- 1 Oct 2026Published
References
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2023-54404
- otherhttps://github.com/colinhacks/zod/issues/1872
- commit / pull requesthttps://github.com/colinhacks/zod/pull/6475
- commit / pull requesthttps://github.com/colinhacks/zod/pull/6652
- commit / pull requesthttps://github.com/colinhacks/zod/commit/a0ebf970f2d752e5f58527cd2942ff48be4f46bd
- otherhttps://github.com/colinhacks/zod
- otherhttps://www.vulncheck.com/advisories/zod-uncontrolled-resource-consumption-via-array-validation
Sources
- CVE-2023-54404 (CVE List (CNA and CISA ADP data, through the NVD API)), CVE terms of use. Copyright The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation.
- NVD API 2.0 (NIST), the API we query, NVD API terms of use. This product uses the NVD API but is not endorsed or certified by the NVD.
- GHSA-mrhx-c7xc-m3w5 (GitHub Advisory Database), CC BY 4.0.
- OSV.dev, Per database.
This page is our own presentation: records are shortened, normalised and merged. Licences
Last checked: kev 47 min ago · osv 47 min ago · nvd 47 min ago · epss 46 min ago · JSON · ask via MCP: explain_vulnerability
Also known as GHSA-mrhx-c7xc-m3w5