CVE-2026-4395
published low CVSS 4.0 · 1.3Heap-based buffer overflow in wc_ecc_import_x963_ex KCAPI path
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| wolfSSL | — | wolfssl0 through 5.8.4 · Other versions: unaffected · Platforms: Linux | Affected | Not stated | wolfSSL |
| Alpine Linux | edge | wolfssl | Fixed | 5.9.0-r0 | Package fix record |
| Alpine Linux | v3.23 | wolfssl | Fixed | 5.9.1-r0 | Package fix record |
| Alpine Linux | v3.24 | wolfssl | Fixed | 5.9.0-r0 | Package fix record |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 1.3 / 10
- Severity
- low
- Provider
- wolfSSL · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| wolfSSL | wolfssl | 0 through 5.8.4 (affected · semver)Default: unaffected | wolfSSL · cna |
Weaknesses
1- CWE-122 CWE-122 Heap-based Buffer Overflow
References
1Provider assertions
2wolfSSL · cna
Heap-based buffer overflow in wc_ecc_import_x963_ex KCAPI path
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ca81b49c1c5bef8ece419c71c9c6ae20d4b33258e3ded67551e119db2970f5f9
- Ingested
- 23 Sep 2026, 09:18:17 UTC
- Source record
- Official CVE record