CVE-2026-4395 LOW

CVE-2026-4395: Heap-based buffer overflow in wc_ecc_import_x963_ex KCAPI path

Vendor Wolfssl
Product wolfssl
Weakness CWE-122
Published March 19, 2026
Last update March 20, 2026

CVSS base score

1.3/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction
Confidentiality
Integrity

CVSS 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

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

March 19, 2026 CVE published
March 20, 2026 Record updated