cargo package report

Is sm2 safe?

3 known vulnerabilities, worst severity HIGH.

cvss
7.5

how bad it is if exploited, out of 10

epss
0.30%

chance of exploitation in the next 30 days

xyz score
3.3

CyberXYZ composite, out of 10

fig. 01 — GHSA-j9xq-69pf-pcm8, the advisory selected below

// advisories

GHSA-j9xq-69pf-pcm8

HIGHCVE-2026-22700

A denial-of-service vulnerability exists in the SM2 public-key encryption (PKE) implementation: the decrypt() path performs unchecked slice::splitat 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.

Affected
>= 0.14.0-pre.0, <= 0.14.0-rc.4
Fixed in
not stated
Weakness
CWE-20
Published
2026-01-13
Source
github

GHSANVDMITREreferencereferencereference


// ai model usage

Tracked for PyPI packages. HuggingFace models declare Python dependencies, so cargo packages are not covered.


Checked 2026-09-22 at 02:35 UTC. The most recent advisory here was published 2026-01-13. Updated continuously from NVD, GHSA, OSV and CNA feeds.

Think a verdict here is wrong? Tell us — we respond within 2 business days.
Is sm2 safe? cargo package security report | CyberXYZ