GHSA-j9xq-69pf-pcm8
HIGHCVE-2026-22700A 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