libssl3t64: The BN_mod_sqrt() function, which computes a modular square root, containsa bug that can cause it to loop forever for...
CVE-2022-0778 is fixed in 50 products on 1 platform, first by libssl1.0.0 1.0.2n-1ubuntu5.8, released March 14, 2022. It is not reported as exploited. Patch Radar priority: High.
The BN_mod_sqrt() function, which computes a modular square root, containsa bug that can cause it to loop forever for non-prime moduli. Internallythis function is used when parsing certificates that contain elliptic curvepublic keys in compressed form or explicit elliptic curve parameters with abase point encoded in compressed form. It is possible to trigger theinfinite loop by crafting a certificate that has invalid explicit curveparameters. Since certificate parsing happens prior to verification of thecertificate signature, any process that parses an externally suppliedcertificate may thus be subject to a denial of service attack. The infiniteloop can also be reached when parsing crafted private keys as they cancontain explicit elliptic curve parameters. Thus vulnerable situationsinclude: - TLS clients consuming server certificates - TLS serversconsuming client certificates - Hosting providers taking certificates orprivate keys from customers - Certificate authorities parsing certificationrequests from subscribers - Anything else which parses ASN.1 elliptic curveparameters Also any other applications that use the BN_mod_sqrt() where theattacker 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 initialparsing of the certificate which makes it slightly harder to trigger theinfinite loop. However any operation which requires the public key from thecertificate will trigger the infinite loop. In particular the attacker canuse a self-signed certificate to trigger the loop during verification ofthe certificate signature. This issue affects OpenSSL versions 1.0.2, 1.1.1and 3.0. It was addressed in the releases of 1.1.1n and 3.0.2 on the 15thMarch 2022. Fixed in OpenSSL 3.0.2 (Affected 3.0.0,3.0.1). Fixed in OpenSSL1.1.1n (Affected 1.1.1-1.1.1m). Fixed in OpenSSL 1.0.2zd (Affected1.0.2-1.0.2zc).
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| compat-openssl10 · RHEL 8 | 1:1.0.2o-4.el8_6 | RHSA-2022:5326 | Jun 30, 2022 |
| compat-openssl10 · almalinux 8 | 1:1.0.2o-4.el8_6 | ALSA-2022:5326 | Jun 30, 2022 |
| compat-openssl10 · ol 8 | 1:1.0.2o-4.el8_6 | ELSA-2022-5326 | Jul 1, 2022 |
| compat-openssl10 · rocky 8 | 1:1.0.2o-4.el8_6 | RLSA-2022:5326 | Jun 28, 2022 |
| compat-openssl11 · RHEL 9 | 1:1.1.1k-4.el9_0 | RHSA-2022:4899 | Jun 3, 2022 |
| compat-openssl11 · ol 9 | 1:1.1.1k-4.0.1.el9_0 | ELSA-2022-4899 | Jun 30, 2022 |
| compat-openssl11 · rocky 9 | 1:1.1.1k-4.el9_0 | RLSA-2022:4899 | Jun 2, 2022 |
| libnode72 · Ubuntu 22.04.1 LTS (jammy) | 12.22.9~dfsg-1ubuntu3.1 | libnode72 12.22.9~dfsg-1ubuntu3.1 | Jul 4, 2022 |
| libssl1.0.0 · Ubuntu 18.04.6 LTS (bionic) | 1.0.2n-1ubuntu5.8 | libssl1.0.0 1.0.2n-1ubuntu5.8 | Mar 14, 2022 |
| libssl1.1 · Ubuntu 18.04.6 LTS (bionic) | 1.1.1-1ubuntu2.1~18.04.15 | libssl1.1 1.1.1-1ubuntu2.1~18.04.15 | Mar 14, 2022 |
| libssl1.1 · Ubuntu 20.04 LTS (focal) | 1.1.1f-1ubuntu2.12 | libssl1.1 1.1.1f-1ubuntu2.12 | Mar 14, 2022 |
| libssl3 · Ubuntu 22.04.1 LTS (jammy) | 3.0.2-0ubuntu1 | libssl3 3.0.2-0ubuntu1 | Mar 14, 2022 |
| libssl3t64 · Ubuntu 24.10 (oracular) | 3.0.2-0ubuntu1 | libssl3t64 3.0.2-0ubuntu1 | Mar 15, 2022 |
| libssl3t64 · Ubuntu 25.04 (plucky) | 3.0.2-0ubuntu1 | libssl3t64 3.0.2-0ubuntu1 | Mar 15, 2022 |
| mariadb105 · amzn 2023 | 3:10.5.16-1.amzn2023.0.7 | ALAS2023-2023-037 | Feb 17, 2023 |
| mariadb105-backup · amzn 2023 | 3:10.5.16-1.amzn2023.0.7 | ALAS2023-2023-037 | Feb 17, 2023 |
| mariadb105-backup-debuginfo · amzn 2023 | 3:10.5.16-1.amzn2023.0.7 | ALAS2023-2023-037 | Feb 17, 2023 |
| mariadb105-common · amzn 2023 | 3:10.5.16-1.amzn2023.0.7 | ALAS2023-2023-037 | Feb 17, 2023 |
| mariadb105-connect-engine · amzn 2023 | 3:10.5.16-1.amzn2023.0.7 | ALAS2023-2023-037 | Feb 17, 2023 |
| mariadb105-connect-engine-debuginfo · amzn 2023 | 3:10.5.16-1.amzn2023.0.7 | ALAS2023-2023-037 | Feb 17, 2023 |
| mariadb105-cracklib-password-check · amzn 2023 | 3:10.5.16-1.amzn2023.0.7 | ALAS2023-2023-037 | Feb 17, 2023 |
| mariadb105-cracklib-password-check-debuginfo · amzn 2023 | 3:10.5.16-1.amzn2023.0.7 | ALAS2023-2023-037 | Feb 17, 2023 |
| mariadb105-debuginfo · amzn 2023 | 3:10.5.16-1.amzn2023.0.7 | ALAS2023-2023-037 | Feb 17, 2023 |
| mariadb105-debugsource · amzn 2023 | 3:10.5.16-1.amzn2023.0.7 | ALAS2023-2023-037 | Feb 17, 2023 |
| mariadb105-devel · amzn 2023 | 3:10.5.16-1.amzn2023.0.7 | ALAS2023-2023-037 | Feb 17, 2023 |
| mariadb105-errmsg · amzn 2023 | 3:10.5.16-1.amzn2023.0.7 | ALAS2023-2023-037 | Feb 17, 2023 |
| mariadb105-gssapi-server · amzn 2023 | 3:10.5.16-1.amzn2023.0.7 | ALAS2023-2023-037 | Feb 17, 2023 |
| mariadb105-gssapi-server-debuginfo · amzn 2023 | 3:10.5.16-1.amzn2023.0.7 | ALAS2023-2023-037 | Feb 17, 2023 |
| mariadb105-oqgraph-engine · amzn 2023 | 3:10.5.16-1.amzn2023.0.7 | ALAS2023-2023-037 | Feb 17, 2023 |
| mariadb105-oqgraph-engine-debuginfo · amzn 2023 | 3:10.5.16-1.amzn2023.0.7 | ALAS2023-2023-037 | Feb 17, 2023 |
| mariadb105-pam · amzn 2023 | 3:10.5.16-1.amzn2023.0.7 | ALAS2023-2023-037 | Feb 17, 2023 |
| mariadb105-pam-debuginfo · amzn 2023 | 3:10.5.16-1.amzn2023.0.7 | ALAS2023-2023-037 | Feb 17, 2023 |
| mariadb105-rocksdb-engine · amzn 2023 | 3:10.5.16-1.amzn2023.0.7 | ALAS2023-2023-037 | Feb 17, 2023 |
| mariadb105-rocksdb-engine-debuginfo · amzn 2023 | 3:10.5.16-1.amzn2023.0.7 | ALAS2023-2023-037 | Feb 17, 2023 |
| mariadb105-server · amzn 2023 | 3:10.5.16-1.amzn2023.0.7 | ALAS2023-2023-037 | Feb 17, 2023 |
| mariadb105-server-debuginfo · amzn 2023 | 3:10.5.16-1.amzn2023.0.7 | ALAS2023-2023-037 | Feb 17, 2023 |
| mariadb105-server-utils · amzn 2023 | 3:10.5.16-1.amzn2023.0.7 | ALAS2023-2023-037 | Feb 17, 2023 |
| mariadb105-server-utils-debuginfo · amzn 2023 | 3:10.5.16-1.amzn2023.0.7 | ALAS2023-2023-037 | Feb 17, 2023 |
| mariadb105-sphinx-engine · amzn 2023 | 3:10.5.16-1.amzn2023.0.7 | ALAS2023-2023-037 | Feb 17, 2023 |
| mariadb105-sphinx-engine-debuginfo · amzn 2023 | 3:10.5.16-1.amzn2023.0.7 | ALAS2023-2023-037 | Feb 17, 2023 |
| mariadb105-test · amzn 2023 | 3:10.5.16-1.amzn2023.0.7 | ALAS2023-2023-037 | Feb 17, 2023 |
| mariadb105-test-debuginfo · amzn 2023 | 3:10.5.16-1.amzn2023.0.7 | ALAS2023-2023-037 | Feb 17, 2023 |
| nodejs · Ubuntu 22.04.1 LTS (jammy) | 12.22.9~dfsg-1ubuntu3.1 | nodejs 12.22.9~dfsg-1ubuntu3.1 | Jul 4, 2022 |
| openssl · Debian 12.15 (bookworm) | 1.1.1n-1 | DEBIAN-CVE-2022-0778 | Mar 15, 2022 |
| openssl · Debian 13.5 (trixie) | 1.1.1n-1 | DEBIAN-CVE-2022-0778 | Mar 15, 2022 |
| openssl · Debian 14 | 1.1.1n-1 | DEBIAN-CVE-2022-0778 | Mar 15, 2022 |
| openssl · RHEL 8 | 1:1.1.1k-6.el8_5 | RHSA-2022:1065 | Mar 28, 2022 |
| openssl · Ubuntu 18.04.6 LTS (bionic) | 1.1.1-1ubuntu2.1~18.04.15 | openssl 1.1.1-1ubuntu2.1~18.04.15 | Mar 14, 2022 |
| openssl · Ubuntu 20.04 LTS (focal) | 1.1.1f-1ubuntu2.12 | openssl 1.1.1f-1ubuntu2.12 | Mar 14, 2022 |
| openssl · Ubuntu 22.04.1 LTS (jammy) | 3.0.2-0ubuntu1 | openssl 3.0.2-0ubuntu1 | Mar 14, 2022 |
| openssl · Ubuntu 24.10 (oracular) | 3.0.2-0ubuntu1 | openssl 3.0.2-0ubuntu1 | Mar 15, 2022 |
| openssl · Ubuntu 25.04 (plucky) | 3.0.2-0ubuntu1 | openssl 3.0.2-0ubuntu1 | Mar 15, 2022 |
| openssl · almalinux 8 | 1:1.1.1k-6.el8_5 | ALSA-2022:1065 | Mar 28, 2022 |
| openssl · amzn 2023 | 1:3.0.5-1.amzn2023.0.4 | ALAS2023-2023-051 | Feb 17, 2023 |
| openssl · ol 8 | 2:1.1.1k-5.0.1.ksplice1.el8_5 | ELSA-2022-9243 | Mar 23, 2022 |
| openssl · rocky 8 | 1:1.1.1k-6.el8_5 | RLSA-2022:1065 | Mar 28, 2022 |
| openssl-debuginfo · amzn 2023 | 1:3.0.5-1.amzn2023.0.4 | ALAS2023-2023-051 | Feb 17, 2023 |
| openssl-debugsource · amzn 2023 | 1:3.0.5-1.amzn2023.0.4 | ALAS2023-2023-051 | Feb 17, 2023 |
| openssl-debugsource · ol 8 | 2:1.1.1k-5.0.1.ksplice1.el8_5 | ELSA-2022-9243 | Mar 23, 2022 |
| openssl-devel · RHEL 8 | 1:1.1.1k-6.el8_5 | RHSA-2022:1065 | Mar 28, 2022 |
| openssl-devel · almalinux 8 | 1:1.1.1k-6.el8_5 | ALSA-2022:1065 | Mar 28, 2022 |
| openssl-devel · amzn 2023 | 1:3.0.5-1.amzn2023.0.4 | ALAS2023-2023-051 | Feb 17, 2023 |
| openssl-devel · ol 8 | 2:1.1.1k-5.0.1.ksplice1.el8_5 | ELSA-2022-9243 | Mar 23, 2022 |
| openssl-libs · RHEL 8 | 1:1.1.1k-6.el8_5 | RHSA-2022:1065 | Mar 28, 2022 |
| openssl-libs · almalinux 8 | 1:1.1.1k-6.el8_5 | ALSA-2022:1065 | Mar 28, 2022 |
| openssl-libs · amzn 2023 | 1:3.0.5-1.amzn2023.0.4 | ALAS2023-2023-051 | Feb 17, 2023 |
| openssl-libs · ol 8 | 2:1.1.1k-5.0.1.ksplice1.el8_5 | ELSA-2022-9243 | Mar 23, 2022 |
| openssl-libs-debuginfo · amzn 2023 | 1:3.0.5-1.amzn2023.0.4 | ALAS2023-2023-051 | Feb 17, 2023 |
| openssl-perl · RHEL 8 | 1:1.1.1k-6.el8_5 | RHSA-2022:1065 | Mar 28, 2022 |
| openssl-perl · almalinux 8 | 1:1.1.1k-6.el8_5 | ALSA-2022:1065 | Mar 28, 2022 |
| openssl-perl · amzn 2023 | 1:3.0.5-1.amzn2023.0.4 | ALAS2023-2023-051 | Feb 17, 2023 |
| openssl-perl · ol 8 | 2:1.1.1k-5.0.1.ksplice1.el8_5 | ELSA-2022-9243 | Mar 23, 2022 |
| openssl-static · ol 8 | 2:1.1.1k-5.0.1.ksplice1.el8_5 | ELSA-2022-9243 | Mar 23, 2022 |
| openssl1.0 · Ubuntu 18.04.6 LTS (bionic) | 1.0.2n-1ubuntu5.8 | openssl1.0 1.0.2n-1ubuntu5.8 | Mar 14, 2022 |
| ovmf · Ubuntu 22.04.1 LTS (jammy) | 2022.02-3ubuntu0.22.04.4 | ovmf 2022.02-3ubuntu0.22.04.4 | Aug 12, 2025 |
| ovmf-ia32 · Ubuntu 22.04.1 LTS (jammy) | 2022.02-3ubuntu0.22.04.4 | ovmf-ia32 2022.02-3ubuntu0.22.04.4 | Aug 12, 2025 |
| qemu-efi · Ubuntu 22.04.1 LTS (jammy) | 2022.02-3ubuntu0.22.04.4 | qemu-efi 2022.02-3ubuntu0.22.04.4 | Aug 12, 2025 |
| qemu-efi-aarch64 · Ubuntu 22.04.1 LTS (jammy) | 2022.02-3ubuntu0.22.04.4 | qemu-efi-aarch64 2022.02-3ubuntu0.22.04.4 | Aug 12, 2025 |
| qemu-efi-arm · Ubuntu 22.04.1 LTS (jammy) | 2022.02-3ubuntu0.22.04.4 | qemu-efi-arm 2022.02-3ubuntu0.22.04.4 | Aug 12, 2025 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.