# sm2 (crates.io) vulnerabilities

3 known vulnerabilities (3 high), with the versions each affects and the releases that fix them.

## At a glance

- Latest release: 0.14.0 (Oct 2, 2026): no advisory affects it
- Newest unaffected release: 0.14.0 (Oct 2, 2026), the latest release
- Weekly downloads: 2,296
- Dependents: 0
- Releases: 23 since 0.0.1 (Mar 2, 2020)
- Registry: https://crates.io/crates/sm2
- Releases read: Nov 8, 2026

## Version timeline

Affected versions per advisory, in version order:

- CVE-2026-22700: 0.14.0-pre.0 to 0.14.0-rc.4 (0.14.0-rc.5 is outside it)
- CVE-2026-22699: 0.14.0-pre.0 to 0.14.0-rc.4 (0.14.0-rc.5 is outside it)
- CVE-2026-22698: 0.14.0-pre.0 to 0.14.0-rc.4 (0.14.0-rc.5 is outside it)

## Advisories (3)

### [CVE-2026-22700](https://cve.now/CVE-2026-22700): RustCrypto Has Insufficient Length Validation in decrypt() in SM2-PKE

- Severity: High 7.5
- Published: Jan 10, 2026
- Affected: from 0.14.0-pre.0, through 0.14.0-rc.4.
- Fixed in 0.14.0 (released Oct 2, 2026, 265 days after disclosure), the first release outside every affected range (no listed fixed version clears them all).
- The latest release, 0.14.0, is not affected.

### [CVE-2026-22699](https://cve.now/CVE-2026-22699): RustCrypto SM2-PKE has Unchecked AffinePoint Decoding (unwrap) in decrypt()

- Severity: High 7.5
- Published: Jan 10, 2026
- Affected: from 0.14.0-pre.0, through 0.14.0-rc.4.
- Fixed in 0.14.0 (released Oct 2, 2026, 265 days after disclosure), the first release outside every affected range (no listed fixed version clears them all).
- The latest release, 0.14.0, is not affected.

### [CVE-2026-22698](https://cve.now/CVE-2026-22698): RustCrypto SM2-PKE has 32-bit Biased Nonce Vulnerability

- Severity: High 8.7
- Published: Jan 10, 2026
- Affected: from 0.14.0-pre.0, through 0.14.0-rc.4.
- Fixed in 0.14.0 (released Oct 2, 2026, 265 days after disclosure), the first release outside every affected range (no listed fixed version clears them all).
- The latest release, 0.14.0, is not affected.

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/packages/crates.io/sm2
Site guide for agents: https://cve.now/llms.txt
Uses NVD data; not endorsed by NVD.
