# 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.

- Web page: https://patchblox.com/security/cve/CVE-2023-5678
- Priority: Routine
- CVSS: 5.9 (Low)
- EPSS: 0.0509
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Nov 6, 2023

## Description

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

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | efi-shell-aa64 Ubuntu 24.04.5 LTS (noble) | 2024.02-2ubuntu0.6 | [efi-shell-aa64 2024.02-2ubuntu0.6](https://patchblox.com/security/data/fix/linux/ubuntu-noble-efi-shell-aa64-2024.02-2ubuntu0.6.md) | Aug 12, 2025 |
| Linux | efi-shell-arm Ubuntu 24.04.5 LTS (noble) | 2024.02-2ubuntu0.6 | [efi-shell-arm 2024.02-2ubuntu0.6](https://patchblox.com/security/data/fix/linux/ubuntu-noble-efi-shell-arm-2024.02-2ubuntu0.6.md) | Aug 12, 2025 |
| Linux | efi-shell-ia32 Ubuntu 24.04.5 LTS (noble) | 2024.02-2ubuntu0.6 | [efi-shell-ia32 2024.02-2ubuntu0.6](https://patchblox.com/security/data/fix/linux/ubuntu-noble-efi-shell-ia32-2024.02-2ubuntu0.6.md) | Aug 12, 2025 |
| Linux | efi-shell-riscv64 Ubuntu 24.04.5 LTS (noble) | 2024.02-2ubuntu0.6 | [efi-shell-riscv64 2024.02-2ubuntu0.6](https://patchblox.com/security/data/fix/linux/ubuntu-noble-efi-shell-riscv64-2024.02-2ubuntu0.6.md) | Aug 12, 2025 |
| Linux | efi-shell-x64 Ubuntu 24.04.5 LTS (noble) | 2024.02-2ubuntu0.6 | [efi-shell-x64 2024.02-2ubuntu0.6](https://patchblox.com/security/data/fix/linux/ubuntu-noble-efi-shell-x64-2024.02-2ubuntu0.6.md) | Aug 12, 2025 |
| Linux | libssl1.0.0 Ubuntu 18.04.6 LTS (bionic) | 1.0.2n-1ubuntu5.13+esm1 | [libssl1.0.0 1.0.2n-1ubuntu5.13+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libssl1.0.0-1.0.2n-1ubuntu5.13-esm1.md) | Jan 26, 2024 |
| Linux | 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](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libssl1.1-1.1.1-1ubuntu2.1-18.04.23-esm4.md) | Jan 26, 2024 |
| Linux | libssl1.1 Ubuntu 20.04 LTS (focal) | 1.1.1f-1ubuntu2.21 | [libssl1.1 1.1.1f-1ubuntu2.21](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libssl1.1-1.1.1f-1ubuntu2.21.md) | Jan 26, 2024 |
| Linux | libssl3 Ubuntu 22.04.1 LTS (jammy) | 3.0.2-0ubuntu1.14 | [libssl3 3.0.2-0ubuntu1.14](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libssl3-3.0.2-0ubuntu1.14.md) | Jan 26, 2024 |
| Linux | libssl3 Ubuntu 24.04.5 LTS (noble) | 3.0.10-1ubuntu4 | [libssl3 3.0.10-1ubuntu4](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libssl3-3.0.10-1ubuntu4.md) | Jan 26, 2024 |
| Linux | libssl3t64 Ubuntu 24.10 (oracular) | 3.0.10-1ubuntu4 | [libssl3t64 3.0.10-1ubuntu4](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-libssl3t64-3.0.10-1ubuntu4.md) | Jan 15, 2024 |
| Linux | libssl3t64 Ubuntu 25.04 (plucky) | 3.0.10-1ubuntu4 | [libssl3t64 3.0.10-1ubuntu4](https://patchblox.com/security/data/fix/linux/ubuntu-plucky-libssl3t64-3.0.10-1ubuntu4.md) | Jan 15, 2024 |
| Linux | openssl Debian 11.6 (bullseye) | 1.1.1w-0+deb11u2 | [DLA-3942-2](https://patchblox.com/security/data/fix/linux/dla-3942-2.md) | Nov 3, 2024 |
| Linux | openssl Debian 12.15 (bookworm) | 3.0.13-1~deb12u1 | [DEBIAN-CVE-2023-5678](https://patchblox.com/security/data/fix/linux/debian-cve-2023-5678.md) | Nov 6, 2023 |
| Linux | openssl Debian 13.5 (trixie) | 3.0.12-2 | [DEBIAN-CVE-2023-5678](https://patchblox.com/security/data/fix/linux/debian-cve-2023-5678.md) | Nov 6, 2023 |
| Linux | openssl Debian 14 | 3.0.12-2 | [DEBIAN-CVE-2023-5678](https://patchblox.com/security/data/fix/linux/debian-cve-2023-5678.md) | Nov 6, 2023 |
| Linux | openssl RHEL 8 | 1:1.1.1k-12.el8_9 | [RHSA-2023:7877](https://patchblox.com/security/data/fix/linux/rhsa-2023-7877.md) | Dec 19, 2023 |
| Linux | openssl RHEL 9 | 1:3.0.7-27.el9 | [RHSA-2024:2447](https://patchblox.com/security/data/fix/linux/rhsa-2024-2447.md) | Apr 30, 2024 |
| Linux | 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](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-openssl-1.1.1-1ubuntu2.1-18.04.23-esm4.md) | Jan 26, 2024 |
| Linux | openssl Ubuntu 20.04 LTS (focal) | 1.1.1f-1ubuntu2.21 | [openssl 1.1.1f-1ubuntu2.21](https://patchblox.com/security/data/fix/linux/ubuntu-focal-openssl-1.1.1f-1ubuntu2.21.md) | Jan 26, 2024 |
| Linux | openssl Ubuntu 22.04.1 LTS (jammy) | 3.0.2-0ubuntu1.14 | [openssl 3.0.2-0ubuntu1.14](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-openssl-3.0.2-0ubuntu1.14.md) | Jan 26, 2024 |
| Linux | openssl Ubuntu 24.04.5 LTS (noble) | 3.0.10-1ubuntu4 | [openssl 3.0.10-1ubuntu4](https://patchblox.com/security/data/fix/linux/ubuntu-noble-openssl-3.0.10-1ubuntu4.md) | Jan 26, 2024 |
| Linux | openssl Ubuntu 24.10 (oracular) | 3.0.10-1ubuntu4 | [openssl 3.0.10-1ubuntu4](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-openssl-3.0.10-1ubuntu4.md) | Jan 15, 2024 |
| Linux | openssl Ubuntu 25.04 (plucky) | 3.0.10-1ubuntu4 | [openssl 3.0.10-1ubuntu4](https://patchblox.com/security/data/fix/linux/ubuntu-plucky-openssl-3.0.10-1ubuntu4.md) | Jan 15, 2024 |
| Linux | openssl almalinux 8 | 1:1.1.1k-12.el8_9 | [ALSA-2023:7877](https://patchblox.com/security/data/fix/linux/alsa-2023-7877.md) | Dec 19, 2023 |
| Linux | openssl almalinux 9 | 1:3.0.7-27.el9 | [ALSA-2024:2447](https://patchblox.com/security/data/fix/linux/alsa-2024-2447.md) | Apr 30, 2024 |
| Linux | openssl amzn 2023 | 1:3.0.8-1.amzn2023.0.10 | [ALAS2023-2023-443](https://patchblox.com/security/data/fix/linux/alas2023-2023-443.md) | Dec 6, 2023 |
| Linux | openssl ol 8 | 2:1.1.1k-12.ksplice1.el8_9 | [ELSA-2024-12056](https://patchblox.com/security/data/fix/linux/elsa-2024-12056.md) | Jan 10, 2024 |
| Linux | openssl ol 9 | 1:3.0.7-27.0.3.el9 | [ELSA-2024-2447](https://patchblox.com/security/data/fix/linux/elsa-2024-2447.md) | May 3, 2024 |
| Linux | openssl rocky 8 | 1:1.1.1k-12.el8_9 | [RLSA-2023:7877](https://patchblox.com/security/data/fix/linux/rlsa-2023-7877.md) | Dec 3, 2025 |
| Linux | openssl-debuginfo amzn 2023 | 1:3.0.8-1.amzn2023.0.10 | [ALAS2023-2023-443](https://patchblox.com/security/data/fix/linux/alas2023-2023-443.md) | Dec 6, 2023 |
| Linux | openssl-debugsource amzn 2023 | 1:3.0.8-1.amzn2023.0.10 | [ALAS2023-2023-443](https://patchblox.com/security/data/fix/linux/alas2023-2023-443.md) | Dec 6, 2023 |
| Linux | openssl-devel RHEL 8 | 1:1.1.1k-12.el8_9 | [RHSA-2023:7877](https://patchblox.com/security/data/fix/linux/rhsa-2023-7877.md) | Dec 19, 2023 |
| Linux | openssl-devel RHEL 9 | 1:3.0.7-27.el9 | [RHSA-2024:2447](https://patchblox.com/security/data/fix/linux/rhsa-2024-2447.md) | Apr 30, 2024 |
| Linux | openssl-devel almalinux 8 | 1:1.1.1k-12.el8_9 | [ALSA-2023:7877](https://patchblox.com/security/data/fix/linux/alsa-2023-7877.md) | Dec 19, 2023 |
| Linux | openssl-devel almalinux 9 | 1:3.0.7-27.el9 | [ALSA-2024:2447](https://patchblox.com/security/data/fix/linux/alsa-2024-2447.md) | Apr 30, 2024 |
| Linux | openssl-devel amzn 2023 | 1:3.0.8-1.amzn2023.0.10 | [ALAS2023-2023-443](https://patchblox.com/security/data/fix/linux/alas2023-2023-443.md) | Dec 6, 2023 |
| Linux | openssl-devel ol 8 | 2:1.1.1k-12.ksplice1.el8_9 | [ELSA-2024-12056](https://patchblox.com/security/data/fix/linux/elsa-2024-12056.md) | Jan 10, 2024 |
| Linux | openssl-devel ol 9 | 1:3.0.7-27.0.3.el9 | [ELSA-2024-2447](https://patchblox.com/security/data/fix/linux/elsa-2024-2447.md) | May 3, 2024 |
| Linux | openssl-fips-provider ol 9 | 0:3.0.7-2.0.1.el9 | [ELSA-2024-2447](https://patchblox.com/security/data/fix/linux/elsa-2024-2447.md) | May 3, 2024 |
| Linux | openssl-libs RHEL 8 | 1:1.1.1k-12.el8_9 | [RHSA-2023:7877](https://patchblox.com/security/data/fix/linux/rhsa-2023-7877.md) | Dec 19, 2023 |
| Linux | openssl-libs RHEL 9 | 1:3.0.7-27.el9 | [RHSA-2024:2447](https://patchblox.com/security/data/fix/linux/rhsa-2024-2447.md) | Apr 30, 2024 |
| Linux | openssl-libs almalinux 8 | 1:1.1.1k-12.el8_9 | [ALSA-2023:7877](https://patchblox.com/security/data/fix/linux/alsa-2023-7877.md) | Dec 19, 2023 |
| Linux | openssl-libs almalinux 9 | 1:3.0.7-27.el9 | [ALSA-2024:2447](https://patchblox.com/security/data/fix/linux/alsa-2024-2447.md) | Apr 30, 2024 |
| Linux | openssl-libs amzn 2023 | 1:3.0.8-1.amzn2023.0.10 | [ALAS2023-2023-443](https://patchblox.com/security/data/fix/linux/alas2023-2023-443.md) | Dec 6, 2023 |
| Linux | openssl-libs ol 8 | 2:1.1.1k-12.ksplice1.el8_9 | [ELSA-2024-12056](https://patchblox.com/security/data/fix/linux/elsa-2024-12056.md) | Jan 10, 2024 |
| Linux | openssl-libs ol 9 | 1:3.0.7-27.0.3.el9 | [ELSA-2024-2447](https://patchblox.com/security/data/fix/linux/elsa-2024-2447.md) | May 3, 2024 |
| Linux | openssl-libs-debuginfo amzn 2023 | 1:3.0.8-1.amzn2023.0.10 | [ALAS2023-2023-443](https://patchblox.com/security/data/fix/linux/alas2023-2023-443.md) | Dec 6, 2023 |
| Linux | openssl-perl RHEL 8 | 1:1.1.1k-12.el8_9 | [RHSA-2023:7877](https://patchblox.com/security/data/fix/linux/rhsa-2023-7877.md) | Dec 19, 2023 |
| Linux | openssl-perl RHEL 9 | 1:3.0.7-27.el9 | [RHSA-2024:2447](https://patchblox.com/security/data/fix/linux/rhsa-2024-2447.md) | Apr 30, 2024 |
| Linux | openssl-perl almalinux 8 | 1:1.1.1k-12.el8_9 | [ALSA-2023:7877](https://patchblox.com/security/data/fix/linux/alsa-2023-7877.md) | Dec 19, 2023 |
| Linux | openssl-perl almalinux 9 | 1:3.0.7-27.el9 | [ALSA-2024:2447](https://patchblox.com/security/data/fix/linux/alsa-2024-2447.md) | Apr 30, 2024 |
| Linux | openssl-perl amzn 2023 | 1:3.0.8-1.amzn2023.0.10 | [ALAS2023-2023-443](https://patchblox.com/security/data/fix/linux/alas2023-2023-443.md) | Dec 6, 2023 |
| Linux | openssl-perl ol 8 | 2:1.1.1k-12.ksplice1.el8_9 | [ELSA-2024-12056](https://patchblox.com/security/data/fix/linux/elsa-2024-12056.md) | Jan 10, 2024 |
| Linux | openssl-perl ol 9 | 1:3.0.7-27.0.3.el9 | [ELSA-2024-2447](https://patchblox.com/security/data/fix/linux/elsa-2024-2447.md) | May 3, 2024 |
| Linux | openssl-snapsafe-libs amzn 2023 | 1:3.0.8-1.amzn2023.0.10 | [ALAS2023-2023-443](https://patchblox.com/security/data/fix/linux/alas2023-2023-443.md) | Dec 6, 2023 |
| Linux | openssl-snapsafe-libs-debuginfo amzn 2023 | 1:3.0.8-1.amzn2023.0.10 | [ALAS2023-2023-443](https://patchblox.com/security/data/fix/linux/alas2023-2023-443.md) | Dec 6, 2023 |
| Linux | openssl-static ol 8 | 2:1.1.1k-12.ksplice1.el8_9 | [ELSA-2024-12056](https://patchblox.com/security/data/fix/linux/elsa-2024-12056.md) | Jan 10, 2024 |
| Linux | openssl1.0 Ubuntu 18.04.6 LTS (bionic) | 1.0.2n-1ubuntu5.13+esm1 | [openssl1.0 1.0.2n-1ubuntu5.13+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-openssl1.0-1.0.2n-1ubuntu5.13-esm1.md) | Jan 26, 2024 |
| Linux | ovmf Ubuntu 22.04.1 LTS (jammy) | 2022.02-3ubuntu0.22.04.4 | [ovmf 2022.02-3ubuntu0.22.04.4](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-ovmf-2022.02-3ubuntu0.22.04.4.md) | Aug 12, 2025 |
| Linux | ovmf Ubuntu 24.04.5 LTS (noble) | 2024.02-2ubuntu0.6 | [ovmf 2024.02-2ubuntu0.6](https://patchblox.com/security/data/fix/linux/ubuntu-noble-ovmf-2024.02-2ubuntu0.6.md) | Aug 12, 2025 |
| Linux | ovmf-ia32 Ubuntu 22.04.1 LTS (jammy) | 2022.02-3ubuntu0.22.04.4 | [ovmf-ia32 2022.02-3ubuntu0.22.04.4](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-ovmf-ia32-2022.02-3ubuntu0.22.04.4.md) | Aug 12, 2025 |
| Linux | ovmf-ia32 Ubuntu 24.04.5 LTS (noble) | 2024.02-2ubuntu0.6 | [ovmf-ia32 2024.02-2ubuntu0.6](https://patchblox.com/security/data/fix/linux/ubuntu-noble-ovmf-ia32-2024.02-2ubuntu0.6.md) | Aug 12, 2025 |
| Linux | qemu-efi Ubuntu 22.04.1 LTS (jammy) | 2022.02-3ubuntu0.22.04.4 | [qemu-efi 2022.02-3ubuntu0.22.04.4](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-qemu-efi-2022.02-3ubuntu0.22.04.4.md) | Aug 12, 2025 |
| Linux | qemu-efi-aarch64 Ubuntu 22.04.1 LTS (jammy) | 2022.02-3ubuntu0.22.04.4 | [qemu-efi-aarch64 2022.02-3ubuntu0.22.04.4](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-qemu-efi-aarch64-2022.02-3ubuntu0.22.04.4.md) | Aug 12, 2025 |
| Linux | qemu-efi-aarch64 Ubuntu 24.04.5 LTS (noble) | 2024.02-2ubuntu0.6 | [qemu-efi-aarch64 2024.02-2ubuntu0.6](https://patchblox.com/security/data/fix/linux/ubuntu-noble-qemu-efi-aarch64-2024.02-2ubuntu0.6.md) | Aug 12, 2025 |
| Linux | qemu-efi-arm Ubuntu 22.04.1 LTS (jammy) | 2022.02-3ubuntu0.22.04.4 | [qemu-efi-arm 2022.02-3ubuntu0.22.04.4](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-qemu-efi-arm-2022.02-3ubuntu0.22.04.4.md) | Aug 12, 2025 |
| Linux | qemu-efi-arm Ubuntu 24.04.5 LTS (noble) | 2024.02-2ubuntu0.6 | [qemu-efi-arm 2024.02-2ubuntu0.6](https://patchblox.com/security/data/fix/linux/ubuntu-noble-qemu-efi-arm-2024.02-2ubuntu0.6.md) | Aug 12, 2025 |
| Linux | qemu-efi-riscv64 Ubuntu 24.04.5 LTS (noble) | 2024.02-2ubuntu0.6 | [qemu-efi-riscv64 2024.02-2ubuntu0.6](https://patchblox.com/security/data/fix/linux/ubuntu-noble-qemu-efi-riscv64-2024.02-2ubuntu0.6.md) | Aug 12, 2025 |

---

Data as of 2026-11-08T13:06:02Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

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.
