# JLSEC-2026-713: Heap-based buffer overflow in the KCAPI ECC code path of wceccimportx963ex() in wolfSSL wolfcrypt allows a remote attacker to write attacke…

- Severity: Critical 9.8 (CVSS:3.1, scored by Julia Security Advisories) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/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:00.391Z
- Related: CVE-2026-4395, EUVD-2026-13235

## Description

Heap-based buffer overflow in the KCAPI ECC code path of `wc_ecc_import_x963_ex()` in wolfSSL wolfcrypt allows a remote attacker to write attacker-controlled data past the bounds of the `pubkey_raw` buffer via a crafted oversized EC public key point. The `WOLFSSL_KCAPI_ECC` code path copies the input to key->`pubkey_raw` (132 bytes) using XMEMCPY without a bounds check, unlike the ATECC code path which includes a length validation. This can be triggered during TLS key exchange when a malicious peer sends a crafted ECPoint in ServerKeyExchange.

(As written by Julia Security Advisories.)

## Affected

- wolfSSL_jll (Julia): before 5.9.2+0

## Every score

- Julia Security Advisories: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Julia Security Advisories: CVSS:4.0 `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/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:Y/R:U/V:D/RE:L/U:Amber`

## References

- <https://github.com/wolfSSL/wolfssl/pull/9988> (web)

## Sources

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

---

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