CVE-2022-3786 | X.509 Email Address Variable Length Buffer Overflow

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.

Published: 2022-11-01 Last update: 2026-06-17 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2022-3786 is rated High Risk (69.9/100): CVSS High severity, with high exploitation likelihood (EPSS 91.15%, 100th percentile). Core evidence: EPSS ranks this CVE among the most likely to be exploited in the near term. EPSS rose +63.85% over the last day, indicating growing attacker interest. Mandatory action: High exploitation likelihood—assess exposure and prioritize remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2022-3786

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 27.30% 91.15% +63.85%
2 2026-05-05 30.18% 27.30% -2.88%
3 2026-04-27 30.18%

Full EPSS history (69 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2022-3786

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
7.5 3.1 HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
3.9 3.6 [email protected]
7.5 3.1 HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
3.9 3.6 134c704f-9b21-4f2e-91b3-4a467353bcc0

Weakness enumeration for CVE-2022-3786

GitHub Security Advisory for CVE-2022-3786

GHSA-h8jm-2x53-xhp5 · Severity: high · Ecosystem: rust — X.509 Email Address Variable Length Buffer Overflow

OS Trackers for CVE-2022-3786

vendor priority summary link
alpine CVE-2022-3786: 2 source package rows (nodejs, openssl); 39 state rows across 7 repos (3.17-main, 3.18-main, 3.19-main, 3.20-main, 3.21-main, 3.22-main, edge-main); fixed 14, open 25. https://security.alpinelinux.org/vuln/CVE-2022-3786
debian unimportant CVE-2022-3786 unimportant priority: Debian including 1 source packages (openssl), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2022-3786
gentoo low CVE-2022-3786: 2 GLSA(s) (202211-01, 202405-29), 2 atom(s) (dev-libs/openssl, net-libs/nodejs); latest impact low. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2022-3786
redhat high https://access.redhat.com/security/cve/CVE-2022-3786
suse high CVE-2022-3786 severity important: SUSE including 90 source package names (cargo-audit-advisory-db-20221102-1.1, cargo-audit-advisory-db-20250304-160000.2.2, …), 386 product×package rows across 55 product lines (SUSE CaaS Platform 4.0, SUSE Enterprise Storage 6, … (55 product lines)): Known Not Affected 314, Fixed 72. https://www.suse.com/security/cve/CVE-2022-3786/
ubuntu high CVE-2022-3786 high priority: Ubuntu including 4 source packages (edk2, nodejs, openssl, openssl1.0), 45 status rows across 13 suites (bionic, focal, jammy, kinetic, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): not-affected 28, released 9, DNE 4, needs-triage 3, ignored 1. https://ubuntu.com/security/CVE-2022-3786

Affected software / configurations for CVE-2022-3786

Vendor Product Version Raw CPE
openssl openssl >= 3.0.0, < 3.0.7 cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*
fedoraproject fedora 36 cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*
fedoraproject fedora 37 cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*
nodejs node.js >= 18.0.0, < 18.11.0 cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:*
nodejs node.js 18.12.0 cpe:2.3:a:nodejs:node.js:18.12.0:*:*:*:lts:*:*:*
nodejs node.js 19.0.0 cpe:2.3:a:nodejs:node.js:19.0.0:*:*:*:-:*:*:*

References for CVE-2022-3786

cvelogic Threat Intelligence