CVE-2026-5460

published 9 Apr 2026 · updated 11 Nov 2026

Heap Use-After-Free in PQC Hybrid KeyShare Error Cleanup in wolfSSL TLS 1.3

6.3MediumCVSS 6.3EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 5.9.1.

A heap use-after-free exists in wolfSSL's TLS 1.3 post-quantum cryptography (PQC) hybrid KeyShare processing. In the error handling path of TLSX_KeyShare_ProcessPqcHybridClient() in src/tls.c, the inner function TLSX_KeyShare_ProcessPqcClient_ex() frees a KyberKey object upon encountering an error. The caller then invokes TLSX_KeyShare_FreeAll(), which attempts to call ForceZero() on the already-freed KyberKey, resulting in writes of zero bytes over freed heap memory.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
wolfSSLwolfssl<5.9.15.9.1
wolfSSL<5.9.15.9.1

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-5460 severity on Zeptric[![CVE-2026-5460](https://zeptric.io/badge/cve/CVE-2026-5460.svg)](https://zeptric.io/cve/CVE-2026-5460)