Approved changes feed: RSS · Atom

cpe:2.3:a:rustcrypto:sm2_elliptic_curve:0.14.0:pre0:*:*:*:rust:*:*

part: a version: 0.14.0 update: pre0

VendorRustcrypto (c797da4a-d6a7-52ea-9aca-a2161d124c5a)
ProductSm2 Elliptic Curve (ba1647a7-0442-5d9d-bbd5-ddadd9b323bf)
Edition*
Language*
Software edition*
Target softwarerust
Target hardware*
Other*
NotesImported from NVD CPE 2.0 feed

PURL mappings

PURLSourceLast updated
No PURL mappings for this CPE yet.

Vulnerability references

IdentifiercpeApplicabilitySubmitteddb.gcve.eu detailsRationale
CVE:CVE-2026-22700 vulnerable 2026-06-08 07:51:13.631057 RustCrypto Has Insufficient Length Validation in decrypt() in SM2-PKE
HIGH (7.5)
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 denial-of-service vulnerability exists in the SM2 public-key encryption (PKE) implementation: the decrypt() path performs unchecked slice::split_at operations on input buffers derived from untrusted ciphertext. An attacker can submit short/undersized ciphertext or carefully-crafted DER-encoded structures to trigger bounds-check panics (Rust unwinding) which crash the calling thread or process. This issue has been patched via commit e60e991.
Published: 2026-01-10T05:17:25.583Z
Updated: 2026-01-12T14:46:46.227Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-22699 vulnerable 2026-06-08 07:51:13.630314 RustCrypto SM2-PKE has Unchecked AffinePoint Decoding (unwrap) in decrypt()
HIGH (7.5)
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 denial-of-service vulnerability exists in the SM2 PKE decryption path where an invalid elliptic-curve point (C1) is decoded and the resulting value is unwrapped without checking. Specifically, AffinePoint::from_encoded_point(&encoded_c1) may return a None/CtOption::None when the supplied coordinates are syntactically valid but do not lie on the SM2 curve. The calling code previously used .unwrap(), causing a panic when presented with such input. This issue has been patched via commit 085b7be.
Published: 2026-01-10T05:17:22.818Z
Updated: 2026-01-12T14:59:18.634Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-22698 vulnerable 2026-06-08 07:51:13.627367 RustCrypto SM2-PKE has 32-bit Biased Nonce Vulnerability
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.
Published: 2026-01-10T05:17:19.993Z
Updated: 2026-01-12T16:48:30.706Z
Reference links
Imported from gcve-enriched-dumps CVE data

Contribute

You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.