RustCrypto SM2 elliptic curve 0.14.0 Release Candidate 0 for Rust
Approved changes feed: RSS · Atom
cpe:2.3:a:rustcrypto:sm2_elliptic_curve:0.14.0:rc0:*:*:*:rust:*:*
part: a version: 0.14.0 update: rc0
| Vendor | Rustcrypto (c797da4a-d6a7-52ea-9aca-a2161d124c5a) |
|---|---|
| Product | Sm2 Elliptic Curve (ba1647a7-0442-5d9d-bbd5-ddadd9b323bf) |
| Edition | * |
| Language | * |
| Software edition | * |
| Target software | rust |
| Target hardware | * |
| Other | * |
| Notes | Imported from NVD CPE 2.0 feed |
PURL mappings
| PURL | Source | Last updated |
|---|---|---|
| No PURL mappings for this CPE yet. | ||
Vulnerability references
| Identifier | cpeApplicability | Submitted | db.gcve.eu details | Rationale |
|---|---|---|---|---|
CVE:CVE-2026-22700 |
vulnerable | 2026-06-08 07:51:13.631180 |
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 |
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2026-22699 |
vulnerable | 2026-06-08 07:51:13.630350 |
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 |
Imported from gcve-enriched-dumps CVE data |
CVE:CVE-2026-22698 |
vulnerable | 2026-06-08 07:51:13.629809 |
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.