CVE-2026-12340
Last modified
CVE-2026-12340 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 0.21% chance of exploitation in the next 30 days.
Description
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).
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Wolfssl | Wolfssl | >= 5.6.4, < 5.9.2 |
References
- https://github.com/wolfSSL/wolfssl/pull/10641Issue Tracking, Patch
- https://www.wolfssl.com/docs/security-vulnerabilities/Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-12340?
How severe is CVE-2026-12340?
How do I fix CVE-2026-12340?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-12327Memory safety bugs present in Firefox ESR 140.11, Thunderbir…8.1
- CVE-2026-12328Memory safety bugs present in Firefox ESR 115.36, Firefox ES…8.1
- CVE-2026-12329Memory safety bug fixed in Thunderbird ESR 140.12. This vuln…5.3
- CVE-2026-1233The Text to Speech for WP (AI Voices by Mementor) plugin for…7.5
- CVE-2026-12330Incorrect boundary conditions in the Internationalization co…5.4
- CVE-2026-12339A Zip Slip vulnerability in the WebUI ISP Upgrade functional…6.9
- CVE-2026-12341This vulnerability impacts all versions of IdentityIQ and al…9.8
- CVE-2026-12348Address bar spoofing in Arc Search for Android allows a remo…7.4
- CVE-2026-12349The Premium Addons for KingComposer plugin for WordPress is …5.3
- CVE-2026-1235The WP eCommerce WordPress plugin through 3.15.1 unserialize…6.5
- CVE-2026-12352This vulnerability allows an unauthenticated actor to bypass…5.9
- CVE-2026-12353An unauthenticated attacker could trigger an Out of Memory c…5.3
Are you affected by CVE-2026-12340?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
