CVE-2026-4395
Last modified
CVE-2026-4395 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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. EPSS estimates a 0.34% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Wolfssl | Wolfssl | < 5.9.0 |
References
- https://github.com/wolfSSL/wolfssl/pull/9988Issue Tracking, Patch
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-4395?
How severe is CVE-2026-4395?
How do I fix CVE-2026-4395?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-43943electerm is an open-sourced terminal/ssh/sftp/telnet/serialp…7.8
- CVE-2026-43944electerm is an open-sourced terminal/ssh/sftp/telnet/serialp…9.6
- CVE-2026-43945FUXA is a web-based Process Visualization (SCADA/HMI/Dashboa…8.9
- CVE-2026-43946FUXA is a web-based Process Visualization (SCADA/HMI/Dashboa…7.7
- CVE-2026-43947FUXA is a web-based Process Visualization (SCADA/HMI/Dashboa…8.9
- CVE-2026-43948wger is a free, open-source workout and fitness manager. Pri…9.9
- CVE-2026-43951Out-of-bounds Read vulnerability in Apache HTTP Server with …6.5
- CVE-2026-43958A flaw was found in rrdcached, a component of rrdtool. A loc…7.8
- CVE-2026-4396Improper certificate validation in Devolutions Hub Reporting…8.1
- CVE-2026-43961A flaw was found in Vim's netrw plugin. A crafted filename c…7.8
- CVE-2026-43964Postfix before 3.8.16, 3.9 before 3.9.10, and 3.10 before 3.…7.5
- CVE-2026-43965Path traversal vulnerability in Gleam's dependency managemen…5.6
Are you affected by CVE-2026-4395?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
