PT-2022-5306 · Openssl+8 · Openssl+8

Polar Bear

·

Published

2022-10-28

·

Updated

2026-05-18

·

CVE-2022-3602

CVSS v2.0

10

High

VectorAV:N/AC:L/Au:N/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions OpenSSL versions 3.0.0 through 3.0.6
Description A buffer overrun can be triggered in X.509 certificate verification, specifically in name constraint checking. 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, potentially resulting in a crash or 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. 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.
Recommendations For OpenSSL versions 3.0.0 through 3.0.6, upgrade to OpenSSL 3.0.7 as soon as possible to fix the issue. As a temporary workaround, consider restricting access to the vulnerable X.509 certificate verification function until a patch is available. Additionally, restrict access to the EVP EncryptInit ex2(), EVP DecryptInit ex2(), and EVP CipherInit ex2() functions to minimize the risk of exploitation. Avoid using custom ciphers with NID undef using the legacy EVP CIPHER meth new() function until the issue is resolved.

Exploit

Fix

DoS

RCE

Buffer Overflow

Stack Overflow

Memory Corruption

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALSA-2022:7288
ALSA-2022_7288
ALSA-2023_2523
BDU:2022-06608
BIT-NODE-2022-3602
BIT-NODE-MIN-2022-3602
CLEANSTART-2026-BD71263
CLEANSTART-2026-IS74202
CLEANSTART-2026-JR35772
CLEANSTART-2026-JY06700
CLEANSTART-2026-KN34553
CLEANSTART-2026-KZ45320
CLEANSTART-2026-LJ44720
CLEANSTART-2026-LN12820
CLEANSTART-2026-TX00223
CLEANSTART-2026-WI75198
CVE-2022-3602
ELSA-2022-7288
GHSA-8RWR-X37P-MX23
GSD-2022-1006651
OPENSUSE-SU-2022_3843-1
OPENSUSE-SU-2024:12469-1
OPENSUSE-SU-2024:12475-1
OPENSUSE-SU-2024:12479-1
OPENSUSE-SU-2024:12480-1
OPENSUSE-SU-2024:12575-1
OPENSUSE-SU-2025:14739-1
OPENSUSE-SU-2025:14740-1
OPENSUSE-SU-2025:14762-1
RHSA-2022:7288
RHSA-2022_7288
RLSA-2022:7288
RLSA-2022_7288
RUSTSEC-2022-0064
SUSE-SU-2022:3843-1
SUSE-SU-2022_3843-1
USN-5710-1

Affected Products

Almalinux
Fortios
Ibm Aix
Linuxmint
Openssl
Red Hat
Rocky Linux
Suse
Ubuntu