Security Resilience

CVE-2026-23966

Juneandgreen Sm-Crypto ≤ 0.3.14

Published
22 January 2026
Modified
25 February 2026
Patch / advisory
CVSS Score v3.1 9.1
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS Score 0.0030 15th percentile
Risk Priority 66 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2026-23966 is a critical-severity Insufficient Verification of Data Authenticity (CWE-345) vulnerability in Juneandgreen Sm-Crypto. Its CVSS base score is 9.1 (Critical).

Operationally, ranked at the 15th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to SC-23 (Session Authenticity) and SI-7 (Software, Firmware, and Information Integrity) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

CVE-2026-23966 is a private key recovery vulnerability in the SM2 decryption logic of the sm-crypto JavaScript library, which implements Chinese cryptographic algorithms SM2, SM3, and SM4. Versions of sm-crypto prior to 0.3.14 are affected, enabling an attacker to fully recover the private key through repeated interactions with the decryption interface, typically requiring only several hundred calls.

The vulnerability has a CVSS v3.1 base score of 9.1 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N), indicating it is exploitable remotely over a network with low complexity, no privileges or user interaction required. An unauthenticated attacker can target any application or service exposing the sm-crypto SM2 decryption functionality, such as web applications or Node.js services using the library for SM2 operations, to extract the underlying private key and potentially decrypt sensitive data or forge signatures.

The sm-crypto security advisory (GHSA-pgx9-497m-6c4v) and the patching commit (b1c824e58fdf1eaa73692c124a095819a8c45707) confirm that upgrading to version 0.3.14 resolves the issue by addressing the flawed decryption logic. Security practitioners should audit dependencies for vulnerable sm-crypto versions and apply the patch immediately, especially in environments handling Chinese national cryptographic standards.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

sm-crypto provides JavaScript implementations of the Chinese cryptographic algorithms SM2, SM3, and SM4. A private key recovery vulnerability exists in the SM2 decryption logic of sm-crypto prior to version 0.3.14. By interacting with the SM2 decryption interface multiple times, an…

more

attacker can fully recover the private key within approximately several hundred interactions. Version 0.3.14 patches the issue.

CWE(s)

Related Threats

CVEs Like This One

CVE-2026-23965Same product: Juneandgreen Sm-Crypto
CVE-2026-23967Same product: Juneandgreen Sm-Crypto
CVE-2024-35175Shared CWE-345
CVE-2023-46445Shared CWE-345
CVE-2025-9379Shared CWE-345
CVE-2025-21606Shared CWE-345
CVE-2026-89251Shared CWE-345
CVE-2026-54167Shared CWE-345
CVE-2023-28863Shared CWE-345
CVE-2026-127204Shared CWE-345

Affected Assets

juneandgreen
sm-crypto
≤ 0.3.14

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Explicit requirement to protect session authenticity structurally prevents the weakness for communications.

Integrity verification tools detect (but do not stop) the acceptance of data lacking authenticity.

Cryptographic mechanisms can be used to verify authenticity, thereby preventing acceptance of invalid data.

Associating security attributes with exchanged information supports verification of authenticity.

Integrity protection on transmitted data directly stops acceptance of unauthenticated or altered data.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing can detect missing or weak data authenticity verification.

prevents

Secure coding practices include implementing proper data authenticity checks.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

References