npm package report

Is zod safe?

2 known vulnerabilities, worst severity HIGH.

// reach

4 direct dependencies

1 carry known advisories, worst HIGH

1,650 packages depend on it

an advisory here reaches each of them

Create a free accountfor every dependency path, dependent and what to upgrade
// ai model usage

Tracked for PyPI packages. HuggingFace models declare Python dependencies, so npm packages are not covered.


cvss
7.5
high

CVSS v3.1 base score out of 10

epss
0.35%
low

chance of exploitation in 30 days, 28th percentile of all CVEs

xyz score
5.1
medium

CyberXYZ composite out of 10

fig. 01 — GHSA-mrhx-c7xc-m3w5, the advisory selected below

// 2 advisories

GHSA-mrhx-c7xc-m3w5

HIGHGitHub ratingCVE-2023-54404

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.

// cvss v3.1 vector

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

Checked 2026-11-07 at 13:26 UTC. The most recent advisory here was published 2026-10-01. Updated continuously from NVD, GHSA, OSV and CNA feeds.

Think a verdict here is wrong? Tell us — we respond within 2 business days.