CVE-2022-0778 Details
Description
The BN_mod_sqrt() function, which computes a modular square root, contains a bug that can cause it to loop forever for non-prime moduli. Internally this function is used when parsing certificates that contain elliptic curve public keys in compressed form or explicit elliptic curve parameters with a base point encoded in compressed form. It is possible to trigger the infinite loop by crafting a certificate that has invalid explicit curve parameters. Since certificate parsing happens prior to verification of the certificate signature, any process that parses an externally supplied certificate may thus be subject to a denial of service attack. The infinite loop can also be reached when parsing crafted private keys as they can contain explicit elliptic curve parameters. Thus vulnerable situations include: - TLS clients consuming server certificates - TLS servers consuming client certificates - Hosting providers taking certificates or private keys from customers - Certificate authorities parsing certification requests from subscribers - Anything else which parses ASN.1 elliptic curve parameters Also any other applications that use the BN_mod_sqrt() where the attacker can control the parameter values are vulnerable to this DoS issue. In the OpenSSL 1.0.2 version the public key is not parsed during initial parsing of the certificate which makes it slightly harder to trigger the infinite loop. However any operation which requires the public key from the certificate will trigger the infinite loop. In particular the attacker can use a self-signed certificate to trigger the loop during verification of the certificate signature. This issue affects OpenSSL versions 1.0.2, 1.1.1 and 3.0. It was addressed in the releases of 1.1.1n and 3.0.2 on the 15th March 2022. Fixed in OpenSSL 3.0.2 (Affected 3.0.0,3.0.1). Fixed in OpenSSL 1.1.1n (Affected 1.1.1-1.1.1m). Fixed in OpenSSL 1.0.2zd (Affected 1.0.2-1.0.2zc).
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed May 22, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-835 | Loop with Unreachable Exit Condition ('Infinite Loop') | [email protected] |
| CWE-835 | Loop with Unreachable Exit Condition ('Infinite Loop') | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| openssl openssl | >= 1.0.2, < 1.0.2zd >= 1.1.0, < 1.1.1n >= 3.0.0, < 3.0.2 |
CPE
Remediation
| |
| debian debian linux | 9.0 10.0 11.0 |
CPE
Remediation
| |
| netapp cloud volumes ontap mediator | All versions |
CPE
Remediation
| |
| netapp clustered data ontap | All versions |
CPE
Remediation
| |
| netapp clustered data ontap antivirus connector | All versions |
CPE
Remediation
| |
| netapp santricity smi-s provider | All versions |
CPE
Remediation
| |
| netapp storagegrid | All versions |
CPE
Remediation
| |
| netapp a250 firmware | All versions |
CPE
Remediation
| |
| netapp a250 | All versions |
CPE
Remediation
| |
| netapp 500f firmware | All versions |
CPE
Remediation
| |
| netapp 500f | All versions |
CPE
Remediation
| |
| fedoraproject fedora | 34 36 |
CPE
Remediation
| |
| tenable nessus | < 8.15.4 >= 10.0.0, < 10.1.2 |
CPE
Remediation
| |
| mariadb mariadb | >= 10.2.0, < 10.2.42 >= 10.3.0, < 10.3.33 >= 10.4.0, < 10.4.23 >= 10.5.0, < 10.5.14 >= 10.6.0, < 10.6.6 >= 10.7.0, < 10.7.2 |
CPE
Remediation
| |
| nodejs node.js | >= 12.0.0, <= 12.12.0 >= 12.13.0, < 12.22.11 > 14.0.0, <= 14.14.0 >= 14.15.0, < 14.19.1 > 16.0.0, <= 16.12.0 >= 16.13.0, < 16.14.2 > 17.0.0, < 17.7.2 |
CPE
Remediation
| |
Change History
36 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 14, 2026 | CVE Modified | siemens-SADP |
| Oct 14, 2026 | CVE Modified | CVE |
| Oct 14, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | siemens-SADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 22, 2026 | CVE Modified | CISA-ADP |
| Apr 14, 2026 | CVE Modified | siemens-SADP |
| Nov 21, 2024 | CVE Modified | CVE |
| Jun 21, 2024 | CVE Modified | [email protected] |
| May 14, 2024 | CVE Modified | [email protected] |
| Nov 7, 2023 | CVE Modified | [email protected] |
| Nov 9, 2022 | Modified Analysis | [email protected] |
| Oct 16, 2022 | CVE Modified | [email protected] |
| Aug 29, 2022 | Modified Analysis | [email protected] |
| Jul 25, 2022 | CVE Modified | [email protected] |
| Jul 18, 2022 | Modified Analysis | [email protected] |
| Jun 14, 2022 | CVE Modified | [email protected] |
| Jun 2, 2022 | CVE Modified | [email protected] |
| May 17, 2022 | CVE Modified | [email protected] |
| May 16, 2022 | CVE Modified | [email protected] |
| Apr 29, 2022 | CVE Modified | [email protected] |
| Apr 20, 2022 | CVE Modified | [email protected] |
| Apr 20, 2022 | CVE Modified | [email protected] |
| Apr 6, 2022 | CVE Modified | [email protected] |
| Apr 5, 2022 | CVE Modified | [email protected] |
| Apr 3, 2022 | CVE Modified | [email protected] |
| Mar 31, 2022 | CVE Modified | [email protected] |
| Mar 30, 2022 | CVE Modified | [email protected] |
| Mar 30, 2022 | Modified Analysis | [email protected] |
| Mar 22, 2022 | CVE Modified | [email protected] |
| Mar 22, 2022 | CVE Modified | [email protected] |
| Mar 21, 2022 | Initial Analysis | [email protected] |
| Mar 21, 2022 | CVE Modified | [email protected] |
| Mar 17, 2022 | CVE Modified | [email protected] |
| Mar 16, 2022 | CVE Modified | [email protected] |