CVE-2026-5460: Heap Use-After-Free in PQC Hybrid KeyShare Error Cleanup in wolfSSL TLS 1.3

Published Apr 9, 2026
·
Updated

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 TLSXKeyShareProcessPqcHybridClient() in src/tls.c, the inner function TLSXKeyShareProcessPqcClientex() frees a KyberKey object upon encountering an error. The caller then invokes TLSXKeyShareFreeAll(), which attempts to call ForceZero() on the already-freed KyberKey, resulting in writes of zero bytes over freed heap memory.

Affected Software

7 affected componentsFixes available
wolfSSL wolfssl
alpine/wolfssl<5.9.1-r0
5.9.1-r0
alpine/wolfssl<5.9.1-r0
5.9.1-r0
wolfSSL wolfssl<5.9.1
debian/wolfssl*
debian/wolfssl*
debian/wolfssl<=5.5.4-2+deb12u2, <=5.5.4-2+deb12u3, <=5.7.2-0.1+deb13u2
5.9.2-1.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade alpine/wolfssl to a version that resolves this vulnerability.

    Fixed in 5.9.1-r0
  2. Upgrade

    Upgrade debian/wolfssl to a version that resolves this vulnerability.

    Fixed in 5.9.2-1.2

Event History

Apr 9, 2026
CVE Published
via MITRE·11:29 PM
Data Sourced
via MITRE·11:29 PM
DescriptionWeakness
Data Sourced
via OSV·11:29 PM
DescriptionSeverityWeakness
Apr 10, 2026
Data Sourced
via NVD·12:16 AM
RemedyDescriptionSeverityWeaknessAffected Software
Nov 3, 2026
Data Sourced
via OSV·06:32 AM
Affected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-5460?

CVE-2026-5460 is considered a high severity vulnerability due to the potential for exploitation through a heap use-after-free condition.

2

How do I fix CVE-2026-5460?

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

3

What type of vulnerability is CVE-2026-5460?

CVE-2026-5460 is classified as a heap use-after-free vulnerability affecting the PQC hybrid KeyShare processing in wolfSSL.

4

When was CVE-2026-5460 published?

CVE-2026-5460 was published on an unspecified date, but it's crucial to check for the most recent updates and patches provided by wolfSSL.

5

Which versions of wolfSSL are affected by CVE-2026-5460?

CVE-2026-5460 affects versions of wolfSSL that implement TLS 1.3 with PQC hybrid KeyShare processing.

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