Out-of-bounds heap read during SM2/SM3 certificate signature verification. When parsing a certificate with an SM3wSM2 signature, the Subject Key Identifier computation reads the trailing 65 bytes of the public key without checking that the key is at least that long. A public key shorter than 65 bytes results in an out-of-bounds heap read, leading to a potential crash (denial of service); there is no out-of-bounds write. Note this only affects builds with SM2 support (--enable-sm2 or --enable-all).
CVE-2026-12340
Score 7.5 from GitHub Security Advisory published 2026-06-25. NVD baseline CVSS 7.5; sources differ by 0.0.
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 7.5
- EG Score
- 7.5(high)
- EPSS
- 13.3%
- KEV
- Not listed
Published
June 25, 2026
Last Modified
June 26, 2026
Advisory Details (2)
Auto-updated Jun 26, 2026wolfSSL Security Vulnerabilities | Documentation - wolfSSL
https://www.wolfssl.com/docs/security-vulnerabilities/Fixes for SM2/3 and FindMultiAttrib
Fix merged in wolfSSL/wolfssl PR #10641 on 2026-06-10 — awaiting tagged release
https://github.com/wolfSSL/wolfssl/pull/10641Vendor Advisories for CVE-2026-12340(2)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 34× in last 7d / 55× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-06 18:37 UTCEG score recompute
- 2026-07-06 18:37 UTCGHSA enrichment
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 05:45 UTCEG score recompute
- 2026-07-06 05:45 UTCGHSA enrichment
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-05 16:55 UTCEG score recompute
- 2026-07-05 16:55 UTCGHSA enrichment
- 2026-07-05 04:07 UTCEG score recompute
- 2026-07-05 04:07 UTCGHSA enrichment
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-04 15:19 UTCEG score recompute
- 2026-07-04 15:19 UTCGHSA enrichment
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-04 02:30 UTCEG score recompute
- 2026-07-04 02:30 UTCGHSA enrichment
- 2026-07-03 13:38 UTCEG score recompute
- 2026-07-03 13:38 UTCGHSA enrichment
- 2026-07-03 00:50 UTCEG score recompute
- 2026-07-03 00:50 UTCGHSA enrichment
- 2026-07-02 12:02 UTCEG score recompute
- 2026-07-02 12:02 UTCGHSA enrichment
- 2026-07-01 23:13 UTCEG score recompute
- 2026-07-01 23:13 UTCGHSA enrichment
Show 30 moreShow fewer
- 2026-07-01 15:06 UTCEPSS rescore
- 2026-07-01 15:06 UTCEPSS rescore
- 2026-07-01 10:25 UTCEG score recompute
- 2026-07-01 10:25 UTCGHSA enrichment
- 2026-06-30 23:22 UTCEPSS rescore
- 2026-06-30 21:37 UTCEG score recompute
- 2026-06-30 21:36 UTCGHSA enrichment
- 2026-06-30 08:46 UTCEG score recompute
- 2026-06-30 08:46 UTCGHSA enrichment
- 2026-06-29 19:58 UTCEG score recompute
- 2026-06-29 19:58 UTCGHSA enrichment
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-29 07:10 UTCEG score recompute
- 2026-06-29 07:09 UTCGHSA enrichment
- 2026-06-28 18:20 UTCEG score recompute
- 2026-06-28 18:20 UTCGHSA enrichment
- 2026-06-28 14:07 UTCEPSS rescore
- 2026-06-28 05:31 UTCEG score recompute
- 2026-06-28 05:31 UTCGHSA enrichment
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-27 16:43 UTCEG score recompute▲ 1.20
- 2026-06-27 16:43 UTCGHSA enrichment
- 2026-06-27 03:08 UTCEPSS rescore
- 2026-06-26 19:41 UTCNVD updateCVSS v3 → 7.5 · severity → HIGH
- 2026-06-26 15:45 UTCEG score recompute▲ 6.30
- 2026-06-26 15:45 UTCGHSA enrichment
- 2026-06-26 15:40 UTCNVD updateCVSS v3 → 6.3 · CVSS v4 → 6.3
- 2026-06-25 21:46 UTCEG score recompute
- 2026-06-25 21:46 UTCGHSA enrichment
Related CVEs(same CWE)
Same CWE
10 shownCWE-125
- CVE-2014-2898EG 9.8CRITICAL
- CVE-2014-2897EG 9.8CRITICAL
- CVE-2014-2896EG 9.8CRITICAL
- CVE-2015-9290EG 9.8CRITICAL
- CVE-2016-10749EG 9.8CRITICAL
- CVE-1999-0006EG 9.8EPSS 96%CRITICAL
- CVE-2014-3180EG 9.1CRITICAL
- CVE-2014-1508EG 9.1EPSS 90%CRITICAL
- CVE-2016-5198NVD 8.8EG 9.0 KEVEPSS 98%HIGH
- CVE-2016-4523NVD 7.5EG 9.0 KEVEPSS 98%HIGH
Frequently asked(5)
What is CVE-2026-12340?
When was CVE-2026-12340 disclosed?
Is CVE-2026-12340 actively exploited?
What is the CVSS score of CVE-2026-12340?
How do I remediate CVE-2026-12340?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-12340
Is Your Infrastructure Affected by CVE-2026-12340?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.