← Vulnerability feed

Vulnerability record · CVE-2022-3602 · published 1 November 2022

CVE-2022-3602: OpenSSL X.509 name constraint check buffer overrun

OOpenssl · Openssl

OpenSSL 3.0.0 through 3.0.6 contains an out-of-bounds write (CWE-787) in X.509 certificate verification, specifically in name constraint checking. A crafted certificate can overflow four attacker-controlled bytes on the stack after chain signature verification, causing a crash or potentially remote code execution. The flaw was pre-announced as critical but downgraded to high after analysis of stack overflow protections and stack layout variability.

7.5 CVSS 3.1 High EPSS 91% · top 0.2% CWE-787 · Out-of-bounds write
7.5CVSS 3.1 base score
91%EPSS exploitation probability, 30 days
NoNot in CISA KEV
4Affected product versions listed by NVD
82References
17 Jun 2026Last modified by NVD

Description

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).

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 18 September 2026. Confidence: high.

high priorityNetwork-reachable, no authentication or interaction required, high CVSS (7.5) and very high EPSS, though RCE is conditional on platform stack protections and stack layout.

What it is

OpenSSL 3.0.0 through 3.0.6 contains an out-of-bounds write (CWE-787) in X.509 certificate verification, specifically in name constraint checking. A crafted certificate can overflow four attacker-controlled bytes on the stack after chain signature verification, causing a crash or potentially remote code execution. The flaw was pre-announced as critical but downgraded to high after analysis of stack overflow protections and stack layout variability.

Impact

An attacker can crash the process, causing denial of service, or potentially achieve remote code execution depending on platform stack protections and layout. The CVSS vector rates confidentiality and integrity impact as none and availability impact as high.

Attack surface

Reachable over the network with no authentication or user interaction (AV:N/AC:L/PR:N/UI:N). In a TLS client it triggers when connecting to a malicious server; in a TLS server it triggers when the server requests client authentication and a malicious client connects. Exploitation requires a CA to have signed the malicious certificate or the application to continue verification despite failure to build a path to a trusted issuer.

Exploitation

Not listed in CISA KEV and no ransomware groups are documented using it. EPSS is very high (0.9077 probability, 0.99799 percentile), and references are advisory and mailing-list entries only, with no public exploit tag in the record.

What to do

  • Upgrade OpenSSL to 3.0.7 or later; affected versions are 3.0.0 through 3.0.6.
  • Update dependent products listed in the record (Fedora, NetApp Clustered Data ONTAP, Node.js) to builds that bundle the fixed OpenSSL.
  • Where immediate upgrade is not possible, disable or avoid client certificate authentication on TLS servers and restrict outbound TLS connections to trusted endpoints.
  • Ensure stack overflow protections (stack canaries, ASLR, non-executable stack) are enabled to reduce RCE risk.
  • Monitor OpenSSL security advisories and vendor bulletins for updated guidance.

Detection

  • Search hosts and container images for OpenSSL versions 3.0.0 through 3.0.6 and for applications statically linking those versions.
  • Monitor TLS server and client processes for unexpected crashes or restarts that coincide with certificate verification.
  • Review TLS logs for certificate chain verification failures followed by continued processing, which the flaw requires.
  • Track connections to untrusted or newly observed TLS endpoints, especially where client authentication is requested.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

4 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://packetstormsecurity.com/files/169687/OpenSSL-Security-Advisory-20221101.html Third Party AdvisoryVDB Entry
http://www.openwall.com/lists/oss-security/2022/11/01/15 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2022/11/01/16 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2022/11/01/17 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2022/11/01/18 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2022/11/01/19 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2022/11/01/20 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2022/11/01/21 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2022/11/01/24 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2022/11/02/1 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2022/11/02/10 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2022/11/02/11 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2022/11/02/12 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2022/11/02/13 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2022/11/02/14 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2022/11/02/15 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2022/11/02/2 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2022/11/02/3 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2022/11/02/5 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2022/11/02/6 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2022/11/02/7 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2022/11/02/9 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2022/11/03/1 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2022/11/03/10 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2022/11/03/11 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2022/11/03/2 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2022/11/03/3 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2022/11/03/5 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2022/11/03/6 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2022/11/03/7 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2022/11/03/9 Mailing ListThird Party Advisory
https://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=fe3b639dc19b325846f4f6801f2f4604f56e3de3 Broken LinkThird Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/63YRPWPUSX3MBHNPIEJZDKQ Mailing ListThird Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DWP23EZYOBDJQP7HP4YU7W2 Mailing ListThird Party Advisory
https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2022-0023 Third Party Advisory
https://security.gentoo.org/glsa/202211-01 Issue TrackingThird Party Advisory
https://security.netapp.com/advisory/ntap-20221102-0001/ Third Party Advisory
https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-openssl-W9sdCc2a Third Party Advisory
https://www.kb.cert.org/vuls/id/794340 Third Party AdvisoryUS Government Resource
https://www.openssl.org/news/secadv/20221101.txt Vendor Advisory

Track CVE-2022-3602 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2021-44228Apache Log4j2 JNDI lookup remote code executionApache Log4j2 versions 2.0-beta9 through 2.15.0 (excluding 2.12.2, 2.12.3, and 2.3.1) do not protect against attacker-controlled LDAP and other JNDI …KEVEPSS 100%analysed9.8CVE-2024-4577PHP-CGI on Windows argument injection leads to remote code executionPHP-CGI on Windows can misinterpret characters in the command line passed to Win32 API functions when certain code pages are configured, due to Windo…KEVEPSS 100%analysed9.8CVE-2021-44026Roundcube Webmail SQL injection via search parametersRoundcube Webmail before 1.3.17 and 1.4.x before 1.4.12 is prone to SQL injection through the search or search_params input. The flaw is remotely rea…KEVEPSS 70%analysed9.8CVE-2021-42013Apache HTTP Server path traversal and RCE via incomplete fixThe fix for CVE-2021-41773 in Apache HTTP Server 2.4.50 was insufficient, leaving a path traversal flaw that lets attackers map URLs to files outside…KEVEPSS 100%analysed9.8CVE-2021-41773Apache HTTP Server 2.4.49 path traversal and RCEA path normalization flaw introduced in Apache HTTP Server 2.4.49 lets attackers map URLs to files outside directories configured by Alias-like direc…KEVEPSS 100%analysed9.8CVE-2021-1870Apple WebKit logic flaw allows remote code executionA logic issue in Apple's WebKit was addressed with improved restrictions, affecting macOS Big Sur, Catalina, Mojave, iOS and iPadOS, plus WebKitGTK a…KEVEPSS 7.7%analysed9.8CVE-2021-1871Apple WebKit logic flaw allows remote code executionA logic issue in Apple's WebKit was addressed with improved restrictions. It affects macOS Big Sur, Catalina, Mojave, iOS and iPadOS, and a remote at…KEVEPSS 7.0%analysed9.8CVE-2020-16846SaltStack Salt API shell injection via crafted web requestsSaltStack Salt through 3002 is vulnerable to OS command injection when the SSH client is enabled and crafted web requests are sent to the Salt API. T…KEVEPSS 100%analysed

Source: NIST National Vulnerability Database (record CVE-2022-3602), CISA KEV, FIRST EPSS (scores of 2026-09-24). This page is refreshed as NVD updates the record.