Buffer overflowin OpenSSL.
Proof of concept public (GitHub).
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.
- Upgrade OpenSSL to 3.0.7 or later.
- Upgrade openssl-src (crates.io) to 300.0.11 or later.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 1 Nov 2022CVE ID reserved by openssl.
- 1 Nov 2022Published in the CVE List.
- 11 Jan 2023First public proof of concept on GitHub.
- 14 Apr 2026CVE record last updated.
Attack code anyone can find
Exploit maturity: Proof of concept (GitHub). CISA assessment (SSVC): exploitation none.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Other OpenSSL vulnerabilities
Same weakness: Classic buffer overflow
- www.openssl.org vendor-advisory
- git.openssl.org patch
- www.intel.com
- www.kb.cert.org
- cert-portal.siemens.com
Patchminder. CVE-2022-3786: Buffer overflow in OpenSSL. https://patchminder.com/cve/cve-2022-3786/ (accessed 5 December 2026).