Skip to content
OpenAdvisories
Medium · 5.3 CVE-2023-3446 EUVD-2023-44108GHSA-3p3x-vg38-6g9q

Excessive time spent checking DH keys and parameters

Published Jul 19, 2023 · Updated Oct 14, 2026 · Assigned by openssl

Description

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.

Affected products

VendorProductAffectedFixed
OpenSSL OpenSSL 3.1.0 – < 3.1.2, 3.0.0 – < 3.0.10, 1.1.1 – < 1.1.1v, 1.0.2 – < 1.0.2zi 3.1.2

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.10-1 —
Debian 13 openssl 3.0.10-1 —
Debian 12 openssl 3.0.10-1~deb12u1 —
Debian 10 openssl 1.1.1n-0+deb10u6 DLA-3530-1
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS edk2 2024.02-2ubuntu0.6 USN-7894-1
Ubuntu 22.04 LTS edk2 2022.02-3ubuntu0.22.04.4 USN-7894-1
Ubuntu 22.04 LTS openssl 3.0.2-0ubuntu1.12 USN-6450-1
Ubuntu 20.04 LTS openssl 1.1.1f-1ubuntu2.20 USN-6435-2
Show 13 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro FIPS 20.04 LTS openssl No fix yet —
Ubuntu Pro FIPS 18.04 LTS openssl No fix yet —
Ubuntu Pro FIPS 16.04 LTS openssl No fix yet —
Ubuntu Pro FIPS-updates 22.04 LTS openssl 3.0.2-0ubuntu1.12+Fips1 —
Ubuntu Pro FIPS-updates 20.04 LTS openssl 1.1.1f-1ubuntu2.fips.20 —
Ubuntu Pro FIPS-updates 18.04 LTS openssl 1.1.1-1ubuntu2.fips.2.1~18.04.23.3 —
Ubuntu Pro FIPS-updates 16.04 LTS openssl 1.0.2g-1ubuntu4.fips.4.20.10 —
Ubuntu Pro FIPS-preview 22.04 LTS openssl 3.0.2-0ubuntu1.12+Fips1 —
Ubuntu Pro 22.04 LTS nodejs No fix yet —
Ubuntu Pro 20.04 LTS edk2 No fix yet —
Ubuntu Pro 18.04 LTS edk2 No fix yet —
Ubuntu Pro 18.04 LTS openssl 1.1.1-1ubuntu2.1~18.04.23+esm3 USN-6435-1
Ubuntu Pro 18.04 LTS openssl1.0 1.0.2n-1ubuntu5.13+esm1 USN-6709-1
Ubuntu Pro 16.04 LTS edk2 No fix yet —
Ubuntu Pro 16.04 LTS openssl 1.0.2g-1ubuntu4.20+esm10 USN-6435-1
Ubuntu Pro 14.04 LTS openssl 1.0.1f-1ubuntu2.27+esm10 USN-7018-1
ReleasePackageFixed inAdvisory
RHEL 9 edk2 +4 20231122-6.el9 RHSA-2024:2264
RHEL 9 openssl +3 1:3.0.7-27.el9 RHSA-2024:2447
RHEL 8 edk2 +2 20220126gitbb1bba3d77-6.el8_9.3 RHSA-2024:0888
RHEL 8 openssl +3 1:1.1.1k-12.el8_9 RHSA-2023:7877
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 8.8 EUS edk2 +2 20220126gitbb1bba3d77-4.el8_8.3 RHSA-2024:1415
RHEL 8.8 EUS openssl +3 1:1.1.1k-12.el8_8 RHSA-2024:0154
RHEL 8.6 EUS edk2 +2 20220126gitbb1bba3d77-2.el8_6.2 RHSA-2024:0408
RHEL 8.6 EUS openssl +3 1:1.1.1k-12.el8_6 RHSA-2024:0208
Red Hat JBoss Web Server 5 jws5-tomcat +11 9.0.62-19.redhat_00017.1.el7jws RHSA-2023:7622
Red Hat JBoss Web Server 5 jws5-tomcat-native 1.2.31-16.redhat_16.el7jws RHSA-2023:7622
Red Hat JBoss Core Services 1 jbcs-httpd24-curl +2 8.4.0-2.el7jbcs RHSA-2023:7625
Red Hat JBoss Core Services 1 jbcs-httpd24-mod_http2 1.15.19-32.el7jbcs RHSA-2023:7625
Red Hat JBoss Core Services 1 jbcs-httpd24-mod_jk +1 1.2.49-1.redhat_1.el7jbcs RHSA-2023:7625
Red Hat JBoss Core Services 1 jbcs-httpd24-openssl +4 1:1.1.1k-16.el7jbcs RHSA-2023:7625

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 edk2-ovmf +3 20231122-6.el9 ALSA-2024:2264
AlmaLinux 9 openssl +3 1:3.0.7-27.el9 ALSA-2024:2447
AlmaLinux 8 edk2-ovmf +1 20220126gitbb1bba3d77-6.el8_9.3 ALSA-2024:0888
AlmaLinux 8 openssl +3 1:1.1.1k-12.el8_9 ALSA-2023:7877

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 9 edk2 20231122-6.el9 RLSA-2024:2264
Rocky Linux 8 openssl 1:1.1.1k-12.el8_9 RLSA-2023:7877
ReleasePackageFixed inAdvisory
SLES 15 SP5 openssl-1_0_0 1.0.2p-150000.3.82.1 SUSE-SU-2023:3093-1
SLES 15 SP5 openssl-1_1 1.1.1l-150500.17.9.1 SUSE-SU-2023:2965-1
SLES 15 SP5 openssl-3 3.0.8-150500.5.8.1 SUSE-SU-2023:3011-1
SLES 15 SP4 openssl-1_0_0 1.0.2p-150000.3.82.1 SUSE-SU-2023:3093-1
SLES 15 SP4 openssl-1_1 1.1.1l-150400.7.48.1 SUSE-SU-2023:2962-1
SLES 15 SP4 openssl-3 3.0.8-150400.4.31.2 SUSE-SU-2023:3013-1
SLES 15 SP3 openssl-1_0_0 1.0.2p-150000.3.82.1 SUSE-SU-2023:3093-1
SLES 15 SP3 openssl-1_1 1.1.1d-150200.11.72.1 SUSE-SU-2023:3179-1
SLES 15 SP2 openssl-1_0_0 1.0.2p-150000.3.82.1 SUSE-SU-2023:3093-1
SLES 15 SP2 openssl-1_1 1.1.1d-150200.11.72.1 SUSE-SU-2023:3179-1
SLES 15 SP1 openssl-1_0_0 1.0.2p-150000.3.82.1 SUSE-SU-2023:3093-1
SLES 15 SP1 openssl-1_1 1.1.0i-150100.14.59.1 SUSE-SU-2023:2961-1
Show 21 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 SP5 openssl-1_0_0 1.0.2p-3.81.1 SUSE-SU-2023:3012-1
SLES 12 SP5 openssl-1_1 1.1.1d-2.92.1 SUSE-SU-2023:2964-1
SLES 12 SP2 openssl 1.0.2j-60.101.1 SUSE-SU-2023:3160-1
SLES 12 compat-openssl098 0.9.8j-106.58.1 SUSE-SU-2023:3096-1
SLES 11 SP4 openssl 0.9.8j-0.106.77.1 SUSE-SU-2023:2973-1
SLES 11 SP4 openssl1 1.0.1g-0.58.73.1 SUSE-SU-2023:2972-1
SLES for SAP 15 SP3 openssl-1_0_0 1.0.2p-150000.3.82.1 SUSE-SU-2023:3093-1
SLES for SAP 15 SP3 openssl-1_1 1.1.1d-150200.11.72.1 SUSE-SU-2023:3179-1
SLES for SAP 15 SP2 openssl-1_0_0 1.0.2p-150000.3.82.1 SUSE-SU-2023:3093-1
SLES for SAP 15 SP2 openssl-1_1 1.1.1d-150200.11.72.1 SUSE-SU-2023:3179-1
SLES for SAP 15 SP1 openssl-1_0_0 1.0.2p-150000.3.82.1 SUSE-SU-2023:3093-1
SLES for SAP 15 SP1 openssl-1_1 1.1.0i-150100.14.59.1 SUSE-SU-2023:2961-1
SLES for SAP 12 SP5 compat-openssl098 0.9.8j-106.58.1 SUSE-SU-2023:3096-1
SLES for SAP 12 SP5 openssl-1_0_0 1.0.2p-3.81.1 SUSE-SU-2023:3012-1
SLES for SAP 12 SP5 openssl-1_1 1.1.1d-2.92.1 SUSE-SU-2023:2964-1
SLES for SAP 12 SP4 compat-openssl098 0.9.8j-106.58.1 SUSE-SU-2023:3096-1
SLE Real Time 15 SP3 openssl-1_1 1.1.1d-150200.11.72.1 SUSE-SU-2023:3179-1
SLE Micro 5.4 openssl-1_1 1.1.1l-150400.7.48.1 SUSE-SU-2023:2962-1
SLE Micro 5.3 openssl-1_1 1.1.1l-150400.7.48.1 SUSE-SU-2023:2962-1
SLE Micro 5.2 openssl-1_1 1.1.1d-150200.11.72.1 SUSE-SU-2023:3179-1
SLE Micro 5.1 openssl-1_1 1.1.1d-150200.11.72.1 SUSE-SU-2023:3179-1
SLE HPC 15 SP3 openssl-1_0_0 1.0.2p-150000.3.82.1 SUSE-SU-2023:3093-1
SLE HPC 15 SP3 openssl-1_1 1.1.1d-150200.11.72.1 SUSE-SU-2023:3179-1
SLE HPC 15 SP2 openssl-1_1 1.1.1d-150200.11.72.1 SUSE-SU-2023:3179-1
SLE HPC 15 SP1 openssl-1_1 1.1.0i-150100.14.59.1 SUSE-SU-2023:2961-1
SUSE Manager Server 4.2 openssl-1_1 1.1.1d-150200.11.72.1 SUSE-SU-2023:3179-1
SUSE Manager Proxy 4.2 openssl-1_1 1.1.1d-150200.11.72.1 SUSE-SU-2023:3179-1
SUSE Enterprise Storage 7.1 openssl-1_0_0 1.0.2p-150000.3.82.1 SUSE-SU-2023:3093-1
SUSE Enterprise Storage 7.1 openssl-1_1 1.1.1d-150200.11.72.1 SUSE-SU-2023:3179-1
SUSE Enterprise Storage 7 openssl-1_0_0 1.0.2p-150000.3.82.1 SUSE-SU-2023:3093-1
SUSE Enterprise Storage 7 openssl-1_1 1.1.1d-150200.11.72.1 SUSE-SU-2023:3179-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed openssl-1_0_0 1.0.2u-21.1 openSUSE-SU-2024:13070-1
openSUSE Tumbleweed openssl-1_1 1.1.1u-5.1 openSUSE-SU-2024:13064-1
openSUSE Tumbleweed openssl-3 3.1.1-3.1 openSUSE-SU-2024:13065-1
openSUSE Leap 15.5 openssl-1_0_0 1.0.2p-150000.3.82.1 SUSE-SU-2023:3093-1
openSUSE Leap 15.5 openssl-1_1 1.1.1l-150500.17.9.1 SUSE-SU-2023:2965-1
openSUSE Leap 15.5 openssl-3 3.0.8-150500.5.8.1 SUSE-SU-2023:3011-1
openSUSE Leap 15.4 openssl-1_0_0 1.0.2p-150000.3.82.1 SUSE-SU-2023:3093-1
openSUSE Leap 15.4 openssl-1_1 1.1.1l-150400.7.48.1 SUSE-SU-2023:2962-1
openSUSE Leap 15.4 openssl-3 3.0.8-150400.4.31.2 SUSE-SU-2023:3013-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
openSUSE Leap Micro 5.4 openssl-1_1 1.1.1l-150400.7.48.1 SUSE-SU-2023:2962-1
openSUSE Leap Micro 5.3 openssl-1_1 1.1.1l-150400.7.48.1 SUSE-SU-2023:2962-1
ReleasePackageFixed inAdvisory
Alpine v3.24 openssl 3.1.1-r3 —
Alpine v3.23 openssl 3.1.1-r3 —
Alpine v3.22 openssl 3.1.1-r3 —
Alpine v3.21 openssl 3.1.1-r3 —
Alpine v3.20 openssl 3.1.1-r3 —
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 openssl 3.1.1-r3 —
Alpine v3.18 openssl 3.1.1-r3 —
Alpine v3.18 openssl1.1-compat 1.1.1u-r1 —
Alpine v3.17 openssl 3.0.9-r3 —
Alpine v3.17 openssl1.1-compat 1.1.1u-r1 —
Alpine v3.16 openssl 1.1.1u-r2 —
Alpine v3.16 openssl3 3.0.9-r2 —
Alpine v3.15 openssl 1.1.1u-r2 —
Alpine v3.15 openssl3 3.0.9-r2 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 openssl +3 1:3.0.8-1.amzn2023.0.4 ALAS2023-2023-306
Amazon Linux 2 edk2-ovmf +4 20200801stable-1.amzn2.0.5 ALAS2-2024-2502
Amazon Linux 2 openssl +4 1:1.0.2k-24.amzn2.0.9 ALAS2-2023-2246
Amazon Linux 2 openssl11 +3 1:1.1.1g-12.amzn2.0.16 ALAS2-2023-2226

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 2 (CBL-Mariner) hvloader 1.0.1-6 —
Azure Linux 2 (CBL-Mariner) openssl 1.1.1k-28 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 edk2-ovmf +3 20231122-6.0.1.el9 ELSA-2024-2264
Oracle Linux 9 openssl +3 1:3.0.7-27.0.3.el9 ELSA-2024-2447
Oracle Linux 9 openssl-fips-provider 3.0.7-2.0.1.el9 ELSA-2024-2447
Oracle Linux 8 edk2-ovmf +1 20220126gitbb1bba3d77-6.el8_9.3 ELSA-2024-0888
Oracle Linux 8 openssl +3 1:1.1.1k-12.el8_9 ELSA-2023-7877

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling openssl 3.1.1-r3 —

Advisories 50

References