# JLSEC-2026-700: Out-of-bounds heap read during SM2/SM3 certificate signature verification

- Severity: High 7.5 (CVSS:3.1, scored by Julia Security Advisories) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-07-14T21:41:35.775Z
- Modified: 2026-07-25T18:24:47.629Z
- Related: CVE-2026-12340, GHSA-q349-x427-xg3w, EUVD-2026-39547

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

(As written by Julia Security Advisories.)

## Affected

- wolfSSL_jll (Julia): from 5.7.2+0 before 5.9.2+0

## Every score

- Julia Security Advisories: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Julia Security Advisories: CVSS:4.0 `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`

## References

- <https://github.com/advisories/GHSA-q349-x427-xg3w> (web)
- <https://github.com/wolfSSL/wolfssl/pull/10641> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-12340> (web)
- <https://www.wolfssl.com/docs/security-vulnerabilities> (web)
- <https://www.wolfssl.com/docs/security-vulnerabilities/> (web)

## Sources

- Julia Security Advisories: [JLSEC-2026-700](https://osv.dev/vulnerability/JLSEC-2026-700), CC-BY-4.0, modified 2026-07-25

---

Page: https://cve.day/JLSEC-2026-700 · Whole record: https://cve.day/JLSEC-2026-700.json · Rebuilt by cve.day 2026-11-25T22:56:26.208Z
