CVE Explorer
CVE-2026-22698
RustCrypto: Elliptic Curves is general purpose Elliptic Curve Cryptography (ECC) support, including types and traits for representing various elliptic curve forms, scalars, points, and public/secret keys composed thereof. In versions 0.14.0-pre.0 and 0.14.0-rc.0, a critical vulnerability exists in the SM2 Public Key Encryption (PKE) implementation where the ephemeral nonce k is generated with severely reduced entropy. A unit mismatch error causes the nonce generation function to request only 32
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"elliptic-curves","vendor":"RustCrypto","versions":[{"status":"affected","version":"= 0.14.0-pre.0"},{"status":"affected","version":"= 0.14.0-rc.0"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:2047226083710898b325673acb1319144257cfd866eedbe81f33c103ff6edfd7 · sha256:04965d1e561a2886… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":8.7,"baseSeverity":"HIGH","privilegesRequired":"NONE","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"NONE"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:2047226083710898b325673acb1319144257cfd866eedbe81f33c103ff6edfd7 · sha256:04965d1e561a2886… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
1 source assertion{"cweId":"CWE-331","description":"CWE-331: Insufficient Entropy","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:2047226083710898b325673acb1319144257cfd866eedbe81f33c103ff6edfd7 · sha256:04965d1e561a2886… · /containers/cna/problemTypes/0/descriptions/0
Source references
6 source assertions{"name":"https://crates.io/crates/sm2/0.14.0-pre.0","tags":["x_refsource_MISC"],"url":"https://crates.io/crates/sm2/0.14.0-pre.0"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:2047226083710898b325673acb1319144257cfd866eedbe81f33c103ff6edfd7 · sha256:04965d1e561a2886… · /containers/cna/references/4
{"name":"https://crates.io/crates/sm2/0.14.0-rc.0","tags":["x_refsource_MISC"],"url":"https://crates.io/crates/sm2/0.14.0-rc.0"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:2047226083710898b325673acb1319144257cfd866eedbe81f33c103ff6edfd7 · sha256:04965d1e561a2886… · /containers/cna/references/5
{"name":"https://github.com/RustCrypto/elliptic-curves/commit/4781762f23ff22ab34763410f648128055c93731","tags":["x_refsource_MISC"],"url":"https://github.com/RustCrypto/elliptic-curves/commit/4781762f23ff22ab34763410f648128055c93731"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:2047226083710898b325673acb1319144257cfd866eedbe81f33c103ff6edfd7 · sha256:04965d1e561a2886… · /containers/cna/references/2
{"name":"https://github.com/RustCrypto/elliptic-curves/commit/e4f77788130d065d760e57fb109370827110a525","tags":["x_refsource_MISC"],"url":"https://github.com/RustCrypto/elliptic-curves/commit/e4f77788130d065d760e57fb109370827110a525"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:2047226083710898b325673acb1319144257cfd866eedbe81f33c103ff6edfd7 · sha256:04965d1e561a2886… · /containers/cna/references/3
{"name":"https://github.com/RustCrypto/elliptic-curves/pull/1600","tags":["x_refsource_MISC"],"url":"https://github.com/RustCrypto/elliptic-curves/pull/1600"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:2047226083710898b325673acb1319144257cfd866eedbe81f33c103ff6edfd7 · sha256:04965d1e561a2886… · /containers/cna/references/1
{"name":"https://github.com/RustCrypto/elliptic-curves/security/advisories/GHSA-w3g8-fp6j-wvqw","tags":["x_refsource_CONFIRM"],"url":"https://github.com/RustCrypto/elliptic-curves/security/advisories/GHSA-w3g8-fp6j-wvqw"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:2047226083710898b325673acb1319144257cfd866eedbe81f33c103ff6edfd7 · sha256:04965d1e561a2886… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.