Search covers the description text, product and vendor names and weakness types (also partial words).

CVE-2026-22698
rustcrypto sm2 elliptic curve

Score8.7 High
CVSS 4.0
Exploit probability (EPSS)0.43%
within the next 30 days
CategoryCryptographic weakness
Published10 January 2026
Last modified: 17 June 2026

In short

This vulnerability can be exploited remotely over the network, without logging in, without any user interaction.

A successful attack has high impact: reading confidential data.

✨ AI commentary

After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.

Official description

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 bits of randomness instead of the expected 256 bits. This reduces the security of the encryption from a 128-bit level to a trivial 16-bit level, allowing a practical attack to recover the nonce k and decrypt any ciphertext given only the public key and ciphertext. This issue has been patched via commit e4f7778.

CVSS: 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Weakness: CWE-331

Affected products

VendorProductVersions
rustcryptosm2 elliptic curve0.14.0

Sources

Latest in the same category

  • CVE-2026-139881 Medium 6.3
    libexpat 2.2.3 through 2.11.0 contains an insufficient entropy vulnerability in writeRandomBytes_dev_urandom() that falls back to a predictable hash salt after short reads. Attackers can craft XML documents with names…
    Cryptographic weakness · 30 November 2026
  • CVE-2026-137021 High 8.2
    Enclave OS Mini is a Rust-based runtime for confidential applications inside Intel SGX enclaves. Prior to enclave-vaults version 0.33.0, Enclave OS Mini's handle_wrap operation accepted the caller-supplied iv_b64 value…
    Cryptographic weakness · 30 November 2026
  • CVE-2026-81069 Low 2.5
    Dell Secure Connect Gateway - Virtual Edition, versions prior to 5.36.00.16, contains a Use of Insufficiently Random Values vulnerability. A low privileged local attacker could potentially exploit this vulnerability,…
    Cryptographic weakness · 30 November 2026
  • CVE-2026-107967 Low 0.9
    HCL Verse for Android included a decryption code for compatibility with locally stored values and attachment files created by older application versions (no longer used for data stored by newer versions). HCL Verse for…
    Cryptographic weakness · 27 November 2026
  • CVE-2026-80509 Low 2.5
    Dell Secure Connect Gateway - Virtual Edition, versions prior to 5.36.00.16, contains a Use of a Broken or Risky Cryptographic Algorithm vulnerability. A low privileged local attacker could potentially exploit this…
    Cryptographic weakness · 27 November 2026
  • CVE-2026-137564 High 8.2
    web-token jwt-framework and jwt-library before 3.4.13, 4.0.x before 4.0.9, 4.1.x before 4.1.11, and 4.2.x before 4.2.6 (and jwt-encryption through 3.2.10) do not check the key length in JWEBuilder and JWEDecrypter for…
    Cryptographic weakness · 26 November 2026