Skip to content
OpenAdvisories
High · 7.5 Public exploit CVE-2022-3602 BIT-node-2022-3602BIT-node-min-2022-3602EUVD-2022-7287GHSA-8rwr-x37p-mx23RUSTSEC-2022-0064

X.509 Email Address 4-byte Buffer Overflow

Published Nov 1, 2022 · Updated Apr 14, 2026 · Assigned by openssl

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 the malicious certificate or for the application to continue certificate verification despite failure to construct a path to a trusted issuer. An attacker can craft a malicious email address to overflow four attacker-controlled bytes on the stack. This buffer overflow could result in a crash (causing a denial of service) or potentially remote code execution. Many platforms implement stack overflow protections which would mitigate against the risk of remote code execution. The risk may be further mitigated based on stack layout for any given platform/compiler. Pre-announcements of CVE-2022-3602 described this issue as CRITICAL. Further analysis based on some of the mitigating factors described above have led this to be downgraded to HIGH. Users are still encouraged to upgrade to a new version as soon as possible. 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. Fixed in OpenSSL 3.0.7 (Affected 3.0.0,3.0.1,3.0.2,3.0.3,3.0.4,3.0.5,3.0.6).

Affected products

VendorProductAffectedFixed
OpenSSL OpenSSL Fixed in OpenSSL 3.0.7 (Affected 3.0.0,3.0.1,3.0.2,3.0.3,3.0.4,3.0.5,3.0.6) —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 openssl 3.0.7-1 —
Debian 13 openssl 3.0.7-1 —
Debian 12 openssl 3.0.7-1 —
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS openssl 3.0.2-0ubuntu1.7 USN-5710-1
ReleasePackageFixed inAdvisory
RHEL 9 openssl +3 1:3.0.1-43.el9_0 RHSA-2022:7288

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 openssl +3 1:3.0.1-43.el9_0 ALSA-2022:7288

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 9 openssl 1:3.0.1-43.el9_0 RLSA-2022:7288
ReleasePackageFixed inAdvisory
SLES 15 SP4 openssl-3 3.0.1-150400.4.11.1 SUSE-SU-2022:3843-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed cargo-audit-advisory-db 20221102-1.1 openSUSE-SU-2024:12469-1
openSUSE Tumbleweed openssl-3 3.0.7-1.1 openSUSE-SU-2024:12475-1
openSUSE Tumbleweed python-cryptography 38.0.3-1.1 openSUSE-SU-2025:14739-1, openSUSE-SU-2024:12480-1, openSUSE-SU-2024:12479-1
openSUSE Tumbleweed python-cryptography-vectors 44.0.0-1.1 openSUSE-SU-2025:14740-1
openSUSE Tumbleweed python-mitmproxy 11.1.2-1.1 openSUSE-SU-2025:14762-1
openSUSE Leap 15.4 openssl-3 3.0.1-150400.4.11.1 SUSE-SU-2022:3843-1
ReleasePackageFixed inAdvisory
Alpine v3.24 nodejs 18.12.1-r0 —
Alpine v3.24 openssl 3.0.7-r0 —
Alpine v3.23 nodejs 18.12.1-r0 —
Alpine v3.23 openssl 3.0.7-r0 —
Alpine v3.22 nodejs 18.12.1-r0 —
Alpine v3.22 openssl 3.0.7-r0 —
Alpine v3.21 nodejs 18.12.1-r0 —
Alpine v3.21 openssl 3.0.7-r0 —
Alpine v3.20 nodejs 18.12.1-r0 —
Alpine v3.20 openssl 3.0.7-r0 —
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 nodejs 18.12.1-r0 —
Alpine v3.19 openssl 3.0.7-r0 —
Alpine v3.18 nodejs 18.12.1-r0 —
Alpine v3.18 openssl 3.0.7-r0 —
Alpine v3.17 nodejs 18.12.1-r0 —
Alpine v3.17 openssl 3.0.7-r0 —
Alpine v3.16 openssl3 3.0.7-r0 —
Alpine v3.15 openssl3 3.0.7-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 nodejs +4 1:18.12.1-1.amzn2023.0.2 ALAS2023-2023-084
Amazon Linux 2023 npm 1:8.19.2-1.18.12.1.1.amzn2023.0.2 ALAS2023-2023-084
Amazon Linux 2023 openssl +3 1:3.0.5-1.amzn2023.0.4 ALAS2023-2023-051
Amazon Linux 2023 v8-devel 2:10.2.154.15-1.18.12.1.1.amzn2023.0.2 ALAS2023-2023-084

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 openssl +3 1:3.0.1-43.0.1.el9_0 ELSA-2022-7288

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling openssl 3.0.7-r0 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 8 repositories

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io openssl-src >= 300.0.0, < 300.0.11 300.0.11 GHSA-8rwr-x37p-mx23

Advisories 25

References