Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| OpenSSL | OpenSSL | 3.0.0 – < 3.0.13, 3.1.0 – < 3.1.5, 3.2.0 – < 3.2.1 | 3.0.13 |
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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | openssl | 3.1.5-1 | — |
| Debian 13 | openssl | 3.1.5-1 | — |
| Debian 12 | openssl | 3.0.13-1~deb12u1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 24.04 LTS | edk2 | 2024.02-2ubuntu0.6 | USN-7894-1 |
| Ubuntu 24.04 LTS | openssl | 3.0.10-1ubuntu4 | — |
| Ubuntu 22.04 LTS | edk2 | 2022.02-3ubuntu0.22.04.4 | USN-7894-1 |
| Ubuntu 22.04 LTS | openssl | 3.0.2-0ubuntu1.14 | USN-6622-1 |
| Ubuntu 20.04 LTS | openssl | 1.1.1f-1ubuntu2.21 | USN-6622-1 |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro FIPS-updates 22.04 LTS | openssl | 3.0.2-0ubuntu1.14+Fips1 | — |
| Ubuntu Pro FIPS-preview 22.04 LTS | openssl | No fix yet | — |
| Ubuntu Pro 22.04 LTS | nodejs | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 9 | edk2 +4 | 20240524-6.el9_5 | RHSA-2024:9088 |
| RHEL 9 | openssl +3 | 1:3.0.7-27.el9 | RHSA-2024:2447 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 9 | edk2-ovmf +3 | 20240524-6.el9_5 | ALSA-2024:9088 |
| AlmaLinux 9 | openssl +3 | 1:3.0.7-27.el9 | ALSA-2024:2447 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 9 | edk2 | 20240524-6.el9_5.3 | RLSA-2024:9088 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP5 | openssl-3 | 3.0.8-150500.5.24.1 | SUSE-SU-2024:0172-1 |
| SLES 15 SP4 | openssl-3 | 3.0.8-150400.4.49.1 | SUSE-SU-2024:0518-1 |
Show 6 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 15 SP4 | openssl-3 | 3.0.8-150400.4.49.1 | SUSE-SU-2024:0518-1 |
| SLE Micro 5.4 | openssl-3 | 3.0.8-150400.4.49.1 | SUSE-SU-2024:0518-1 |
| SLE Micro 5.3 | openssl-3 | 3.0.8-150400.4.49.1 | SUSE-SU-2024:0518-1 |
| SLE HPC 15 SP4 | openssl-3 | 3.0.8-150400.4.49.1 | SUSE-SU-2024:0518-1 |
| SUSE Manager Server 4.3 | openssl-3 | 3.0.8-150400.4.49.1 | SUSE-SU-2024:0518-1 |
| SUSE Manager Proxy 4.3 | openssl-3 | 3.0.8-150400.4.49.1 | SUSE-SU-2024:0518-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | openssl-3 | 3.1.4-3.1 | openSUSE-SU-2024:13633-1 |
| openSUSE Leap 15.5 | openssl-3 | 3.0.8-150500.5.24.1 | SUSE-SU-2024:0172-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap Micro 5.4 | openssl-3 | 3.0.8-150400.4.49.1 | SUSE-SU-2024:0518-1 |
| openSUSE Leap Micro 5.3 | openssl-3 | 3.0.8-150400.4.49.1 | SUSE-SU-2024:0518-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | openssl | 3.1.4-r4 | — |
| Alpine v3.23 | openssl | 3.1.4-r4 | — |
| Alpine v3.22 | openssl | 3.1.4-r4 | — |
| Alpine v3.21 | openssl | 3.1.4-r4 | — |
| Alpine v3.20 | openssl | 3.1.4-r4 | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | openssl | 3.1.4-r4 | — |
| Alpine v3.18 | openssl | 3.1.4-r4 | — |
| Alpine v3.17 | openssl | 3.0.12-r3 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | openssl +4 | 1:3.0.8-1.amzn2023.0.11 | ALAS2023-2024-520 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | cloud-hypervisor-cvm | 38.0.72.2-1 | — |
| Azure Linux 3 | nodejs | 20.14.0-1 | — |
| Azure Linux 3 | openssl | 3.3.0-1 | — |
| Azure Linux 3 | openssl-fips-provider | No fix yet | — |
| Azure Linux 2 (CBL-Mariner) | cloud-hypervisor-cvm | 38.0.72.2-1 | — |
| Azure Linux 2 (CBL-Mariner) | hvloader | 1.0.1-6 | — |
| Azure Linux 2 (CBL-Mariner) | nodejs18 | 18.20.2-1 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 9 | edk2-ovmf +3 | 20240524-6.0.1.el9_5 | ELSA-2024-9088 |
| 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 |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | openssl | 3.3.0-r5 | — |
Advisories 30
- USN-7894-1 edk2 vulnerabilities Ubuntu Security Notices (USN) · Nov 9, 2026
- ALSA-2024:9088 Moderate: edk2 security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2024:2447 Low: openssl and openssl-fips-provider security update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2024:2447 Red Hat Security Advisory: openssl and openssl-fips-provider security update Red Hat Security Advisories (RHSA) · Oct 15, 2026
- SSA-265688 SSA-265688: Vulnerabilities in the additional GNU/Linux subsystem of the SIMATIC S7-1500 TM MFP V1.1 Siemens ProductCERT · Oct 13, 2026
- WID-SEC-2026-2912 Dell PowerScale OneFS: Mehrere Schwachstellen BSI CERT-Bund (WID) · Sep 30, 2026
- RHSA-2024:9088 Red Hat Security Advisory: edk2 security update Red Hat Security Advisories (RHSA) · Aug 9, 2026
- WID-SEC-2024-0093 OpenSSL: Schwachstelle ermöglicht Denial of Service BSI CERT-Bund (WID) · Jul 14, 2026
- ICSA-24-102-01 Siemens SIMATIC S7-1500 TM MFP CISA ICS & IT advisories · May 14, 2026
- WID-SEC-2024-1226 Red Hat OpenShift: Mehrere Schwachstellen BSI CERT-Bund (WID) · May 11, 2026
- USN-6622-1 openssl vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
- RLSA-2024:9088 Moderate: edk2 security update Rocky Linux Security Advisories · Feb 4, 2026
- openSUSE-SU-2024:13633-1 libopenssl-3-devel-3.1.4-3.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2024:0172-1 Security update for openssl-3 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2024:0518-1 Security update for openssl-3 SUSE / openSUSE Security Updates · Feb 4, 2026
- ICSA-25-044-09 Siemens SCALANCE W700 IEEE 802.11ax CISA ICS & IT advisories · May 6, 2025
- NCSC-2025-0061 Kwetsbaarheden verholpen in Siemens producten NCSC-NL (Netherlands) · Feb 14, 2025
- NCSC-2025-0051 Kwetsbaarheden verholpen in Siemens producten NCSC-NL (Netherlands) · Feb 11, 2025
- SSA-769027 SSA-769027: Multiple Vulnerabilities fixed in SCALANCE W700 IEEE 802.11ax devices before V3.0.0 Siemens ProductCERT · Feb 11, 2025
- WID-SEC-2024-1307 Red Hat OpenShift Service Mesh Containers: Mehrere Schwachstellen BSI CERT-Bund (WID) · Feb 5, 2025
- ELSA-2024-9088 Moderate: edk2 security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Nov 14, 2024
- NCSC-2024-0433 Kwetsbaarheden verholpen in Siemens producten NCSC-NL (Netherlands) · Nov 12, 2024
- SSA-331112 SSA-331112: Multiple Vulnerabilities in SINEC NMS Before V3.0 SP1 Siemens ProductCERT · Nov 12, 2024
- ICSA-24-319-08 Siemens SINEC INS CISA ICS & IT advisories · Nov 12, 2024
- SSA-915275 SSA-915275: Multiple Vulnerabilities in SINEC INS Before V1.0 SP2 Update 3 Siemens ProductCERT · Nov 12, 2024
- ICSA-24-319-04 Siemens SINEC NMS CISA ICS & IT advisories · Nov 12, 2024
- WID-SEC-2024-0769 IBM Rational Build Forge: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 7, 2024
- WID-SEC-2024-1488 IBM InfoSphere Information Server: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jun 30, 2024
- ELSA-2024-2447 Low: openssl and openssl-fips-provider security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · May 3, 2024
- ALAS2023-2024-520 Moderate: openssl security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Feb 19, 2024
References
- OpenSSL Advisory vendor-advisory
- 3.0.13 git commit patch
- 3.1.5 git commit patch
- 3.2.1 git commit patch