# CVE-2023-6237: Excessive time spent checking invalid RSA public keys

- Severity: Medium 5.9 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.53%, higher than 85% of CVEs (2026-12-01)
- Published: 2024-04-25T06:27:26.990Z
- Modified: 2026-11-10T14:05:10.233Z
- Weaknesses: CWE-606
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: openssl

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

(As written by CVE List.)

## Affected

- OpenSSL OpenSSL: from 3.0.0 before 3.0.13; from 3.1.0 before 3.1.5; from 3.2.0 before 3.2.1
- netapp management_services_for_element_software_and_netapp_hci: no versions given
- netapp ontap_select_deploy_administration_utility: no versions given
- netapp snapmanager: no versions given
- netapp brocade_fabric_operating_system: no versions given
- netapp hci_bootstrap_os: no versions given
- netapp e-series_santricity_os_controller: from 11.0 before 11.80.1r2
- netapp h610s_firmware: no versions given
- netapp h610c_firmware: no versions given
- netapp h410c_firmware: no versions given
- netapp h410s_firmware: no versions given
- netapp h700s_firmware: no versions given
- netapp h500s_firmware: no versions given
- netapp h300s_firmware: no versions given
- netapp c250_firmware: no versions given
- netapp 500f_firmware: no versions given
- netapp a250_firmware: no versions given
- netapp c400_firmware: no versions given
- netapp a400_firmware: no versions given
- netapp 8700_firmware: no versions given
- netapp 8300_firmware: no versions given
- netapp a700s_firmware: no versions given
- siemens simatic_s7-1500_tm_mfp_firmware: before 1.1.1
- siemens sinec_nms: up to 2.0; 3.0
- siemens scalance_wum766-1_firmware: before 3.0.0
- siemens scalance_wum763-1_firmware: before 3.0.0
- siemens scalance_wub762-1_ifeatures_firmware: before 3.0.0
- siemens scalance_wub762-1_firmware: before 3.0.0
- siemens scalance_wam766-1_firmware: before 3.0.0
- siemens scalance_wam763-1_firmware: before 3.0.0
- siemens scalance_wab762-1_firmware: before 3.0.0
- siemens sinec_ins: before 1.0; 1.0
- netapp h615c_firmware: no versions given

## References

- <https://www.openssl.org/news/secadv/20240115.txt> (vendor-advisory)
- <https://github.com/openssl/openssl/commit/18c02492138d1eb8b6548cb26e7b625fb2414a2a> (patch)
- <https://github.com/openssl/openssl/commit/a830f551557d3d66a84bbb18a5b889c640c36294> (patch)
- <https://github.com/openssl/openssl/commit/0b0f7abfb37350794a4b8960fafc292cd5d1b84d> (patch)
- <http://www.openwall.com/lists/oss-security/2024/03/11/1> (mailing-list, third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20240531-0007/> (third-party-advisory)
- <https://cert-portal.siemens.com/productcert/html/ssa-265688.html> (third-party-advisory)
- <https://cert-portal.siemens.com/productcert/html/ssa-331112.html> (third-party-advisory)
- <https://cert-portal.siemens.com/productcert/html/ssa-915275.html> (third-party-advisory)
- <https://cert-portal.siemens.com/productcert/html/ssa-769027.html> (third-party-advisory)

## Sources

- CVE List: [CVE-2023-6237](https://www.cve.org/CVERecord?id=CVE-2023-6237), CVE Terms of Use, modified 2026-10-14
- NVD: [CVE-2023-6237](https://nvd.nist.gov/vuln/detail/CVE-2023-6237), Public domain, modified 2026-11-10

---

Page: https://cve.day/CVE-2023-6237 · Whole record: https://cve.day/CVE-2023-6237.json · Rebuilt by cve.day 2026-11-25T22:58:33.577Z
