
CVE catalog
CVE-2026-4395
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 buffe
- Severity
- Low · CVSS 1.3
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.35% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | wolfssl | sid | 5.9.2-1.2 | fixed |
| Debian | wolfssl | trixie | 5.7.2-0.1+deb13u2 | vulnerable |
| Debian | wolfssl | bookworm | 5.5.4-2+deb12u2 | vulnerable |
| Debian | wolfssl | bookworm-security | 5.5.4-2+deb12u3 | vulnerable |
| Cpe | wolfssl | Not reported | Not reported | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | wolfssl | source | sid | 5.9.0-0.1 | not yet assigned | Not reported | Not reported |
| Debian | wolfssl | source | trixie | (unfixed) | not yet assigned | Not reported | Not reported |
| Debian | wolfssl | source | bookworm | (unfixed) | not yet assigned | Not reported | Not reported |
Notes
[trixie] wolfssl: Minor issue [bookworm] wolfssl: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libwolfssl35]Affected
Source package: [wolfssl]
Details (4)
5.5.4-2+deb12u2· amd64 · bookwormAffected
nvd · wolfssl · debian · bookworm; nvd · wolfssl · debian · 12
5.5.4-2+deb12u2· arm64 · bookwormAffected
nvd · wolfssl · debian · bookworm; nvd · wolfssl · debian · 12
5.5.4-2+deb12u3· amd64 · bookworm-securityAffected
nvd · wolfssl · debian · bookworm; nvd · wolfssl · debian · 12
5.5.4-2+deb12u3· arm64 · bookworm-securityAffected
nvd · wolfssl · debian · bookworm; nvd · wolfssl · debian · 12
- [libwolfssl-dev]Affected
Source package: [wolfssl]
Details (4)
5.5.4-2+deb12u2· amd64 · bookwormAffected
nvd · wolfssl · debian · bookworm; nvd · wolfssl · debian · 12
5.5.4-2+deb12u2· arm64 · bookwormAffected
nvd · wolfssl · debian · bookworm; nvd · wolfssl · debian · 12
5.5.4-2+deb12u3· amd64 · bookworm-securityAffected
nvd · wolfssl · debian · bookworm; nvd · wolfssl · debian · 12
5.5.4-2+deb12u3· arm64 · bookworm-securityAffected
nvd · wolfssl · debian · bookworm; nvd · wolfssl · debian · 12
[Debian 13 (Trixie)]
- [libwolfssl42t64]Affected
Source package: [wolfssl]
Details (2)
5.7.2-0.1+deb13u1· amd64 · trixieAffected
nvd · wolfssl · debian · 13
5.7.2-0.1+deb13u1· arm64 · trixieAffected
nvd · wolfssl · debian · 13
- [libwolfssl-dev]Affected
Source package: [wolfssl]
Details (2)
5.7.2-0.1+deb13u1· amd64 · trixieAffected
nvd · wolfssl · debian · 13
5.7.2-0.1+deb13u1· arm64 · trixieAffected
nvd · wolfssl · debian · 13
Observed: