{"id":"JLSEC-2026-246","aliases":["JLSEC-2026-246"],"related":["CVE-2023-6237","GHSA-hvc4-mjv4-5mw6","EUVD-2023-58483"],"kind":"vulnerability","state":"published","title":"Issue summary: Checking excessively long invalid RSA public keys may take a long time.","summary":"Issue summary: Checking excessively long invalid RSA public keys may take\na long time.\n\nImpact summary: Applications that use the function `EVP_PKEY_public_check()`\nto check RSA public keys may experience long delays. Where the key that\nis being checked has been obtained from an untrusted source this may lead\nto a Denial of Service.\n\nWhen function `EVP_PKEY_public_check()` is called on RSA public keys,\na computation is done to confirm that the RSA modulus, n, is composite.\nFor valid RSA keys, n is a product of two or more large primes and this\ncomputation completes quickly. However, if n is an overly large prime,\nthen this computation would take a long time.\n\nAn application that calls `EVP_PKEY_public_check()` and supplies an RSA key\nobtained from an untrusted source could be vulnerable to a Denial of Service\nattack.\n\nThe function `EVP_PKEY_public_check()` is not called from other OpenSSL\nfunctions however it is called from the OpenSSL pkey command line\napplication. For that reason that application is also vulnerable if used\nwith the '-pubin' and '-check' options on untrusted data.\n\nThe OpenSSL SSL/TLS implementation is not affected by this issue.\n\nThe OpenSSL 3.0 and 3.1 FIPS providers are affected by this issue.","summaryFormat":"markdown","summarySource":"jlsec","descriptions":[{"lang":"en","text":"Issue summary: Checking excessively long invalid RSA public keys may take\na long time.\n\nImpact summary: Applications that use the function `EVP_PKEY_public_check()`\nto check RSA public keys may experience long delays. Where the key that\nis being checked has been obtained from an untrusted source this may lead\nto a Denial of Service.\n\nWhen function `EVP_PKEY_public_check()` is called on RSA public keys,\na computation is done to confirm that the RSA modulus, n, is composite.\nFor valid RSA keys, n is a product of two or more large primes and this\ncomputation completes quickly. However, if n is an overly large prime,\nthen this computation would take a long time.\n\nAn application that calls `EVP_PKEY_public_check()` and supplies an RSA key\nobtained from an untrusted source could be vulnerable to a Denial of Service\nattack.\n\nThe function `EVP_PKEY_public_check()` is not called from other OpenSSL\nfunctions however it is called from the OpenSSL pkey command line\napplication. For that reason that application is also vulnerable if used\nwith the '-pubin' and '-check' options on untrusted data.\n\nThe OpenSSL SSL/TLS implementation is not affected by this issue.\n\nThe OpenSSL 3.0 and 3.1 FIPS providers are affected by this issue.","format":"markdown","source":"jlsec"}],"published":"2026-04-27T18:33:55.942Z","modified":"2026-07-25T18:24:09.714Z","severity":{"scorer":"Julia Security Advisories","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","score":5.9,"rating":"MEDIUM"},"severities":[{"scorer":"Julia Security Advisories","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","score":5.9,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"semver","introduced":"3.0.8+0","status":"affected","fixed":"3.0.13+0"}],"ecosystem":"Julia","package":"OpenSSL_jll","purl":"pkg:julia/OpenSSL_jll?uuid=458c3c95-2e84-50aa-8efc-19380b2a3a95","source":"jlsec"}],"references":[{"url":"http://www.openwall.com/lists/oss-security/2024/03/11/1","tags":["web"],"sources":["jlsec"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-265688.html","tags":["web"],"sources":["jlsec"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-331112.html","tags":["web"],"sources":["jlsec"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-769027.html","tags":["web"],"sources":["jlsec"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-915275.html","tags":["web"],"sources":["jlsec"]},{"url":"https://github.com/advisories/GHSA-hvc4-mjv4-5mw6","tags":["web"],"sources":["jlsec"]},{"url":"https://github.com/openssl/openssl/commit/0b0f7abfb37350794a4b8960fafc292cd5d1b84d","tags":["web"],"sources":["jlsec"]},{"url":"https://github.com/openssl/openssl/commit/18c02492138d1eb8b6548cb26e7b625fb2414a2a","tags":["web"],"sources":["jlsec"]},{"url":"https://github.com/openssl/openssl/commit/a830f551557d3d66a84bbb18a5b889c640c36294","tags":["web"],"sources":["jlsec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-6237","tags":["web"],"sources":["jlsec"]},{"url":"https://security.netapp.com/advisory/ntap-20240531-0007","tags":["web"],"sources":["jlsec"]},{"url":"https://security.netapp.com/advisory/ntap-20240531-0007/","tags":["web"],"sources":["jlsec"]},{"url":"https://www.openssl.org/news/secadv/20240115.txt","tags":["web"],"sources":["jlsec"]}],"credits":[],"sources":[{"source":"jlsec","name":"Julia Security Advisories","id":"JLSEC-2026-246","url":"https://osv.dev/vulnerability/JLSEC-2026-246","licence":"CC-BY-4.0","modified":"2026-07-25T18:24:09.714Z"}],"updatedAt":"2026-11-25T22:56:26.052Z"}