CVE-2026-4395CWE-122

Heap-based buffer overflow in wc_ecc_import_x963_ex KCAPI path

Low · published March 19, 2026

CVSS v4.0
1.3
EPSS
1%
Percentile
48.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
1.3 · LOW
Vector
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/AU:Y/R:U/V:D/RE:L/U:Amber
EPSS
0.00616 · 48.9th percentile
Weakness
CWE-122 · Heap-based Buffer Overflow
Published
2026-03-19T20:41Z
EPSS history
Timeline
  • 19 MAR 20:41Z
    Heap-based buffer overflow in wc_ecc_import_x963_ex KCAPI path
    cvelistv5