CVE-2022-0778
Exploitation reported by one source. First attested on 2026-04-15 by GCVE · kevintel.
- Published2022-03-15
- Fixed in17.7.2 · 16.14.2 · 14.19.1 · 12.22.11
- WeaknessCWE-835
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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).
Timeline
dates in UTC- 2022-03-1517:15CVE publishedNVD
- 2026-04-1514:28Listed as exploited by GCVEGCVE
- 2026-04-1514:28Exploitation first reportedGCVE
- 2026-10-2319:23First public proof of conceptPoC-in-GitHub
- 2026-10-2319:23EPSS crossed 10 %FIRST EPSS
Observed activity
isMalicious corpus · updated 2026-10-23 18:48 UTCBlock these indicators
- Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2022-0778?format=txt
- CSV export: https://api.ismalicious.com/edl/cve/CVE-2022-0778?format=csv
- TAXII collection of exploited CVEs
- The EDL and CSV take an API key on the Pro plan.
Versions per branch
NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 17.x | > 17.0.0, < 17.7.2 | 17.7.2 | NVD |
| 16.x | ≥ 16.13.0, < 16.14.2 | 16.14.2 | NVD |
| 14.x | ≥ 14.15.0, < 14.19.1 | 14.19.1 | NVD |
| 12.x | ≥ 12.13.0, < 12.22.11 | 12.22.11 | NVD |
| 12.x | ≥ 12.0.0, ≤ 12.12.0 | no fix published | NVD |
| 14.x | > 14.0.0, ≤ 14.14.0 | no fix published | NVD |
| 16.x | > 16.0.0, ≤ 16.12.0 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 10.7 | ≥ 10.7.0, < 10.7.2 | 10.7.2 | NVD |
| 10.6 | ≥ 10.6.0, < 10.6.6 | 10.6.6 | NVD |
| 10.5 | ≥ 10.5.0, < 10.5.14 | 10.5.14 | NVD |
| 10.4 | ≥ 10.4.0, < 10.4.23 | 10.4.23 | NVD |
| 10.3 | ≥ 10.3.0, < 10.3.33 | 10.3.33 | NVD |
| 10.2 | ≥ 10.2.0, < 10.2.42 | 10.2.42 | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 9.0 | = 9.0 | no fix published | NVD |
| 10.0 | = 10.0 | no fix published | NVD |
| 11.0 | = 11.0 | no fix published | NVD |
10 more products in the sources.
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Vendor advisories
Siemens BFCClient
BFCClient
Hitachi Energy's RTU500 Series Product (UPDATE B)
RTU500 series CMU Firmware: >=12.0.1|<=12.0.15 · RTU500 series CMU Firmware: >=12.2.1|<=12.2.12 · RTU500 series CMU Firmware: >=12.4.1|<=12.4.12 · +5 more
Hitachi Energy Gateway Station
Gateway Station (GWS): 2.0.0.0 · Gateway Station (GWS): 2.1.0.0 · Gateway Station (GWS): 2.2.0.0 · +5 more
Hitachi Energy MicroSCADA Pro X SYS600
SYS600: 9.x versions · SYS600: 10.3.1 and earlier
Mitsubishi Electric Multiple Factory Automation Products (Update B)
CC-Link IE TSN Industrial Managed Switch (NZ2MHG-TSNT8F2 NZ2MHG-TSNT4): Version 03 and prior · GOT2000 compatible HMI software (GT SoftGOT2000): Version 1.275M · MELSEC iQ-R Series OPC UA Server Module (RD81OPC96): Version 08 and prior
Siemens OpenSSL Affected Industrial Products
Industrial Edge - OPC UA Connector · Industrial Edge - SIMATIC S7 Connector App · OpenPCS 7 V8.2 · +582 more
2 more advisories
Fix
- Update Node.js to 17.7.2 · 16.14.2 · 14.19.1 · 12.22.11
- Vendor fix CISA ICSA-25-226-21 · 1 productUpdate to V2.17 or later version. Contact customer support to obtain the update
- Vendor fix CISA ICSA-23-143-02 · 8 productsRTU500 series CMU Firmware version 12.0.1 � 12.0.14: Update to CMU Firmware version 12.0.15* (Planned Update)
- Vendor fix CISA ICSA-23-143-02 · 8 productsRTU500 series CMU Firmware version 12.2.1 � 12.2.11: Update to CMU Firmware version 12.2.12* (Planned Update)
- Vendor fix CISA ICSA-23-143-02 · 8 productsRTU500 series CMU Firmware version 12.4.1 � 12.4.11: Update to CMU Firmware version 12.4.12* (Planned Update)
- Vendor fix CISA ICSA-23-143-02 · 8 productsRTU500 series CMU Firmware version 12.6.1 � 12.6.8: Update to CMU Firmware version 12.6.9
- Vendor fix CISA ICSA-23-143-02 · 8 productsRTU500 series CMU Firmware version 12.7.1 � 12.7.5: Update to CMU Firmware version 12.7.6
Advisories and patches
- www.openssl.orgVendor Advisory
Detection
read 2026-10-23 19:23 UTC- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof-of-concept repositories
- 6 repositories, unverifieddrago-96/CVE-2022-0778yywing/cve-2022-0778jkakavas/CVE-2022-0778-POC0xUhaw/CVE-2022-0778Trinadh465/openssl-1.1.1g_CVE-2022-0778 PoC-in-GitHub
Sources
- GCVEexploitation2026-04-15
- CISA-ADPSSVC decisionnone2026-05-22
- OpenCVESSVC decisionnone—
- CISA-ADPCVSS 3.17.52026-05-22
- NVDCVSS 3.17.5read 2026-10-23
- NVDCVSS 2.05read 2026-10-23
- CISA-ADPweakness (CWE)CWE-8352026-05-22
- NVDweakness (CWE)CWE-835read 2026-10-23
- FIRST EPSSEPSS score73.2 %read 2026-10-23
- PoC-in-GitHubproof of concept6read 2026-10-23
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Published
- 2022-03-15
- Last Modified
- 2026-10-14
- NVD status
- Modified
Frequently asked questions
What is CVE-2022-0778?
Is CVE-2022-0778 actively exploited?
What is the CVSS score for CVE-2022-0778?
Hear about the next vulnerability in your software
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- For a threat intelligence platform: malware, C2 and ransomware indicators over STIX/TAXII.
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.