5.9

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

Deferred
AliasesALPINE-CVE-2023-6237UBUNTU-CVE-2023-6237DEBIAN-CVE-2023-6237
Published 25-04-2024Last modified 14-10-2026

Vulnerability summary

CVE-2023-6237 is a medium (CVSS 5.9) Unchecked Input for Loop Condition vulnerability in openssl. EPSS estimates a 2.30% chance of exploitation in the next 30 days, higher than 83.3% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.9, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.9/10
010
Medium · v3.1 (CVE.org)
EPSS score
2.30%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 10 · Related 7

Timeline

  1. 25-04-2024
    PublishedVulnerability first disclosed.
  2. 14-10-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

7 scores · 7 sources · 1 version

EPSS trend

Probability

2.30%

Chance of exploitation in the next 30 days

Percentile

83%

Versus all other CVEs

30-day change

No change 0.00 pp

From 2.30% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard4 products
  • openssl< 3.3.0-r5
  • openssl-provider-fips< 3.4.0-r4
  • openssl-provider-fips-3.1.2< 3.4.0-r4
  • openssl-provider-fips-3.1.2-dbg< 3.4.0-r4
Ubuntu3 products
  • edk2< 2024.02-2ubuntu0.6
  • nodejsAll versions (No fix recorded)
  • openssl< 3.0.2-0ubuntu1.14 | All versions (No fix recorded) | < 3.0.2-0ubuntu1.14+Fips1 | < 3.0.10-1ubuntu4
Alpine1 product
  • openssl< 3.0.12-r3 | < 3.1.4-r4
Debian1 product
  • openssl< 3.0.13-1~deb12u1 | < 3.1.5-1
Openssl1 product
  • openssl≥ 3.0.0, < 3.0.13 | ≥ 3.1.0, < 3.1.5 | ≥ 3.2.0, < 3.2.1
Wolfi1 product
  • openssl< 3.3.0-r5

6 vendors · 11 products

References

18 links
Show all 18 references