cve.bz

CVE-2022-3602 Out-of-bounds Write

7.5 highEPSS 91%Fix available

High (7.5). EPSS 91% estimated probability of exploitation activity in the next 30 days. Fixed in openssl-src 300.0.11.

On this page
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).

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
91% (unchanged from 91% a week ago; 91% 30 days ago) estimated probability of exploitation activity in the next 30 days; 100th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2025-04-23. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-787 Out-of-bounds Write
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-3602 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-3602?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-3602?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-3602 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
openssl:opensslfrom 3.0.0 before 3.0.7
fedoraproject:fedora36
fedoraproject:fedora37
fedoraproject:fedora26
fedoraproject:fedora27
nodejs:node.jsfrom 18.0.0 before 18.11.0
nodejs:node.js18.12.0
nodejs:node.js19.0.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-8rwr-x37p-mx23crates.ioopenssl-src>=300.0.0 <300.0.11300.0.11
RUSTSEC-2022-0064crates.ioopenssl-src>=300.0.0 <300.0.11300.0.11

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14openssl3.0.7-1DEBIAN-CVE-2022-3602
Ubuntu22.04:LTSopenssl3.0.2-0ubuntu1.7UBUNTU-CVE-2022-3602 USN-5710-1
Red Hatenterprise_linux:9::appstreamopenssl-perl, openssl-devel, openssl-debuginfo and 2 more1:3.0.1-43.el9_0RHSA-2022:7288
Red Hatenterprise_linux:9::baseosopenssl, openssl-libs, openssl-debuginfo and 2 more1:3.0.1-43.el9_0RHSA-2022:7288
SUSELinux Enterprise Module for Basesystem 15 SP4openssl-33.0.1-150400.4.11.1SUSE-SU-2022:3843-1
openSUSELeap 15.4openssl-33.0.1-150400.4.11.1SUSE-SU-2022:3843-1
openSUSETumbleweedcargo-audit-advisory-db20221102-1.1openSUSE-SU-2024:12469-1
openSUSETumbleweedopenssl-33.0.7-1.1openSUSE-SU-2024:12475-1
openSUSETumbleweedpython-cryptography38.0.3-1.1openSUSE-SU-2024:12479-1 openSUSE-SU-2024:12480-1
openSUSETumbleweedpython-cryptography44.0.0-1.1openSUSE-SU-2025:14739-1
openSUSETumbleweedpython-cryptography-vectors44.0.0-1.1openSUSE-SU-2025:14740-1
openSUSETumbleweedpython-mitmproxy11.1.2-1.1openSUSE-SU-2025:14762-1
AlmaLinux9openssl, openssl-libs, openssl-perl and 1 more1:3.0.1-43.el9_0ALSA-2022:7288
Rocky Linux9openssl1:3.0.1-43.el9_0RLSA-2022:7288
Alpinev3.15, v3.16openssl33.0.7-r0ALPINE-CVE-2022-3602
Alpinev3.17, v3.18, v3.19 and 5 morenodejs18.12.1-r0ALPINE-CVE-2022-3602
Alpinev3.17, v3.18, v3.19 and 5 moreopenssl3.0.7-r0ALPINE-CVE-2022-3602

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Important.

Red Hat's statement

As per upstream, the most common situation where this can be triggered is when a server requests client authentication after a malicious client connects. A client connecting to a malicious server is also believed to be vulnerable in the same manner. Only OpenSSL versions 3.0.0 to 3.0.6 are vulnerable to this attack.

The OpenSSL binaries in Red Hat Enterprise Linux 9 are compiled with Stack Smashing Protection. Also during the build process, the compiler rearranges the variables in a way that the buffer overflow is only able to overwrite the stack canaries, limiting the maximum impact of this flaw to denial of service. Remote code execution may not be possible in such cases.

Red Hat OpenStack Platform 17 does not ship OpenSSL and is not directly affected by the flaw. However, container images which product ship are of RHEL 9 which were affected. RHOSP have fixed this by respining container images through the following errata: https://access.redhat.com/errata/RHBA-2022:7429

ProductPackageStateAdvisory
Red Hat Enterprise Linux 9openssl-1:3.0.1-43.el9_0Fixed 2022-11-01RHSA-2022:7288
Red Hat Enterprise Linux 9rhel9/openssl:9.0-25Fixed 2022-11-02RHSA-2022:7384
Red Hat Enterprise Linux 9ubi9/openssl:9.0-25Fixed 2022-11-02RHSA-2022:7384
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/management-ingress-rhel8Not affected
Red Hat Enterprise Linux 6opensslNot affected
Red Hat Enterprise Linux 6openssl098eNot affected
Red Hat Enterprise Linux 7opensslNot affected
Red Hat Enterprise Linux 7openssl098eNot affected
Red Hat Enterprise Linux 7ovmfNot affected
Red Hat Enterprise Linux 8compat-openssl10Not affected
Red Hat Enterprise Linux 8edk2Not affected
Red Hat Enterprise Linux 8opensslNot affected
Red Hat Enterprise Linux 8shimNot affected
Red Hat Enterprise Linux 9compat-openssl11Not affected
Red Hat Enterprise Linux 9edk2Not affected
Red Hat Enterprise Linux 9shimNot affected
Red Hat JBoss Core Servicesjbcs-httpd24-opensslNot affected
Red Hat JBoss Enterprise Application Platform 6opensslNot affected
Red Hat JBoss Web Server 3opensslNot affected
Red Hat JBoss Web Server 5opensslNot affected
1 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-3602.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-23-229-01ICONICS and Mitsubishi Electric Products2023-08-17Critical ManufacturingICONICS Suite including GENESIS64, Hyper Historian, AnalytiX, and MobileHMI: 10.97.2none listed
ICSA-23-019-01Hitachi Energy PCU4002023-01-19EnergyPCU400: PCU400: Versions 9.3.0 and later up to but not including 9.3.8, PCU400: PCULogger tool: Version 1.0.1none listed
ICSA-23-005-03Hitachi Energy Lumada Asset Performance Management2023-01-05EnergyLumada Asset Performance Management (APM): Lumada APM: Version 6.5.0.0none listed
ICSA-22-349-10Siemens APOGEE/TALON Field Panels2022-12-15Critical ManufacturingCalibre ICE, Mcenter, SCALANCE X-200RNA switch family and 2 morenone listed
ICSA-22-349-09Siemens Products affected by OpenSSL 3.02022-12-13Critical ManufacturingCalibre ICE, Mcenter, SCALANCE X204RNA (HSR) (6GK5204-0BA00-2MB2) and 6 morenone listed
ICSA-22-349-12Siemens Parasolid2022-12-13MultipleCalibre ICE, Mcenter, SCALANCE X-200RNA switch family and 2 morenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Detection rules

Ways to detect this CVE, not exploit code: the nuclei template that checks a system for it, and the Suricata and Snort rules that name it. A rule set may ship a rule turned off, so check yours by its sid.

  • Emerging Threats Open ET EXPLOIT Possible OpenSSL Punycode Email Address Buffer Overflow Attempt Outbound (CVE-2022-3602) sid 2039619
  • Emerging Threats Open ET EXPLOIT Possible OpenSSL Punycode Email Address Buffer Overflow Attempt Inbound (CVE-2022-3602) sid 2039618
  • Snort community rules SERVER-OTHER OpenSSL x509 crafted email address buffer overflow attempt sid 60790

References

Check your stackJSON