# CVE-2021-36219: An issue was discovered in SKALE sgxwallet 1.58.3.

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.70%, higher than 77% of CVEs (2026-12-01)
- Published: 2021-09-27T13:22:28.000Z
- Modified: 2026-06-17T03:58:32.597Z
- Weaknesses: CWE-824
- Assigned by: mitre

## Description

An issue was discovered in SKALE sgxwallet 1.58.3. The provided input for ECALL 14 triggers a branch in trustedEcdsaSign that frees a non-initialized pointer from the stack. An attacker can chain multiple enclave calls to prepare a stack that contains a valid address. This address is then freed, resulting in compromised integrity of the enclave. This was resolved after v1.58.3 and not reproducible in sgxwallet v1.77.0.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- skale sgxwallet: 1.58.3

## Every score

- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://github.com/skalenetwork/sgxwallet/releases> (release-notes, third-party-advisory)
- <https://github.com/skalenetwork/sgxwallet/commit/4e9b5b7526db083177e81f8bafeaa4914d276a82> (patch, third-party-advisory)

## Sources

- CVE List: [CVE-2021-36219](https://www.cve.org/CVERecord?id=CVE-2021-36219), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2021-36219](https://nvd.nist.gov/vuln/detail/CVE-2021-36219), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-36219 · Whole record: https://cve.day/CVE-2021-36219.json · Rebuilt by cve.day 2026-11-25T22:58:04.172Z
