CVE-2022-3786Openssl
High 7.5 No auth needed
Follow: this CVE · Openssl · Openssl We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 3.7% probability of exploitation in 30 days · percentile 91
- Auth required
- No
- Published
- Nov 1, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-120
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Openssl.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| crates.io | openssl-src |
≥ 300.0.0 < 300.0.11 |
300.0.11 |
cargo update -p openssl-src --precise 300.0.11 |
| crates.io | openssl-src |
≥ 300.0.0 < 300.0.11 |
300.0.11 |
cargo update -p openssl-src --precise 300.0.11 |
Per OSV / GitHub Advisories (GHSA-h8jm-2x53-xhp5, RUSTSEC-2022-0065). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| openssl | openssl | ≥ 3.0.0 < 3.0.7 |
| fedoraproject | fedora | 36 |
| fedoraproject | fedora | 37 |
| nodejs | node.js | ≥ 18.0.0 < 18.11.0 |
| nodejs | node.js | 18.12.0 |
| nodejs | node.js | 19.0.0 |
Official sources
References
Links published by the sources. Open them with care.
- git.openssl.org Patch Vendor Advisory
- www.openssl.org Vendor Advisory
- www.intel.com
- www.kb.cert.org
- cert-portal.siemens.com