Vulnerability · Published Mar 19, 2026 · Assigned by wolfSSL

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

Low 1.3

In plain English

A low-severity heap buffer overflow in wolfssl from wolfSSL. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 30% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)1.3Low
Exploit odds (30 days)0.4%top 70.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.23wolfssl5.9.1-r0ALPINE-CVE-2026-4395
Alpine:v3.24wolfssl5.9.0-r0ALPINE-CVE-2026-4395
Debian:12wolfsslno fix listedDEBIAN-CVE-2026-4395
Debian:13wolfsslno fix listedDEBIAN-CVE-2026-4395
Ubuntu:22.04:LTSwolfsslno fix listedUBUNTU-CVE-2026-4395
Ubuntu:24.04:LTSwolfsslno fix listedUBUNTU-CVE-2026-4395
Ubuntu:25.10wolfsslno fix listedUBUNTU-CVE-2026-4395
Ubuntu:26.04:LTSwolfsslno fix listedUBUNTU-CVE-2026-4395
Ubuntu:26.10wolfsslno fix listedUBUNTU-CVE-2026-4395

Affected products (as reported)

VendorProductVersions
wolfSSL wolfssl 0 – through 5.8.4

Weakness: CWE-122 · 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

References