# CVE-2022-3786: OpenSSL: CVE-2022-3786 X.509 certificate verification buffer overrun

CVE-2022-3786 is fixed in 21 products on 2 platforms, first by libssl3 3.0.2-0ubuntu1.7, released October 31, 2022. It is not reported as exploited, but the vendor rates exploitation more likely. Patch Radar priority: Urgent.

- Web page: https://patchblox.com/security/cve/CVE-2022-3786
- Priority: Urgent
- CVSS: 7.5 (High)
- EPSS: 0.9249
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Vendor exploitability assessment: Exploitation More Likely
- Published: Oct 31, 2022
- Weakness: CWE-120: Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
- Vendor advisory: https://msrc.microsoft.com/update-guide/vulnerability/CVE-2022-3786

## 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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Windows apps | Node.js 18 | 18.12.1 | [Node.js 18 18.12.1](https://patchblox.com/security/data/fix/windows-app/openjs.nodejs.18-18.12.1.md) | Nov 4, 2022 |
| Windows apps | Node.js 19 | 19.0.1 | [Node.js 19 19.0.1](https://patchblox.com/security/data/fix/windows-app/openjs.nodejs.19-19.0.1.md) | Nov 4, 2022 |
| Linux | libssl3 Ubuntu 22.04.1 LTS (jammy) | 3.0.2-0ubuntu1.7 | [libssl3 3.0.2-0ubuntu1.7](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libssl3-3.0.2-0ubuntu1.7.md) | Oct 31, 2022 |
| Linux | libssl3t64 Ubuntu 24.10 (oracular) | 3.0.5-2ubuntu2 | [libssl3t64 3.0.5-2ubuntu2](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-libssl3t64-3.0.5-2ubuntu2.md) | Nov 1, 2022 |
| Linux | libssl3t64 Ubuntu 25.04 (plucky) | 3.0.5-2ubuntu2 | [libssl3t64 3.0.5-2ubuntu2](https://patchblox.com/security/data/fix/linux/ubuntu-plucky-libssl3t64-3.0.5-2ubuntu2.md) | Nov 1, 2022 |
| Linux | nodejs amzn 2023 | 1:18.12.1-1.amzn2023.0.2 | [ALAS2023-2023-084](https://patchblox.com/security/data/fix/linux/alas2023-2023-084.md) | Feb 17, 2023 |
| Linux | nodejs-debuginfo amzn 2023 | 1:18.12.1-1.amzn2023.0.2 | [ALAS2023-2023-084](https://patchblox.com/security/data/fix/linux/alas2023-2023-084.md) | Feb 17, 2023 |
| Linux | nodejs-debugsource amzn 2023 | 1:18.12.1-1.amzn2023.0.2 | [ALAS2023-2023-084](https://patchblox.com/security/data/fix/linux/alas2023-2023-084.md) | Feb 17, 2023 |
| Linux | nodejs-devel amzn 2023 | 1:18.12.1-1.amzn2023.0.2 | [ALAS2023-2023-084](https://patchblox.com/security/data/fix/linux/alas2023-2023-084.md) | Feb 17, 2023 |
| Linux | nodejs-docs amzn 2023 | 1:18.12.1-1.amzn2023.0.2 | [ALAS2023-2023-084](https://patchblox.com/security/data/fix/linux/alas2023-2023-084.md) | Feb 17, 2023 |
| Linux | nodejs-full-i18n amzn 2023 | 1:18.12.1-1.amzn2023.0.2 | [ALAS2023-2023-084](https://patchblox.com/security/data/fix/linux/alas2023-2023-084.md) | Feb 17, 2023 |
| Linux | nodejs-libs amzn 2023 | 1:18.12.1-1.amzn2023.0.2 | [ALAS2023-2023-084](https://patchblox.com/security/data/fix/linux/alas2023-2023-084.md) | Feb 17, 2023 |
| Linux | nodejs-libs-debuginfo amzn 2023 | 1:18.12.1-1.amzn2023.0.2 | [ALAS2023-2023-084](https://patchblox.com/security/data/fix/linux/alas2023-2023-084.md) | Feb 17, 2023 |
| Linux | npm amzn 2023 | 1:8.19.2-1.18.12.1.1.amzn2023.0.2 | [ALAS2023-2023-084](https://patchblox.com/security/data/fix/linux/alas2023-2023-084.md) | Feb 17, 2023 |
| Linux | openssl Debian 12.15 (bookworm) | 3.0.7-1 | [DEBIAN-CVE-2022-3786](https://patchblox.com/security/data/fix/linux/debian-cve-2022-3786.md) | Nov 1, 2022 |
| Linux | openssl Debian 13.5 (trixie) | 3.0.7-1 | [DEBIAN-CVE-2022-3786](https://patchblox.com/security/data/fix/linux/debian-cve-2022-3786.md) | Nov 1, 2022 |
| Linux | openssl Debian 14 | 3.0.7-1 | [DEBIAN-CVE-2022-3786](https://patchblox.com/security/data/fix/linux/debian-cve-2022-3786.md) | Nov 1, 2022 |
| Linux | openssl RHEL 9 | 1:3.0.1-43.el9_0 | [RHSA-2022:7288](https://patchblox.com/security/data/fix/linux/rhsa-2022-7288.md) | Nov 1, 2022 |
| Linux | openssl Ubuntu 22.04.1 LTS (jammy) | 3.0.2-0ubuntu1.7 | [openssl 3.0.2-0ubuntu1.7](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-openssl-3.0.2-0ubuntu1.7.md) | Oct 31, 2022 |
| Linux | openssl Ubuntu 24.10 (oracular) | 3.0.5-2ubuntu2 | [openssl 3.0.5-2ubuntu2](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-openssl-3.0.5-2ubuntu2.md) | Nov 1, 2022 |
| Linux | openssl Ubuntu 25.04 (plucky) | 3.0.5-2ubuntu2 | [openssl 3.0.5-2ubuntu2](https://patchblox.com/security/data/fix/linux/ubuntu-plucky-openssl-3.0.5-2ubuntu2.md) | Nov 1, 2022 |
| Linux | openssl almalinux 9 | 1:3.0.1-43.el9_0 | [ALSA-2022:7288](https://patchblox.com/security/data/fix/linux/alsa-2022-7288.md) | Nov 1, 2022 |
| Linux | openssl amzn 2023 | 1:3.0.5-1.amzn2023.0.4 | [ALAS2023-2023-051](https://patchblox.com/security/data/fix/linux/alas2023-2023-051.md) | Feb 17, 2023 |
| Linux | openssl ol 9 | 1:3.0.1-43.0.1.el9_0 | [ELSA-2022-7288](https://patchblox.com/security/data/fix/linux/elsa-2022-7288.md) | Nov 1, 2022 |
| Linux | openssl rocky 9 | 1:3.0.1-43.el9_0 | [RLSA-2022:7288](https://patchblox.com/security/data/fix/linux/rlsa-2022-7288.md) | Nov 1, 2022 |
| Linux | openssl-debuginfo amzn 2023 | 1:3.0.5-1.amzn2023.0.4 | [ALAS2023-2023-051](https://patchblox.com/security/data/fix/linux/alas2023-2023-051.md) | Feb 17, 2023 |
| Linux | openssl-debugsource amzn 2023 | 1:3.0.5-1.amzn2023.0.4 | [ALAS2023-2023-051](https://patchblox.com/security/data/fix/linux/alas2023-2023-051.md) | Feb 17, 2023 |
| Linux | openssl-devel RHEL 9 | 1:3.0.1-43.el9_0 | [RHSA-2022:7288](https://patchblox.com/security/data/fix/linux/rhsa-2022-7288.md) | Nov 1, 2022 |
| Linux | openssl-devel almalinux 9 | 1:3.0.1-43.el9_0 | [ALSA-2022:7288](https://patchblox.com/security/data/fix/linux/alsa-2022-7288.md) | Nov 1, 2022 |
| Linux | openssl-devel amzn 2023 | 1:3.0.5-1.amzn2023.0.4 | [ALAS2023-2023-051](https://patchblox.com/security/data/fix/linux/alas2023-2023-051.md) | Feb 17, 2023 |
| Linux | openssl-devel ol 9 | 1:3.0.1-43.0.1.el9_0 | [ELSA-2022-7288](https://patchblox.com/security/data/fix/linux/elsa-2022-7288.md) | Nov 1, 2022 |
| Linux | openssl-libs RHEL 9 | 1:3.0.1-43.el9_0 | [RHSA-2022:7288](https://patchblox.com/security/data/fix/linux/rhsa-2022-7288.md) | Nov 1, 2022 |
| Linux | openssl-libs almalinux 9 | 1:3.0.1-43.el9_0 | [ALSA-2022:7288](https://patchblox.com/security/data/fix/linux/alsa-2022-7288.md) | Nov 1, 2022 |
| Linux | openssl-libs amzn 2023 | 1:3.0.5-1.amzn2023.0.4 | [ALAS2023-2023-051](https://patchblox.com/security/data/fix/linux/alas2023-2023-051.md) | Feb 17, 2023 |
| Linux | openssl-libs ol 9 | 1:3.0.1-43.0.1.el9_0 | [ELSA-2022-7288](https://patchblox.com/security/data/fix/linux/elsa-2022-7288.md) | Nov 1, 2022 |
| Linux | openssl-libs-debuginfo amzn 2023 | 1:3.0.5-1.amzn2023.0.4 | [ALAS2023-2023-051](https://patchblox.com/security/data/fix/linux/alas2023-2023-051.md) | Feb 17, 2023 |
| Linux | openssl-perl RHEL 9 | 1:3.0.1-43.el9_0 | [RHSA-2022:7288](https://patchblox.com/security/data/fix/linux/rhsa-2022-7288.md) | Nov 1, 2022 |
| Linux | openssl-perl almalinux 9 | 1:3.0.1-43.el9_0 | [ALSA-2022:7288](https://patchblox.com/security/data/fix/linux/alsa-2022-7288.md) | Nov 1, 2022 |
| Linux | openssl-perl amzn 2023 | 1:3.0.5-1.amzn2023.0.4 | [ALAS2023-2023-051](https://patchblox.com/security/data/fix/linux/alas2023-2023-051.md) | Feb 17, 2023 |
| Linux | openssl-perl ol 9 | 1:3.0.1-43.0.1.el9_0 | [ELSA-2022-7288](https://patchblox.com/security/data/fix/linux/elsa-2022-7288.md) | Nov 1, 2022 |
| Linux | v8-devel amzn 2023 | 2:10.2.154.15-1.18.12.1.1.amzn2023.0.2 | [ALAS2023-2023-084](https://patchblox.com/security/data/fix/linux/alas2023-2023-084.md) | Feb 17, 2023 |

---

Data as of 2026-11-08T00:53:09Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
