Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-mrhx-c7xc-m3w5

Опубликовано: 01 окт. 2026
Источник: github
Github: Прошло ревью
CVSS4: 8.2
CVSS3: 7.5

Описание

Zod can exhaust memory while validating oversized constrained collections

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.

Пакеты

Наименование

zod

npm
Затронутые версииВерсия исправления

< 4.6.6

4.6.6

8.2 High

CVSS4

7.5 High

CVSS3

Дефекты

CWE-770

Связанные уязвимости

nvd
около 2 месяцев назад

Rejected reason: This CVE ID has been rejected or withdrawn by its CVE Numbering Authority. The described memory use only grows in proportion to input already allocated by JSON.parse before Zod runs, is reachable only without an application request-size limit, and reflects expected validator behavior rather than a defect in Zod.

rocky
4 дня назад

Critical: cockpit-image-builder security update

8.2 High

CVSS4

7.5 High

CVSS3

Дефекты

CWE-770