Cloudanix VulnDB

CVE-2026-22699

High · 7.5

SM2-PKE has Unchecked AffinePoint Decoding (unwrap) in decrypt()

CVSS

7.5

EPSS

0.4%

Published

Jan 9, 2026

CISA due date

—

The record

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.

Affected packages

Ecosystem Package Introduced Fixed
crates.io sm2 0.14.0-pre.0 No fix
cargo sm2 0.14.0-pre.0 No fix

Related vulnerabilities