{"id":"CVE-2023-4316","aliases":["CLSA-2026-1782867616","EUVD-2023-2547","GHSA-m95q-7qp3-xv42"],"status":"published","title":"Zod 3.22.2 - Regular expression Denial of Service","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.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.00925,"percentile":0.60759,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-1333"],"published":"2023-09-28T20:34:09Z","modified":"2026-10-28T02:30:38Z","fixes":[{"ecosystem":"npm","package":"zod","fixed_in":["3.22.3"],"sources":["ghsa","osv"]},{"ecosystem":"TuxCare:npm","package":"zod","fixed_in":["3.21.4-tuxcare.1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"zod","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"3.22.2"},{"fixed":"3.22.3"}]}]},{"source":"osv","ecosystem":"TuxCare:npm","package":"zod","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.21.4-tuxcare.0"},{"fixed":"3.21.4-tuxcare.1"}]}],"versions":["3.21.4"]},{"source":"osv","ecosystem":"npm","package":"zod","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"3.22.3"}]}]}],"products":[{"vendor":"colinhacks","product":"zod"},{"vendor":"zod","product":"zod"}],"references":[{"url":"https://fluidattacks.com/advisories/swift","tags":["x_transferred","Exploit","Third Party Advisory","advisory","web"]},{"url":"https://www.npmjs.com/package/zod","tags":["x_transferred","Product","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-4316","tags":["advisory"]},{"url":"https://github.com/colinhacks/zod/issues/2609","tags":["web"]},{"url":"https://github.com/colinhacks/zod/pull/2824","tags":["web"]},{"url":"https://github.com/colinhacks/zod/commit/2ba00fe2377f4d53947a84b8cdb314a63bbd6dd4","tags":["web"]},{"url":"https://github.com/colinhacks/zod/releases/tag/v3.22.3","tags":["web"]},{"url":"https://github.com/advisories/GHSA-m95q-7qp3-xv42"},{"url":"https://registry.npmjs.org","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/4xxx/CVE-2023-4316.json","tags":["advisory"]},{"url":"https://github.com/colinhacks/zod","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2023-4316","title":"Zod 3.22.2 - Regular expression Denial of Service","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.","status":"published","published":"2023-09-28T20:34:09.161Z","modified":"2025-12-03T20:17:51.613Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"cna"}],"cwes":["CWE-1333"],"updated_at":"2026-11-02T14:35:30.474787Z"}],"euvd":[{"id":"EUVD-2023-2547","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.","status":"published","published":"2023-09-28T20:34:09Z","modified":"2025-12-03T20:17:51Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T19:49:10.321316Z"}],"ghsa":[{"id":"GHSA-m95q-7qp3-xv42","title":"Zod denial of service vulnerability","description":"Zod version 3.22.2 allows an attacker to perform a denial of service while validating emails.","status":"published","published":"2023-09-28T21:30:58Z","modified":"2024-09-06T19:11:38Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium"}],"cwes":["CWE-1333"],"updated_at":"2026-11-02T14:38:01.080229Z"}],"nvd":[{"id":"CVE-2023-4316","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.","status":"published","published":"2023-09-28T21:15:10.313Z","modified":"2026-06-17T06:37:33.45Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"secondary"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary"}],"cwes":["CWE-1333"],"updated_at":"2026-11-02T14:08:31.699785Z"}],"osv":[{"id":"CVE-2023-4316","title":"Zod 3.22.2 - Regular expression Denial of Service","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.","status":"published","published":"2023-09-28T20:34:09.161Z","modified":"2026-10-28T02:30:38.314794964Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-1333"],"updated_at":"2026-11-02T15:44:33.792101Z"},{"id":"GHSA-m95q-7qp3-xv42","title":"Zod denial of service vulnerability","description":"Zod version 3.22.2 allows an attacker to perform a denial of service while validating emails.","status":"published","published":"2023-09-28T21:30:58Z","modified":"2024-09-06T19:11:37Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium"}],"cwes":["CWE-1333"],"updated_at":"2026-11-02T15:46:51.463834Z"},{"id":"CLSA-2026-1782867616","title":"TuxCare security update for zod (1 CVE)","description":"TuxCare rebuilt zod to address 1 CVE. Fixed in 3.21.4-tuxcare.1.","status":"published","published":"2026-08-04T14:52:40Z","modified":"2026-10-15T09:47:51.550177302Z","updated_at":"2026-11-02T15:43:45.794021Z"}]}}
