cve.bz

CVE-2022-3786 Classic Buffer Overflow

7.5 highEPSS 92%Fix available

High (7.5). EPSS 92% 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 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.

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
92% (unchanged from 92% a week ago; 92% 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-120 Buffer Copy without Checking Size of Input (Classic Buffer Overflow)
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-3786 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-3786?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-3786?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-3786 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 CNA's record in the CVE List.

ProductAffected
OpenSSLfrom 3.0.0 before 3.0.7

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-h8jm-2x53-xhp5crates.ioopenssl-src>=300.0.0 <300.0.11300.0.11
RUSTSEC-2022-0065crates.ioopenssl-src>=300.0.0 <300.0.11300.0.11

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14openssl3.0.7-1DEBIAN-CVE-2022-3786
Ubuntu22.04:LTSopenssl3.0.2-0ubuntu1.7UBUNTU-CVE-2022-3786 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
SUSELinux Enterprise Module for Basesystem 15 SP4openssl-33.0.1-150400.4.14.1SUSE-SU-2022:4586-1
openSUSELeap 15.4openssl-33.0.1-150400.4.11.1SUSE-SU-2022:3843-1
openSUSELeap 15.4openssl-33.0.1-150400.4.14.1SUSE-SU-2022:4586-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
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-3786
Alpinev3.17, v3.18, v3.19 and 5 morenodejs18.12.1-r0ALPINE-CVE-2022-3786
Alpinev3.17, v3.18, v3.19 and 5 moreopenssl3.0.7-r0ALPINE-CVE-2022-3786

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.

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
Logging Subsystem for Red Hat OpenShiftopenshift-logging/fluentd-rhel9Under investigation
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
2 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-3786.

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.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-120 (13).

References

Check your stackJSON