zod

TypeScript-first schema declaration and validation library with static type inference

4.6.7Latest, 12 Oct 2026
2BDownloads, last month
0Advisories on the latest
2Advisories, all versions
MITLicence
44KStars
5.1/10OpenSSF Scorecard

Known advisories

Severity Advisory Fix Published
High Zod can exhaust memory while validating oversized constrained collections CVE-2023-54404 Fixed in 4.6.6 1 Oct 2026
Moderate Zod denial of service vulnerability CVE-2023-4316 Fixed in 3.22.3 28 Sep 2023

In the news

On Hacker News

Sources: npm, deps.dev (CC BY 4.0), OSV. Last checked 4 Dec 2026.