cve.bz

CVE-2023-3446 openssl openssl: Unchecked Input for Loop Condition

5.3 mediumEPSS 6.5%Fix available

Medium (5.3) in openssl openssl. EPSS 6.5% estimated probability of exploitation activity in the next 30 days.

On this page
Issue summary: Checking excessively long DH keys or parameters may be very slow. Impact summary: Applications that use the functions DH_check(), DH_check_ex() or EVP_PKEY_param_check() to check a DH key or DH parameters may experience long delays. Where the key or parameters that are being checked have been obtained from an untrusted source this may lead to a Denial of Service. The function DH_check() performs various checks on DH parameters. One of those checks confirms that the modulus ('p' parameter) is not too large. Trying to use a very large modulus is slow and OpenSSL will not normally use a modulus which is over 10,000 bits in length. However the DH_check() function checks numerous aspects of the key or parameters that have been supplied. Some of those checks use the supplied modulus value even if it has already been found to be too large. An application that calls DH_check() and supplies a key or parameters obtained from an untrusted source could be vulernable to a Denial of Service attack. The function DH_check() is itself called by a number of other OpenSSL functions. An application calling any of those other functions may similarly be affected. The other functions affected by this are DH_check_ex() and EVP_PKEY_param_check(). Also vulnerable are the OpenSSL dhparam and pkeyparam command line applications when using the '-check' option. The OpenSSL SSL/TLS implementation is not affected by this issue. The OpenSSL 3.0 and 3.1 FIPS providers are not affected by this issue.

Severity

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS
6.5% (unchanged from 6.5% a week ago; 6.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 94th 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.
CWEs
CWE-1333 Inefficient Regular Expression Complexity
CWE-606 Unchecked Input for Loop Condition
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-2023-3446 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-3446?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-3446?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-2023-3446 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.1.0 before 3.1.2
OpenSSLfrom 3.0.0 before 3.0.10
OpenSSLfrom 1.1.1 before 1.1.1v
OpenSSLfrom 1.0.2 before 1.0.2zi

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10openssl1.1.1n-0+deb10u6DLA-3530-1
Debian12openssl3.0.10-1~deb12u1DEBIAN-CVE-2023-3446
Debian13, 14openssl3.0.10-1DEBIAN-CVE-2023-3446
Ubuntu20.04:LTSopenssl1.1.1f-1ubuntu2.20UBUNTU-CVE-2023-3446 USN-6435-2
Ubuntu22.04:LTSedk22022.02-3ubuntu0.22.04.4UBUNTU-CVE-2023-3446 USN-7894-1
Ubuntu22.04:LTSopenssl3.0.2-0ubuntu1.12UBUNTU-CVE-2023-3446 USN-6450-1
Ubuntu24.04:LTSedk22024.02-2ubuntu0.6UBUNTU-CVE-2023-3446 USN-7894-1
UbuntuPro:14.04:LTSopenssl1.0.1f-1ubuntu2.27+esm10UBUNTU-CVE-2023-3446 USN-7018-1
UbuntuPro:16.04:LTSopenssl1.0.2g-1ubuntu4.20+esm10UBUNTU-CVE-2023-3446 USN-6435-1
UbuntuPro:16.04:LTS, Pro:18.04:LTS, Pro:20.04:LTSedk2no fix listedUBUNTU-CVE-2023-3446
UbuntuPro:18.04:LTSopenssl1.1.1-1ubuntu2.1~18.04.23+esm3UBUNTU-CVE-2023-3446 USN-6435-1
UbuntuPro:18.04:LTSopenssl1.01.0.2n-1ubuntu5.13+esm1UBUNTU-CVE-2023-3446 USN-6709-1
UbuntuPro:22.04:LTSnodejsno fix listedUBUNTU-CVE-2023-3446
UbuntuPro:FIPS-preview:22.04:LTS, Pro:FIPS-updates:22.04:LTSopenssl3.0.2-0ubuntu1.12+Fips1UBUNTU-CVE-2023-3446
UbuntuPro:FIPS-updates:16.04:LTSopenssl1.0.2g-1ubuntu4.fips.4.20.10UBUNTU-CVE-2023-3446
3 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:8::appstreamedk2, edk2-ovmf, edk2-aarch640:20220126gitbb1bba3d77-6.el8_9.3RHSA-2024:0888
Red Hatenterprise_linux:8::baseosopenssl, openssl-libs, openssl-perl and 4 more1:1.1.1k-12.el8_9RHSA-2023:7877
Red Hatenterprise_linux:9::appstreamedk2, edk2-ovmf, edk2-aarch640:20231122-6.el9RHSA-2024:2264
Red Hatenterprise_linux:9::appstreamopenssl-perl, openssl-devel, openssl-debuginfo and 2 more1:3.0.7-27.el9RHSA-2024:2447
Red Hatenterprise_linux:9::baseosopenssl, openssl-libs, openssl-debuginfo and 2 more1:3.0.7-27.el9RHSA-2024:2447
Red Hatenterprise_linux:9::crbedk2-ovmf, edk2-tools, edk2-aarch64 and 3 more0:20231122-6.el9RHSA-2024:2264
Red Hatjboss_core_services:1::el7jbcs-httpd24-curl, jbcs-httpd24-libcurl, jbcs-httpd24-libcurl-devel and 1 more0:8.4.0-2.el7jbcsRHSA-2023:7625
Red Hatjboss_core_services:1::el7jbcs-httpd24-mod_http2, jbcs-httpd24-mod_http2-debuginfo0:1.15.19-32.el7jbcsRHSA-2023:7625
Red Hatjboss_core_services:1::el7jbcs-httpd24-mod_jk, jbcs-httpd24-mod_jk-ap24, jbcs-httpd24-mod_jk-debuginfo0:1.2.49-1.redhat_1.el7jbcsRHSA-2023:7625
Red Hatjboss_core_services:1::el7jbcs-httpd24-openssl, jbcs-httpd24-openssl-libs, jbcs-httpd24-openssl-perl and 3 more1:1.1.1k-16.el7jbcsRHSA-2023:7625
Red Hatjboss_core_services:1::el8jbcs-httpd24-curl, jbcs-httpd24-libcurl, jbcs-httpd24-libcurl-devel and 2 more0:8.4.0-2.el8jbcsRHSA-2023:7625
Red Hatjboss_core_services:1::el8jbcs-httpd24-mod_http2, jbcs-httpd24-mod_http2-debuginfo0:1.15.19-32.el8jbcsRHSA-2023:7625
12 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 7, Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP2-LTSS and 11 moreopenssl-1_11.1.1d-150200.11.72.1SUSE-SU-2023:3179-1
SUSEEnterprise Storage 7, Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-ESPOS and 9 moreopenssl-1_0_01.0.2p-150000.3.82.1SUSE-SU-2023:3093-1
SUSELinux Enterprise High Performance Computing 15 SP1-LTSS, Linux Enterprise Server 15 SP1-LTSS, Linux Enterprise Server for SAP Applications 15 SP1openssl-1_11.1.0i-150100.14.59.1SUSE-SU-2023:2961-1
SUSELinux Enterprise Micro 5.3, Linux Enterprise Micro 5.4, Linux Enterprise Module for Basesystem 15 SP4openssl-1_11.1.1l-150400.7.48.1SUSE-SU-2023:2962-1
SUSELinux Enterprise Module for Basesystem 15 SP4openssl-33.0.8-150400.4.31.2SUSE-SU-2023:3013-1
SUSELinux Enterprise Module for Basesystem 15 SP5openssl-1_11.1.1l-150500.17.9.1SUSE-SU-2023:2965-1
SUSELinux Enterprise Module for Basesystem 15 SP5openssl-33.0.8-150500.5.8.1SUSE-SU-2023:3011-1
SUSELinux Enterprise Module for Legacy 12, Linux Enterprise Server for SAP Applications 12 SP4, Linux Enterprise Server for SAP Applications 12 SP5compat-openssl0980.9.8j-106.58.1SUSE-SU-2023:3096-1
SUSELinux Enterprise Server 11 SP4 LTSS EXTREME COREopenssl0.9.8j-0.106.77.1SUSE-SU-2023:2973-1
SUSELinux Enterprise Server 11 SP4 LTSS EXTREME COREopenssl11.0.1g-0.58.73.1SUSE-SU-2023:2972-1
SUSELinux Enterprise Server 12 SP2-BCLopenssl1.0.2j-60.101.1SUSE-SU-2023:3160-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5openssl-1_0_01.0.2p-3.81.1SUSE-SU-2023:3012-1
1 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.4openssl-33.0.8-150400.4.31.2SUSE-SU-2023:3013-1
openSUSELeap 15.4, Leap 15.5openssl-1_0_01.0.2p-150000.3.82.1SUSE-SU-2023:3093-1
openSUSELeap 15.4, Leap Micro 5.3, Leap Micro 5.4openssl-1_11.1.1l-150400.7.48.1SUSE-SU-2023:2962-1
openSUSELeap 15.5openssl-1_11.1.1l-150500.17.9.1SUSE-SU-2023:2965-1
openSUSELeap 15.5openssl-33.0.8-150500.5.8.1SUSE-SU-2023:3011-1
openSUSETumbleweedopenssl-1_0_01.0.2u-21.1openSUSE-SU-2024:13070-1
openSUSETumbleweedopenssl-1_11.1.1u-5.1openSUSE-SU-2024:13064-1
openSUSETumbleweedopenssl-33.1.1-3.1openSUSE-SU-2024:13065-1
AlmaLinux8edk2-ovmf, edk2-aarch6420220126gitbb1bba3d77-6.el8_9.3ALSA-2024:0888
AlmaLinux8openssl, openssl-libs, openssl-perl and 1 more1:1.1.1k-12.el8_9ALSA-2023:7877
AlmaLinux9edk2-ovmf, edk2-tools, edk2-aarch64 and 1 more20231122-6.el9ALSA-2024:2264
AlmaLinux9openssl, openssl-libs, openssl-perl and 1 more1:3.0.7-27.el9ALSA-2024:2447
Rocky Linux8openssl1:1.1.1k-12.el8_9RLSA-2023:7877
Rocky Linux9edk20:20231122-6.el9RLSA-2024:2264
Alpinev3.15, v3.16openssl1.1.1u-r2ALPINE-CVE-2023-3446
Alpinev3.15, v3.16openssl33.0.9-r2ALPINE-CVE-2023-3446
Alpinev3.17openssl3.0.9-r3ALPINE-CVE-2023-3446
Alpinev3.17, v3.18openssl1.1-compat1.1.1u-r1ALPINE-CVE-2023-3446
Alpinev3.18, v3.19, v3.20 and 4 moreopenssl3.1.1-r3ALPINE-CVE-2023-3446
Azure Linux2hvloader1.0.1-6AZL-47646
Azure Linux2openssl1.1.1k-28AZL-42955

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; Microsoft's Azure Linux vulnerability data, MIT. 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 Low.

Red Hat's statement

The CVE-2023-3446 vulnerability in OpenSSL has been classified as having a low impact due to several factors. Firstly, while the potential for a Denial of Service (DoS) attack exists, it requires specific conditions to be met, notably the use of DH_check(), DH_check_ex(), or EVP_PKEY_param_check() functions with DH keys or parameters obtained from untrusted sources. Secondly, the issue primarily affects the efficiency of key and parameter checks, rather than directly compromising the security or integrity of cryptographic operations. Given these considerations and the absence of widespread exploitation or significant consequences beyond performance degradation, the overall impact of this vulnerability is deemed low rather than moderate.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
JBoss Core Services for RHEL 8jbcs-httpd24-openssl-1:1.1.1k-16.el8jbcsFixed 2023-12-07RHSA-2023:7625
JBoss Core Services on RHEL 7jbcs-httpd24-openssl-1:1.1.1k-16.el7jbcsFixed 2023-12-07RHSA-2023:7625
Red Hat Enterprise Linux 8edk2-0:20220126gitbb1bba3d77-6.el8_9.3Fixed 2024-02-20RHSA-2024:0888
Red Hat Enterprise Linux 8openssl-1:1.1.1k-12.el8_9Fixed 2023-12-19RHSA-2023:7877
Red Hat Enterprise Linux 8.6 Extended Update Supportedk2-0:20220126gitbb1bba3d77-2.el8_6.2Fixed 2024-01-25RHSA-2024:0408
Red Hat Enterprise Linux 8.6 Extended Update Supportopenssl-1:1.1.1k-12.el8_6Fixed 2024-01-11RHSA-2024:0208
Red Hat Enterprise Linux 8.8 Extended Update Supportedk2-0:20220126gitbb1bba3d77-4.el8_8.3Fixed 2024-03-19RHSA-2024:1415
Red Hat Enterprise Linux 8.8 Extended Update Supportopenssl-1:1.1.1k-12.el8_8Fixed 2024-01-10RHSA-2024:0154
Red Hat Enterprise Linux 9edk2-0:20231122-6.el9Fixed 2024-04-30RHSA-2024:2264
Red Hat Enterprise Linux 9openssl-1:3.0.7-27.el9Fixed 2024-04-30RHSA-2024:2447
Red Hat JBoss Core ServicesopensslFixed 2023-12-07RHSA-2023:7626
Red Hat Enterprise Linux 6opensslOut of support scope
Red Hat Enterprise Linux 7opensslOut of support scope
Red Hat Enterprise Linux 7ovmfOut of support scope
Red Hat Enterprise Linux 8compat-openssl10Will not fix
Red Hat Enterprise Linux 8mingw-opensslWill not fix
Red Hat Enterprise Linux 8shimNot affected
Red Hat Enterprise Linux 8shim-unsigned-x64Not affected
Red Hat Enterprise Linux 9compat-openssl11Will not fix
Red Hat Enterprise Linux 9shimNot affected
4 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-2023-3446.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-25-100-02Siemens SIDIS Prime2025-04-08Chemical, Critical Manufacturing, Energy, Food and Agriculture, Water and Wastewater SystemsSIDIS Primenone listed
ICSA-25-044-09Siemens SCALANCE W700 IEEE 802.11ax2025-02-11Chemical, Critical Manufacturing, Energy, Food and Agriculture, Water and Wastewater SystemsSCALANCE WAB762-1 (6GK5762-1AJ00-6AA0), SCALANCE WAM763-1 (6GK5763-1AL00-7DA0), SCALANCE WAM763-1 (ME) (6GK5763-1AL00-7DC0) and 16 morenone listed
ICSA-24-319-08Siemens SINEC INS2024-11-12MultipleSINEC INSnone listed
ICSA-24-165-04Siemens ST7 ScadaConnect2024-06-11MultipleST7 ScadaConnect (6NH7997-5DA10-0AA0)none listed
ICSA-24-046-15Siemens SINEC NMS2024-02-13MultipleSINEC NMSnone listed
ICSA-23-348-10Siemens SIMATIC S7-15002023-12-12Critical Manufacturing, Transportation Systems, Energy, Healthcare and Public Health, Financial Services, Government Services and FacilitiesSIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0), SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0), SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) and 2 morenone listed
ICSA-23-320-13Siemens SIMATIC MV5002023-11-14MultipleSIMATIC MV500 familynone listed
ICSA-23-166-11Siemens SIMATIC S7-1500 TM MFP Linux Kernel2023-06-13MultipleSIMATIC S7-1500 TM MFP - GNU/Linux subsystemnone 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.

Attack patterns (CAPEC)

  • CAPEC-492 Regular Expression Exponential Blowup

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON