VULNERABILITY INTELLIGENCE
CVE-2026-5460
CVSS score6.5 MEDIUM
EPSS probability0.21%
CISA KEVNot currently listed
Published2026-04-10
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
Description
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.
Weakness classification
- facts@wolfssl.com: CWE-416
Primary references
- facts@wolfssl.com — Issue Tracking, Patch