# CVE-2023-4316: Zod 3.22.2 - Regular expression Denial of Service

- Severity: High 7.5 (CVSS:3.1, scored by Fluid Attacks) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.93%, higher than 59% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-09-28T20:34:09.161Z
- Modified: 2026-06-17T06:37:33.450Z
- Also known as: GHSA-m95q-7qp3-xv42
- Weaknesses: CWE-1333
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: Fluid Attacks

## Description

Zod in versions 3.21.0 up to and including 3.22.3 allows an attacker to perform a denial of service while validating emails.

(As written by CVE List.)

## Affected

- zod: from 3.21.0 up to 3.22.3
- zod (npm): before 3.22.3
- zod zod: 3.22.2

## Every score

- Fluid Attacks: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://fluidattacks.com/advisories/swift> (exploit, third-party-advisory, web)
- <https://www.npmjs.com/package/zod> (product, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-4316> (advisory)
- <https://github.com/colinhacks/zod/issues/2609> (web)
- <https://github.com/colinhacks/zod/pull/2824> (web)
- <https://github.com/colinhacks/zod/commit/2ba00fe2377f4d53947a84b8cdb314a63bbd6dd4> (web)
- <https://github.com/colinhacks/zod> (package)
- <https://github.com/colinhacks/zod/releases/tag/v3.22.3> (web)

## Sources

- CVE List: [CVE-2023-4316](https://www.cve.org/CVERecord?id=CVE-2023-4316), CVE Terms of Use, modified 2025-12-03
- GitHub Advisory Database: [GHSA-m95q-7qp3-xv42](https://github.com/advisories/GHSA-m95q-7qp3-xv42), CC-BY-4.0, modified 2024-09-06
- NVD: [CVE-2023-4316](https://nvd.nist.gov/vuln/detail/CVE-2023-4316), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-4316 · Whole record: https://cve.day/CVE-2023-4316.json · Rebuilt by cve.day 2026-11-25T22:58:28.262Z
