CVE-2022-3786

published 1 Nov 2022 · updated 14 Apr 2026

X.509 Email Address Variable Length Buffer Overflow

9.5CriticalCVSS 7.5EPSS 92%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 92%. Fixed in OpenSSL 3.0.7.

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 a malicious certificate or for an application to continue certificate verification despite failure to construct a path to a trusted issuer. An attacker can craft a malicious email address in a certificate to overflow an arbitrary number of bytes containing the `.' character (decimal 46) on the stack. This buffer overflow could result in a crash (causing a denial of service). 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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
MicrosoftAzure
MicrosoftAzure Kubernetes Service
Microsoftvcpkg
OpenSSLOpenSSL>=3.0.0 <3.0.73.0.7

Exploit evidence

1 public sources

Coverage

News and research mentioning this CVE

Research blogs·research

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in OpenSSL, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-3786 severity on Zeptric[![CVE-2022-3786](https://zeptric.io/badge/cve/CVE-2022-3786.svg)](https://zeptric.io/cve/CVE-2022-3786)