CVEBrief

Home / OpenSSL / OpenSSL / CVE-2022-0778

CVE-2022-0778: is it exploited, and which versions of OpenSSL are affected and fixed?

CVE-2022-0778 is an infinite loop (denial of service) vulnerability in OpenSSL. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 10:08 UTC). Affected: openssl-src from 300.0.0 before 300.0.5 and openssl-src before 111.18.0 (GitHub advisory GHSA-x3mh-jvjw-3xwx). Fixed in 300.0.5 and 111.18.0 (GitHub advisory GHSA-x3mh-jvjw-3xwx). Severity: High (7.5, CVSS 3.1, from CISA-ADP).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 10:08 UTC, CVE record November 19, 2026, 07:14 UTC and NVD November 19, 2026, 07:50 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 10:08 UTC
Affected
openssl-src from 300.0.0 before 300.0.5 and openssl-src before 111.18.0
GitHub advisory GHSA-x3mh-jvjw-3xwx
Fixed in
300.0.5 and 111.18.0
GitHub advisory GHSA-x3mh-jvjw-3xwx
Severity
High 7.5
CVSS 3.1 from CISA-ADP
Exploit odds (EPSS)
73.2% in 30 days
higher than 99% of CVEs; FIRST, December 2, 2026

What is CVE-2022-0778?

Infinite loop in BN_mod_sqrt() reachable when parsing certificates

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

From the CVE record by openssl, last updated October 14, 2026, 12:12 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
OpenSSLOpenSSLFixed 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)

As the CVE record by openssl states it, last updated October 14, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which packages are affected, and in which version is each fixed?

EcosystemPackageAffectedFixed inAdvisory
crates.ioopenssl-src>= 300.0.0, < 300.0.5300.0.5GHSA-x3mh-jvjw-3xwx
crates.ioopenssl-src< 111.18.0111.18.0GHSA-x3mh-jvjw-3xwx

GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated June 24, 2024. Summary: openssl-src's infinite loop in `BN_mod_sqrt()` reachable when parsing certificates.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
opensslopensslfrom 1.0.2 before 1.0.2zdapplication
opensslopensslfrom 1.1.0 before 1.1.1napplication
opensslopensslfrom 3.0.0 before 3.0.2application
debiandebian linux9.0operating system
debiandebian linux10.0operating system
debiandebian linux11.0operating system
netappcloud volumes ontap mediatorall versionsapplication
netappclustered data ontapall versionsapplication
netappclustered data ontap antivirus connectorall versionsapplication
netappsantricity smi-s providerall versionsapplication
netappstoragegridall versionsapplication
netappa250 firmwareall versionsoperating system
netapp500f firmwareall versionsoperating system
fedoraprojectfedora34operating system
fedoraprojectfedora36operating system
tenablenessusbefore 8.15.4application
tenablenessusfrom 10.0.0 before 10.1.2application
mariadbmariadbfrom 10.2.0 before 10.2.42application
mariadbmariadbfrom 10.3.0 before 10.3.33application
mariadbmariadbfrom 10.4.0 before 10.4.23application
mariadbmariadbfrom 10.5.0 before 10.5.14application
mariadbmariadbfrom 10.6.0 before 10.6.6application
mariadbmariadbfrom 10.7.0 before 10.7.2application
nodejsnode.jsfrom 12.0.0 through 12.12.0application
nodejsnode.jsfrom 12.13.0 before 12.22.11application

NVD analysis (status Modified), last modified October 14, 2026, 13:17 UTC.

How severe is CVE-2022-0778?

ScoreVersionVectorSource
High 7.5CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HCISA-ADP
High 7.5CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HNVD
Medium 5.0CVSS 2.0AV:N/AC:L/Au:N/C:N/I:N/A:PNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2022-0778 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, May 22, 2026)
EPSS
73.2% probability of exploitation activity in the next 30 days, percentile 99.5 (FIRST EPSS, scores of December 2, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

Who found and reported it?

As published in the CVE record; contact details are removed.

When was it published, and where is the official record?

Reserved
February 28, 2022
Published
March 15, 2022, 17:05 UTC
CVE record updated
October 14, 2026, 12:12 UTC by openssl
NVD
Modified, last modified October 14, 2026, 13:17 UTC
Last checked
CVE list November 19, 2026, 07:14 UTC; NVD November 19, 2026, 07:50 UTC; KEV December 3, 2026, 10:08 UTC; EPSS December 2, 2026
Official record
cve.org · NVD

What other CVEs affect OpenSSL?

Every CVE in OpenSSL

Questions about CVE-2022-0778

Is CVE-2022-0778 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 10:08 UTC. FIRST's EPSS gives it a 73.2% chance of exploitation activity in the next 30 days (scores of December 2, 2026).

Which versions of OpenSSL are affected by CVE-2022-0778?

openssl-src from 300.0.0 before 300.0.5 and openssl-src before 111.18.0, per the GitHub advisory GHSA-x3mh-jvjw-3xwx. The tables above give every range the sources list.

Which version fixes CVE-2022-0778?

300.0.5 and 111.18.0, per the GitHub advisory GHSA-x3mh-jvjw-3xwx. Check the vendor's advisory before you rely on it.

How severe is CVE-2022-0778?

High (7.5, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.

Where is the official record of CVE-2022-0778?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.