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

Published Mar 19, 2026
·
Updated

Heap-based buffer overflow in the KCAPI ECC code path of wceccimportx963ex() in wolfSSL wolfcrypt allows a remote attacker to write attacker-controlled data past the bounds of the pubkeyraw buffer via a crafted oversized EC public key point. The WOLFSSLKCAPIECC code path copies the input to key->pubkeyraw (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 Software

2 affected components
wolfSSL wolfCrypt
wolfSSL wolfssl<5.9.0

Remediation

Information

Update to the wolfSSL version containing the fix from PR #9988, which adds a bounds check on inLen before the XMEMCPY to pubkey_raw in the KCAPI ECC code path.

Event History

Mar 19, 2026
CVE Published
via MITRE·08:41 PM
Data Sourced
via MITRE·08:41 PM
RemedyDescriptionWeakness
Data Sourced
via NVD·09:17 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jun 19, 58205
Event
via FIRST·04:13 AM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-4395?

CVE-2026-4395 has been classified as a high severity vulnerability due to the potential for remote code execution.

2

How do I fix CVE-2026-4395?

To fix CVE-2026-4395, update to the latest version of wolfSSL wolfCrypt where the vulnerability has been addressed.

3

What does CVE-2026-4395 affect?

CVE-2026-4395 affects the EC public key import functionality of the wolfSSL wolfCrypt library.

4

What type of vulnerability is CVE-2026-4395?

CVE-2026-4395 is a heap-based buffer overflow vulnerability.

5

Who can exploit CVE-2026-4395?

CVE-2026-4395 can be exploited by remote attackers with the ability to send crafted oversized EC public key data.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203