High severity · published Nov 1, 2022
CVE-2022-3786
X.509 Email Address Variable Length Buffer Overflow
7.5
CVSS
92.5%
EPSS
No
On KEV
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 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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)92.5% · higher than 100% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
OP
OpenSSL · OpenSSL
3.0.0 before 3.0.7 · source: vendor, NVD
FE
Fedora · Fedoraproject
36; 37 · source: NVD
NO
Node.js · Nodejs
18.0.0 before 18.11.0; 18.12.0; 19.0.0 · source: NVD
CI
Calibre ICE · Siemens
V2022.4 before V2023.1 · source: CISA
MC
Mcenter · Siemens
V5.2.1 before V5.3.0 · source: CISA
SX
SCALANCE X204RNA (HSR) · Siemens
V3.2.7 before V3.2.8 · source: CISA
SX
SCALANCE X204RNA (PRP) · Siemens
V3.2.7 before V3.2.8 · source: CISA
SX
SCALANCE X204RNA EEC (HSR) · Siemens
V3.2.7 before V3.2.8 · source: CISA
SX
SCALANCE X204RNA EEC (PRP) · Siemens
V3.2.7 before V3.2.8 · source: CISA
SX
SCALANCE X204RNA EEC (PRP/HSR) · Siemens
V3.2.7 before V3.2.8 · source: CISA
SG
SICAM GridPass · Siemens
V1.80 before V2.20 · source: CISA
SR
SIMATIC RTLS Locating Manager · Siemens
V2.13.0.0 before V2.13.0.3 · source: CISA
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2022-3786
CVE.org
https://www.cve.org/CVERecord?id=CVE-2022-3786
Patch
https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=c42165b5706e42f67ef8ef4c351a9a4c5d21639a
Vendor Advisory
https://www.openssl.org/news/secadv/20221101.txt
www.intel.com
https://www.intel.com/content/www/us/en/security-center/advisory/intel-sa-00789.html
www.kb.cert.org
https://www.kb.cert.org/vuls/id/794340
cert-portal.siemens.com
https://cert-portal.siemens.com/productcert/html/ssa-408105.html
More from OpenSSL
7.5
CVE-2014-0160
OpenSSL Information Disclosure Vulnerability
9.8
CVE-2026-63073
Untrusted Sender DN Used as Format String in CMP Response Validation
9.8
CVE-2026-31789
Heap Buffer Overflow in Hexadecimal Conversion
9.8
CVE-2022-2274
RSA implementation bug in AVX512IFMA instructions
9.8
CVE-2021-3711
SM2 Decryption Buffer Overflow
