{"id":"CVE-2023-4316","published":"2023-09-28T20:34:09Z","modified":"2025-12-03T20:17:51Z","title":"Zod 3.22.2 - Regular expression Denial of Service","vendor":"Zod","product":"Zod","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00925,"percentile":0.61317,"provenance":"source"},"cwes":[{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity"}],"references":[{"url":"https://fluidattacks.com/advisories/swift","tags":[]},{"url":"https://www.npmjs.com/package/zod","tags":[]}],"priority":{"score":17.5,"factors":[{"name":"EPSS percentile","points":12.26},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"zod","affectedVersions":[{"vendor":"Zod","product":"Zod","versions":[">= 3.21.0, <= 3.22.3"]}],"capec":[{"id":"CAPEC-492","name":"Regular Expression Exponential Blowup"}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2024-04-04T17:16:46.779146Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"zod","vulnerableRanges":["<3.22.3"],"patched":["3.22.3"],"from":["GHSA-m95q-7qp3-xv42"],"provenance":"source"}],"summary":{"text":"The Zod validation library, in versions 3.21.0 through 3.22.3, contains an inefficient regular expression used when validating email addresses. An unauthenticated remote attacker can send crafted input to an application that validates emails with Zod, causing a denial of service, with no user interaction or special configuration required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:43:03Z"},"euvd":{"id":"EUVD-2023-2547","exploited":false,"provenance":"source"}}