{"id":"CVE-2022-3602","published":"2022-11-01T00:00:00Z","modified":"2026-04-14T08:58:02Z","title":"X.509 Email Address 4-byte Buffer Overflow","vendor":"OpenSSL","product":"OpenSSL","tier":"core","eol":null,"affectedVersions":[{"vendor":"OpenSSL","product":"OpenSSL","versions":["Fixed in OpenSSL 3.0.7 (Affected 3.0.0,3.0.1,3.0.2,3.0.3,3.0.4,3.0.5,3.0.6)"]}],"description":{"text":"A buffer overrun can be triggered in X.509 certificate verification, specifically in name constraint checking. Note that this occurs after certificate chain signature verification and requires either a CA to have signed the malicious certificate or for the application to continue certificate verification despite failure to construct a path to a trusted issuer. An attacker can craft a malicious email address to overflow four attacker-controlled bytes on the stack. This buffer overflow could result in a crash (causing a denial of service) or potentially remote code execution. Many platforms implement stack overflow protections which would mitigate against the risk of remote code execution. The risk may be further mitigated based on stack layout for any given platform/compiler. Pre-announcements of CVE-2022-3602 described this issue as CRITICAL. Further analysis based on some of the mitigating factors described above have led this to be downgraded to HIGH. Users are still encouraged to upgrade to a new version as soon as possible. In a TLS client, this can be triggered by connecting to a malicious server. In a TLS server, this can be triggered if the server requests client authentication and a malicious client connects. Fixed in OpenSSL 3.0.7 (Affected 3.0.0,3.0.1,3.0.2,3.0.3,3.0.4,3.0.5,3.0.6).","provenance":"source","from":"CVE.org"},"summary":{"text":"The flaw is a buffer overrun in OpenSSL's X.509 certificate verification, specifically in name constraint checking, which lets an attacker overflow four attacker-controlled bytes on the stack using a crafted email address. An attacker can trigger it remotely by connecting a TLS client to a malicious server, or by having a malicious client connect to a TLS server that requests client authentication, and exploitation requires that a CA signed the malicious certificate or that the application continues verification after failing to build a path to a trusted issuer.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T07:11:44Z"},"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":"CISA ADP Vulnrichment"},"epss":{"score":0.9077,"percentile":0.99804,"date":"2026-10-29","provenance":"source"},"kev":null,"vulncheckKev":null,"exploited":false,"otx":{"pulseCount":50,"pulses":[{"name":"Zeus | Bleeding Life | Threat Graph","url":"https://otx.alienvault.com/pulse/6a5f77dd58636301950715e5","created":"2026-07-21"},{"name":"ripe.arin.enom.cpanel.cpcalendar.iana.networksolutions.02050.webdisk.webmail.","url":"https://otx.alienvault.com/pulse/69fdc02bea1e4ec923b01688","created":"2026-05-08"},{"name":"APT29","url":"https://otx.alienvault.com/pulse/69f46a108000bd36fe90d5be","created":"2026-05-01"},{"name":"(I Cloned Title & Pulse) WHO EVERYONE HAS BEEN LOOKING FOR  [Pulse of  IoC's Curated  by user Streaming Ex]","url":"https://otx.alienvault.com/pulse/669f882c5109175fe742fe58","created":"2024-07-23"},{"name":"Elgoogle","url":"https://otx.alienvault.com/pulse/66480cb1cc174fd804e0cef9","created":"2024-05-18"},{"name":"ACTUALIZACION | Oracle Critical Patch Update Advisory - January 2024","url":"https://otx.alienvault.com/pulse/65c0fd55c5d3c780a06aa227","created":"2024-02-05"},{"name":"Home Networks","url":"https://otx.alienvault.com/pulse/6570a756ee3c8ce2314e235a","created":"2023-12-06"},{"name":"WHO SAV.COM LLC (SOURCEADULT.COM)","url":"https://otx.alienvault.com/pulse/65709f0bbdd32cb4b343a12f","created":"2023-12-06"},{"name":"WHO SAV.COM LLC (SOURCEADULT.COM)","url":"https://otx.alienvault.com/pulse/65709eee2f74978bd15d60a9","created":"2023-12-06"},{"name":"WHO SAV.COM LLC (SOURCEADULT.COM)","url":"https://otx.alienvault.com/pulse/65709ed8415c89746a234d89","created":"2023-12-06"}],"provenance":"machine"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"}],"references":[{"url":"https://www.openssl.org/news/secadv/20221101.txt","tags":[]},{"url":"https://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=fe3b639dc19b325846f4f6801f2f4604f56e3de3","tags":[]},{"url":"http://www.openwall.com/lists/oss-security/2022/11/01/15","tags":["mailing-list"]},{"url":"http://www.openwall.com/lists/oss-security/2022/11/01/16","tags":["mailing-list"]},{"url":"https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-openssl-W9sdCc2a","tags":["vendor-advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2022/11/01/21","tags":["mailing-list"]},{"url":"http://www.openwall.com/lists/oss-security/2022/11/01/19","tags":["mailing-list"]},{"url":"http://www.openwall.com/lists/oss-security/2022/11/01/18","tags":["mailing-list"]},{"url":"http://www.openwall.com/lists/oss-security/2022/11/01/20","tags":["mailing-list"]},{"url":"http://www.openwall.com/lists/oss-security/2022/11/01/24","tags":["mailing-list"]},{"url":"http://www.openwall.com/lists/oss-security/2022/11/01/17","tags":["mailing-list"]},{"url":"https://security.gentoo.org/glsa/202211-01","tags":["vendor-advisory"]},{"url":"https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2022-0023","tags":[]},{"url":"https://www.kb.cert.org/vuls/id/794340","tags":["third-party-advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DWP23EZYOBDJQP7HP4YU7W2ABU2YDITS/","tags":["vendor-advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/63YRPWPUSX3MBHNPIEJZDKQT6YA7UF6S/","tags":["vendor-advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2022/11/02/2","tags":["mailing-list"]},{"url":"http://www.openwall.com/lists/oss-security/2022/11/02/6","tags":["mailing-list"]},{"url":"http://www.openwall.com/lists/oss-security/2022/11/02/5","tags":["mailing-list"]},{"url":"http://www.openwall.com/lists/oss-security/2022/11/02/1","tags":["mailing-list"]},{"url":"http://www.openwall.com/lists/oss-security/2022/11/02/3","tags":["mailing-list"]},{"url":"http://www.openwall.com/lists/oss-security/2022/11/02/7","tags":["mailing-list"]},{"url":"http://www.openwall.com/lists/oss-security/2022/11/02/10","tags":["mailing-list"]},{"url":"http://www.openwall.com/lists/oss-security/2022/11/02/9","tags":["mailing-list"]},{"url":"http://packetstormsecurity.com/files/169687/OpenSSL-Security-Advisory-20221101.html","tags":[]},{"url":"http://www.openwall.com/lists/oss-security/2022/11/02/12","tags":["mailing-list"]},{"url":"http://www.openwall.com/lists/oss-security/2022/11/02/11","tags":["mailing-list"]},{"url":"http://www.openwall.com/lists/oss-security/2022/11/02/15","tags":["mailing-list"]},{"url":"http://www.openwall.com/lists/oss-security/2022/11/02/14","tags":["mailing-list"]},{"url":"http://www.openwall.com/lists/oss-security/2022/11/02/13","tags":["mailing-list"]},{"url":"https://security.netapp.com/advisory/ntap-20221102-0001/","tags":[]},{"url":"http://www.openwall.com/lists/oss-security/2022/11/03/1","tags":["mailing-list"]},{"url":"http://www.openwall.com/lists/oss-security/2022/11/03/2","tags":["mailing-list"]},{"url":"http://www.openwall.com/lists/oss-security/2022/11/03/3","tags":["mailing-list"]},{"url":"http://www.openwall.com/lists/oss-security/2022/11/03/5","tags":["mailing-list"]},{"url":"http://www.openwall.com/lists/oss-security/2022/11/03/7","tags":["mailing-list"]},{"url":"http://www.openwall.com/lists/oss-security/2022/11/03/6","tags":["mailing-list"]},{"url":"http://www.openwall.com/lists/oss-security/2022/11/03/9","tags":["mailing-list"]},{"url":"http://www.openwall.com/lists/oss-security/2022/11/03/10","tags":["mailing-list"]},{"url":"http://www.openwall.com/lists/oss-security/2022/11/03/11","tags":["mailing-list"]},{"url":"https://www.intel.com/content/www/us/en/security-center/advisory/intel-sa-00789.html","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-408105.html","tags":[]}],"techniques":[],"reports":[],"affected":[{"ecosystem":"crates.io","package":"openssl-src","vulnerableRanges":[">=300.0.0, <300.0.11"],"patched":["300.0.11"],"from":["GHSA-8rwr-x37p-mx23","RUSTSEC-2022-0064"],"provenance":"source"}],"advisories":[{"id":"GHSA-8rwr-x37p-mx23","url":"https://github.com/advisories/GHSA-8rwr-x37p-mx23","severity":"CRITICAL","ecosystem":"crates.io","package":"openssl-src","vulnerableRanges":[">=300.0.0, <300.0.11"],"patched":["300.0.11"],"provenance":"source","from":"GHSA"}],"euvd":{"id":"EUVD-2022-7287","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-7287","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":{"pocGithub":{"count":8,"skipped":0,"earliest":"2022-10-28","earliestUrl":"https://github.com/NCSC-NL/OpenSSL-2022","repos":[{"name":"NCSC-NL/OpenSSL-2022","url":"https://github.com/NCSC-NL/OpenSSL-2022","stars":529,"created":"2022-10-28"},{"name":"colmmacc/CVE-2022-3602","url":"https://github.com/colmmacc/CVE-2022-3602","stars":170,"created":"2022-10-30"},{"name":"rbowes-r7/cve-2022-3602-and-cve-2022-3786-openssl-poc","url":"https://github.com/rbowes-r7/cve-2022-3602-and-cve-2022-3786-openssl-poc","stars":17,"created":"2022-11-02"},{"name":"eatscrayon/CVE-2022-3602-poc","url":"https://github.com/eatscrayon/CVE-2022-3602-poc","stars":13,"created":"2022-10-31"},{"name":"corelight/CVE-2022-3602","url":"https://github.com/corelight/CVE-2022-3602","stars":4,"created":"2022-11-03"}]},"first":{"date":"2022-10-28","source":"PoC-in-GitHub","url":"https://github.com/NCSC-NL/OpenSSL-2022"},"provenance":"source"},"exploitRefs":["http://packetstormsecurity.com/files/169687/OpenSSL-Security-Advisory-20221101.html"],"flow":[],"timeline":[{"date":"2022-10-28","kind":"exploit-public","label":"First public exploit: PoC-in-GitHub","url":"https://github.com/NCSC-NL/OpenSSL-2022","provenance":"source"},{"date":"2022-11-01","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2022-3602","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":"PoC-in-GitHub","daysToKev":null},"priority":{"score":33.2,"factors":[{"name":"In a KEV catalog","points":0.0,"detail":"not listed"},{"name":"Recent KEV listing","points":0.0,"detail":"not listed"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.96,"detail":"percentile 0.9980"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 NVD exploit link; 8 PoC-in-GitHub repos"},{"name":"Mentioned in OTX pulses","points":3.0,"detail":"50 pulses"},{"name":"CVSS severity","points":5.25,"detail":"base score 7.5"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]},"lineage":{"packageHistory":[{"cve":"CVE-2022-2097","published":"2022-07-05","fixed":"300.0.9","kev":false},{"cve":"CVE-2022-2274","published":"2022-07-01","fixed":"300.0.9","kev":false},{"cve":"CVE-2022-3358","published":"2022-10-11","fixed":"300.0.10","kev":false,"link":{"from":"CVE-2022-3358","to":"CVE-2022-3602","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"crates.io:openssl-src","fromFixed":"300.0.10","toFixed":"300.0.11","daysApart":21}]}},{"cve":"CVE-2022-3602","published":"2022-11-01","fixed":"300.0.11","kev":false},{"cve":"CVE-2022-3786","published":"2022-11-01","fixed":"300.0.11","kev":false},{"cve":"CVE-2022-3996","published":"2022-12-13","fixed":"300.0.12","kev":false},{"cve":"CVE-2022-4203","published":"2023-02-24","fixed":"300.0.12","kev":false}],"package":"crates.io:openssl-src"}}