CVE-2023-5678

libssl3t64: Issue summary: Generating excessively long X9.42 DH keys or checkingexcessively long X9.42 DH keys or parameters may...

CVE-2023-5678 is fixed in 27 products on 1 platform, first by DEBIAN-CVE-2023-5678, released November 6, 2023. It is not reported as exploited. Patch Radar priority: Routine.

Routine
CVSS
5.9
Low
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0509
92nd percentile

Issue summary: Generating excessively long X9.42 DH keys or checkingexcessively long X9.42 DH keys or parameters may be very slow.Impact summary: Applications that use the functions DH_generate_key() togenerate an X9.42 DH key may experience long delays. Likewise,applicationsthat use DH_check_pub_key(), DH_check_pub_key_ex() orEVP_PKEY_public_check()to check an X9.42 DH key or X9.42 DH parameters may experience long delays.Where the key or parameters that are being checked have been obtained froman untrusted source this may lead to a Denial of Service.While DH_check() performs all the necessary checks (as of CVE-2023-3817),DH_check_pub_key() doesn't make any of these checks, and is thereforevulnerable for excessively large P and Q parameters.Likewise, while DH_generate_key() performs a check for an excessively largeP, it doesn't check for an excessively large Q.An application that calls DH_generate_key() or DH_check_pub_key() andsupplies a key or parameters obtained from an untrusted source could bevulnerable to a Denial of Service attack.DH_generate_key() and DH_check_pub_key() are also called by a number ofother OpenSSL functions. An application calling any of those otherfunctions may similarly be affected. The other functions affected by thisare DH_check_pub_key_ex(), EVP_PKEY_public_check(), andEVP_PKEY_generate().Also vulnerable are the OpenSSL pkey command line application when usingthe"-pubcheck" option, as well as the OpenSSL genpkey command lineapplication.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.

Where it's fixed

ProductFixed inFixReleased
Linux
efi-shell-aa64 · Ubuntu 24.04.5 LTS (noble) 2024.02-2ubuntu0.6 efi-shell-aa64 2024.02-2ubuntu0.6 Aug 12, 2025
efi-shell-arm · Ubuntu 24.04.5 LTS (noble) 2024.02-2ubuntu0.6 efi-shell-arm 2024.02-2ubuntu0.6 Aug 12, 2025
efi-shell-ia32 · Ubuntu 24.04.5 LTS (noble) 2024.02-2ubuntu0.6 efi-shell-ia32 2024.02-2ubuntu0.6 Aug 12, 2025
efi-shell-riscv64 · Ubuntu 24.04.5 LTS (noble) 2024.02-2ubuntu0.6 efi-shell-riscv64 2024.02-2ubuntu0.6 Aug 12, 2025
efi-shell-x64 · Ubuntu 24.04.5 LTS (noble) 2024.02-2ubuntu0.6 efi-shell-x64 2024.02-2ubuntu0.6 Aug 12, 2025
libssl1.0.0 · Ubuntu 18.04.6 LTS (bionic) 1.0.2n-1ubuntu5.13+esm1 libssl1.0.0 1.0.2n-1ubuntu5.13+esm1 Jan 26, 2024
libssl1.1 · Ubuntu 18.04.6 LTS (bionic) 1.1.1-1ubuntu2.1~18.04.23+esm4 libssl1.1 1.1.1-1ubuntu2.1~18.04.23+esm4 Jan 26, 2024
libssl1.1 · Ubuntu 20.04 LTS (focal) 1.1.1f-1ubuntu2.21 libssl1.1 1.1.1f-1ubuntu2.21 Jan 26, 2024
libssl3 · Ubuntu 22.04.1 LTS (jammy) 3.0.2-0ubuntu1.14 libssl3 3.0.2-0ubuntu1.14 Jan 26, 2024
libssl3 · Ubuntu 24.04.5 LTS (noble) 3.0.10-1ubuntu4 libssl3 3.0.10-1ubuntu4 Jan 26, 2024
libssl3t64 · Ubuntu 24.10 (oracular) 3.0.10-1ubuntu4 libssl3t64 3.0.10-1ubuntu4 Jan 15, 2024
libssl3t64 · Ubuntu 25.04 (plucky) 3.0.10-1ubuntu4 libssl3t64 3.0.10-1ubuntu4 Jan 15, 2024
openssl · Debian 11.6 (bullseye) 1.1.1w-0+deb11u2 DLA-3942-2 Nov 3, 2024
openssl · Debian 12.15 (bookworm) 3.0.13-1~deb12u1 DEBIAN-CVE-2023-5678 Nov 6, 2023
openssl · Debian 13.5 (trixie) 3.0.12-2 DEBIAN-CVE-2023-5678 Nov 6, 2023
openssl · Debian 14 3.0.12-2 DEBIAN-CVE-2023-5678 Nov 6, 2023
openssl · RHEL 8 1:1.1.1k-12.el8_9 RHSA-2023:7877 Dec 19, 2023
openssl · RHEL 9 1:3.0.7-27.el9 RHSA-2024:2447 Apr 30, 2024
openssl · Ubuntu 18.04.6 LTS (bionic) 1.1.1-1ubuntu2.1~18.04.23+esm4 openssl 1.1.1-1ubuntu2.1~18.04.23+esm4 Jan 26, 2024
openssl · Ubuntu 20.04 LTS (focal) 1.1.1f-1ubuntu2.21 openssl 1.1.1f-1ubuntu2.21 Jan 26, 2024
openssl · Ubuntu 22.04.1 LTS (jammy) 3.0.2-0ubuntu1.14 openssl 3.0.2-0ubuntu1.14 Jan 26, 2024
openssl · Ubuntu 24.04.5 LTS (noble) 3.0.10-1ubuntu4 openssl 3.0.10-1ubuntu4 Jan 26, 2024
openssl · Ubuntu 24.10 (oracular) 3.0.10-1ubuntu4 openssl 3.0.10-1ubuntu4 Jan 15, 2024
openssl · Ubuntu 25.04 (plucky) 3.0.10-1ubuntu4 openssl 3.0.10-1ubuntu4 Jan 15, 2024
openssl · almalinux 8 1:1.1.1k-12.el8_9 ALSA-2023:7877 Dec 19, 2023
openssl · almalinux 9 1:3.0.7-27.el9 ALSA-2024:2447 Apr 30, 2024
openssl · amzn 2023 1:3.0.8-1.amzn2023.0.10 ALAS2023-2023-443 Dec 6, 2023
openssl · ol 8 2:1.1.1k-12.ksplice1.el8_9 ELSA-2024-12056 Jan 10, 2024
openssl · ol 9 1:3.0.7-27.0.3.el9 ELSA-2024-2447 May 3, 2024
openssl · rocky 8 1:1.1.1k-12.el8_9 RLSA-2023:7877 Dec 3, 2025
openssl-debuginfo · amzn 2023 1:3.0.8-1.amzn2023.0.10 ALAS2023-2023-443 Dec 6, 2023
openssl-debugsource · amzn 2023 1:3.0.8-1.amzn2023.0.10 ALAS2023-2023-443 Dec 6, 2023
openssl-devel · RHEL 8 1:1.1.1k-12.el8_9 RHSA-2023:7877 Dec 19, 2023
openssl-devel · RHEL 9 1:3.0.7-27.el9 RHSA-2024:2447 Apr 30, 2024
openssl-devel · almalinux 8 1:1.1.1k-12.el8_9 ALSA-2023:7877 Dec 19, 2023
openssl-devel · almalinux 9 1:3.0.7-27.el9 ALSA-2024:2447 Apr 30, 2024
openssl-devel · amzn 2023 1:3.0.8-1.amzn2023.0.10 ALAS2023-2023-443 Dec 6, 2023
openssl-devel · ol 8 2:1.1.1k-12.ksplice1.el8_9 ELSA-2024-12056 Jan 10, 2024
openssl-devel · ol 9 1:3.0.7-27.0.3.el9 ELSA-2024-2447 May 3, 2024
openssl-fips-provider · ol 9 0:3.0.7-2.0.1.el9 ELSA-2024-2447 May 3, 2024
openssl-libs · RHEL 8 1:1.1.1k-12.el8_9 RHSA-2023:7877 Dec 19, 2023
openssl-libs · RHEL 9 1:3.0.7-27.el9 RHSA-2024:2447 Apr 30, 2024
openssl-libs · almalinux 8 1:1.1.1k-12.el8_9 ALSA-2023:7877 Dec 19, 2023
openssl-libs · almalinux 9 1:3.0.7-27.el9 ALSA-2024:2447 Apr 30, 2024
openssl-libs · amzn 2023 1:3.0.8-1.amzn2023.0.10 ALAS2023-2023-443 Dec 6, 2023
openssl-libs · ol 8 2:1.1.1k-12.ksplice1.el8_9 ELSA-2024-12056 Jan 10, 2024
openssl-libs · ol 9 1:3.0.7-27.0.3.el9 ELSA-2024-2447 May 3, 2024
openssl-libs-debuginfo · amzn 2023 1:3.0.8-1.amzn2023.0.10 ALAS2023-2023-443 Dec 6, 2023
openssl-perl · RHEL 8 1:1.1.1k-12.el8_9 RHSA-2023:7877 Dec 19, 2023
openssl-perl · RHEL 9 1:3.0.7-27.el9 RHSA-2024:2447 Apr 30, 2024
openssl-perl · almalinux 8 1:1.1.1k-12.el8_9 ALSA-2023:7877 Dec 19, 2023
openssl-perl · almalinux 9 1:3.0.7-27.el9 ALSA-2024:2447 Apr 30, 2024
openssl-perl · amzn 2023 1:3.0.8-1.amzn2023.0.10 ALAS2023-2023-443 Dec 6, 2023
openssl-perl · ol 8 2:1.1.1k-12.ksplice1.el8_9 ELSA-2024-12056 Jan 10, 2024
openssl-perl · ol 9 1:3.0.7-27.0.3.el9 ELSA-2024-2447 May 3, 2024
openssl-snapsafe-libs · amzn 2023 1:3.0.8-1.amzn2023.0.10 ALAS2023-2023-443 Dec 6, 2023
openssl-snapsafe-libs-debuginfo · amzn 2023 1:3.0.8-1.amzn2023.0.10 ALAS2023-2023-443 Dec 6, 2023
openssl-static · ol 8 2:1.1.1k-12.ksplice1.el8_9 ELSA-2024-12056 Jan 10, 2024
openssl1.0 · Ubuntu 18.04.6 LTS (bionic) 1.0.2n-1ubuntu5.13+esm1 openssl1.0 1.0.2n-1ubuntu5.13+esm1 Jan 26, 2024
ovmf · Ubuntu 22.04.1 LTS (jammy) 2022.02-3ubuntu0.22.04.4 ovmf 2022.02-3ubuntu0.22.04.4 Aug 12, 2025
ovmf · Ubuntu 24.04.5 LTS (noble) 2024.02-2ubuntu0.6 ovmf 2024.02-2ubuntu0.6 Aug 12, 2025
ovmf-ia32 · Ubuntu 22.04.1 LTS (jammy) 2022.02-3ubuntu0.22.04.4 ovmf-ia32 2022.02-3ubuntu0.22.04.4 Aug 12, 2025
ovmf-ia32 · Ubuntu 24.04.5 LTS (noble) 2024.02-2ubuntu0.6 ovmf-ia32 2024.02-2ubuntu0.6 Aug 12, 2025
qemu-efi · Ubuntu 22.04.1 LTS (jammy) 2022.02-3ubuntu0.22.04.4 qemu-efi 2022.02-3ubuntu0.22.04.4 Aug 12, 2025
qemu-efi-aarch64 · Ubuntu 22.04.1 LTS (jammy) 2022.02-3ubuntu0.22.04.4 qemu-efi-aarch64 2022.02-3ubuntu0.22.04.4 Aug 12, 2025
qemu-efi-aarch64 · Ubuntu 24.04.5 LTS (noble) 2024.02-2ubuntu0.6 qemu-efi-aarch64 2024.02-2ubuntu0.6 Aug 12, 2025
qemu-efi-arm · Ubuntu 22.04.1 LTS (jammy) 2022.02-3ubuntu0.22.04.4 qemu-efi-arm 2022.02-3ubuntu0.22.04.4 Aug 12, 2025
qemu-efi-arm · Ubuntu 24.04.5 LTS (noble) 2024.02-2ubuntu0.6 qemu-efi-arm 2024.02-2ubuntu0.6 Aug 12, 2025
qemu-efi-riscv64 · Ubuntu 24.04.5 LTS (noble) 2024.02-2ubuntu0.6 qemu-efi-riscv64 2024.02-2ubuntu0.6 Aug 12, 2025

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.