CVE-2026-5460

medium
Published 2026-04-10 · Modified 2026-04-29
CVSS v3
6.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
CVSS v2
VIR risk
6.5

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.

Predictions

Exploit likelihood
75%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2026-5460

vendor Authored 2026-05-27

Vendor advisory: facts@wolfssl.com — https://github.com/wolfssl/wolfssl/pull/10092

OS impact

OSVersionStatusFixed in
debian debianbookwormaffected
debian debianbullseyeaffected
debian debianforkyfixed5.9.1-0.1
debian debiansidfixed5.9.1-0.1
debian debiantrixieaffected

Application impact

VendorProductVersionsFixed
wolfsslwolfssl{"endExcluding":"5.9.1"}5.9.1

References

CWEs

CWE-416

Verify integrity in audit chain (admin only). AS-IS.