CVE-2026-4395CRITICAL 9.8EPSS p26.1%
CVE-2026-4395CVE-2026-4395
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.
Scoring
| CVSS 3.1 | 9.8 (CRITICAL) |
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| EPSS | 0.34% probability of exploitation · percentile 26.1% · 2026-06-19T12:03:05Z |
| Published | 2026-03-19 |
| Last modified | 2026-03-26 |
Underlying weaknesses· 1
References
1
| Type | Target | Confidence | Tier |
|---|---|---|---|
| Weakness | Heap-based Buffer Overflowcwe-122 | 0% | live |
Related by meaning· 6
Nearest entities by semantic similarity across the cs-graph corpus.