CVE & CISA-KEV Catalog

CVE-2026-12340

MEDIUM
7.5
CVSS v3
NVD

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).

How to fix

Remediation Available
wolfsslNVD
Affected:>= 5.6.4, < 5.9.2Fixed in:5.9.2CVE-2026-12340derived from NVD

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityNone
AvailabilityHigh

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploit Intelligence

0.23%probability of exploitation in 30 days
13thpercentile

Low risk: more likely to be exploited than 13% of all known CVEs.

References

Vendor Advisory1
Embed a live status badge for CVE-2026-12340
CVE-2026-12340 severity badge

Markdown

[![CVE-2026-12340](https://tridentstack.com/cve/badge/CVE-2026-12340.svg)](https://tridentstack.com/cve/CVE-2026-12340)

HTML

<a href="https://tridentstack.com/cve/CVE-2026-12340"><img src="https://tridentstack.com/cve/badge/CVE-2026-12340.svg" alt="CVE-2026-12340"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-06-26.