A flaw was found in openCryptoki. The openCryptoki Soft token does not check if an EC key is valid when an EC key is created via C_CreateObject, nor when C_DeriveKey is used with ECDH public data. This may allow a malicious user to extract the private key by performing an invalid curve attack.
Conclusion & alert: CVE-2021-3798 is rated Low Risk (34.9/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.15%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2025-11-21 | 0.08% | 0.15% | +0.07% |
| 2 | 2025-11-18 | 0.15% | 0.08% | -0.07% |
| 3 | 2025-09-22 | — | 0.15% | — |
Full EPSS history (10 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 5.5 | 3.1 | MEDIUM |
|
1.8 | 3.6 | [email protected] |
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
unimportant | CVE-2021-3798 unimportant priority: Debian including 1 source packages (opencryptoki), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. | https://security-tracker.debian.org/tracker/CVE-2021-3798 |
redhat
|
medium | — | https://access.redhat.com/security/cve/CVE-2021-3798 |
ubuntu
|
medium | CVE-2021-3798 medium priority: Ubuntu including 1 source packages (opencryptoki), 15 status rows across 15 suites (bionic, focal, hirsute, impish, jammy, kinetic, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): ignored 7, needs-triage 6, DNE 1, not-affected 1. | https://ubuntu.com/security/CVE-2021-3798 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| opencryptoki_project | opencryptoki | < 3.17.0 | cpe:2.3:a:opencryptoki_project:opencryptoki:*:*:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| https://access.redhat.com/security/cve/CVE-2021-3798 | Third Party Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=1990591 | Issue Tracking Patch Third Party Advisory |
| https://github.com/opencryptoki/opencryptoki/commit/4e3b43c3d8844402c04a66b55c6c940f965109f0 | Patch Third Party Advisory |
| https://github.com/opencryptoki/opencryptoki/pull/402 | Patch Third Party Advisory |