Issue summary: Checking excessively long invalid RSA public keys may take a long time.
Impact summary: Applications that use the function EVP_PKEY_public_check() to check RSA public keys may experience long delays. Where the key that is being checked has been obtained from an untrusted source this may lead to a Denial of Service.
When function EVP_PKEY_public_check() is called on RSA public keys, a computation is done to confirm that the RSA modulus, n, is composite. For valid RSA keys, n is a product of two or more large primes and this computation completes quickly. However, if n is an overly large prime, then this computation would take a long time.
An application that calls EVP_PKEY_public_check() and supplies an RSA key obtained from an untrusted source could be vulnerable to a Denial of Service attack.
The function EVP_PKEY_public_check() is not called from other OpenSSL functions however it is called from the OpenSSL pkey command line application. For that reason that application is also vulnerable if used with the '-pubin' and '-check' options on untrusted data.
The OpenSSL SSL/TLS implementation is not affected by this issue.
The OpenSSL 3.0 and 3.1 FIPS providers are affected by this issue.
CVSS Details
- CVSS 3.1 Base Score: 5.9
- CVSS 3.1 Vector: (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alma_linux | — | Upgrade edk2-toolsUpgrade openssl-develUpgrade edk2-aarch64Upgrade openssl-perlUpgrade openssl-libsUpgrade edk2-ovmfUpgrade opensslUpgrade edk2-tools-doc | May 8, 2024 | Apr 25, 2024 |
| Alpine Linux | — | Upgrade openssl | Aug 22, 2024 | Apr 25, 2024 |
| Amazon_linux_2023 | — | Upgrade opensslUpgrade openssl-develUpgrade openssl-debuginfoUpgrade openssl-snapsafe-libs-debuginfoUpgrade openssl-libs-debuginfoUpgrade openssl-debugsourceUpgrade openssl-perlUpgrade openssl-snapsafe-libsUpgrade openssl-libs | Feb 17, 2025 | Jan 15, 2024 |
| Debian | — | Upgrade openssl | Jul 30, 2024 | Apr 25, 2024 |
| Dell Poweredge Dsa2026316 | — | Upgrade Dell PowerEdge to the latest version | Jul 16, 2026 | Jul 14, 2026 |
| Freebsd | — | Upgrade openssl31-quictlsUpgrade openssl-quictlsUpgrade opensslUpgrade openssl31Upgrade openssl32 | Dec 10, 2025 | Jan 31, 2024 |
| Http Openssl | — | Upgrade to the latest version of OpenSSL | Jun 5, 2024 | Apr 25, 2024 |
| Ibm Aix | — | Apply the fix or workaround for openssl_advisory40 | Jan 26, 2024 | Jan 25, 2024 |
| Nutanix Ahv | — | Upgrade Nutanix AHV to the latest version | Jun 5, 2026 | Dec 15, 2025 |
| Oracle_linux | — | Upgrade opensslUpgrade edk2-tools-docUpgrade openssl-fips-providerUpgrade openssl-libsUpgrade edk2-toolsUpgrade openssl-perlUpgrade openssl-develUpgrade edk2-ovmfUpgrade edk2-aarch64 | May 7, 2024 | Jan 15, 2024 |
| Redhat_linux | — | Upgrade openssl-fips-providerUpgrade edk2-tools-debuginfoUpgrade openssl-fips-provider-debugsourceUpgrade openssl-debugsourceUpgrade opensslUpgrade edk2-debugsourceUpgrade edk2-tools-docUpgrade edk2-aarch64Upgrade edk2-toolsUpgrade edk2-ovmfUpgrade openssl-perlUpgrade openssl-libsUpgrade openssl-libs-debuginfoUpgrade openssl-fips-provider-debuginfoUpgrade openssl-debuginfoUpgrade openssl-devel | May 1, 2024 | Apr 25, 2024 |
| Rocky_linux | — | Upgrade edk2-tools-debuginfoUpgrade edk2-tools | Jul 16, 2024 | Apr 25, 2023 |
| Suse | — | Upgrade libopenssl3-32bitUpgrade libopenssl-3-develUpgrade libopenssl-3-devel-32bitUpgrade openssl-3Upgrade openssl-3-docUpgrade libopenssl3 | Jan 23, 2024 | Jan 22, 2024 |
| Ubuntu | — | Upgrade ovmf-ia32Upgrade qemu-efiUpgrade libssl3Upgrade ovmfUpgrade qemu-efi-riscv64Upgrade qemu-efi-aarch64Upgrade qemu-efi-armUpgrade qemu-efi-loongarch64 | Feb 6, 2024 | Feb 5, 2024 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | Jul 22, 2026 | Apr 25, 2024 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub