AETERNAE AI RESEARCH LLC INDEPENDENT RESEARCH
ÆAETERNAERESEARCH
Sign inRequest access
← CVE index

Attributed metadata history

Δ / VULNERABILITY RECORD

CVE-2022-0778.

Source-reported disclosure and enrichment record.

SEVERITY / CVSSHIGH / 7.5CVSS 3.1 · nvd@nist.gov
EXPLOITATION STATUSNo cached KEV assertionThe local KEV cache may be unavailable or incomplete; this does not establish absence of exploitation.
RECORD STATUSModifiedModified Oct 14, 2026

Disclosure summary

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

Source-reported weakness categories

CWE-835

Source-specific records & product guidance

Sources retain their own attribution and scoring. Follow the original record to confirm affected versions, fixed releases, and configuration conditions.

NIST NVD · nvd:CVE-2022-0778

Open original source · Updated Oct 14, 2026

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

Source severity: HIGH / 7.5

Src 3903b1582d75bc313f · RSS-d5db43c5852ec43399465da78d58e34b1e7

Open original source · Updated Apr 01, 2022

Vulnerability in OpenSSL library

CVE mention in publisher metadata; check the original affected versions.

Indexed product associations

These cached associations support search and triage. Confirm applicability, platform conditions, and fixed versions in the original record.

VendorProductVersionSource / relationship
debiandebian linux10.0nvd / vulnerable
debiandebian linux11.0nvd / vulnerable
debiandebian linux9.0nvd / vulnerable
fedoraprojectfedora34nvd / vulnerable
fedoraprojectfedora36nvd / vulnerable
mariadbmariadb*nvd / vulnerable
netapp500f firmware-nvd / vulnerable
netappa250 firmware-nvd / vulnerable
netappcloud volumes ontap mediator-nvd / vulnerable
netappclustered data ontap-nvd / vulnerable
netappclustered data ontap antivirus connector-nvd / vulnerable
netappsantricity smi-s provider-nvd / vulnerable
netappstoragegrid-nvd / vulnerable
nodejsnode.js*nvd / vulnerable
nodejsnode.js*nvd / vulnerable
opensslopenssl*nvd / vulnerable
tenablenessus*nvd / vulnerable

Original records & references

GitHub repository matches

Repository matches are links and GitHub-supplied metadata only. They are not verified working proof-of-concept code. Each supported query is bounded to ten pages and at most 1,000 indexed results. This is not a complete index of GitHub or public exploit research. Coverage can also be limited by provider availability, rate limits, rejected metadata, incomplete search results, manual review, and the recorded refresh time.

0 reviewed associations0 unverified candidates

No stored repository matches

Repository discovery has not recorded an update for this CVE yet.

Discovery progress

0 of 3 discovery queries finished. GitHub returned 0 indexed results; 0 malformed or disallowed results were rejected.

No discovery update has been recorded for this CVE.

View all 0 stored repository matches

PUBLISHED 2022-03-15T17:15:08+00:00
MODIFIED 2026-10-14T13:17:14+00:00
INGESTED 2026-10-14T18:18:05+00:00