CVE-2026-5460 in Wolfssl
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 i...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Wolfssl | Wolfssl | < 5.9.1 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2026-5460 |
|---|---|
| BreachSpider ID | BS-2026-GLOBAL-154111-M |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L |
| Published | 2026-04-10 |
| Last modified | 2026-11-11 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-416: Use After Free
Software references memory after it has been freed, leading to corruption, crashes, or code execution.
Analysis AI-written, not human-reviewed
A heap use-after-free vulnerability exists in wolfSSL's TLS 1.3 post-quantum cryptography (PQC) hybrid KeyShare processing, which could lead to memory corruption and potentially remote code execution.
The vulnerability occurs in the error handling path of TLSX_KeyShare_ProcessPqcHybridClient() in src/tls.c. When 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 object.
Questions
What is CVE-2026-5460?
A heap use-after-free vulnerability exists in wolfSSL's TLS 1.3 post-quantum cryptography (PQC) hybrid KeyShare processing, which could lead to memory corruption and potentially remote code execution.
What is the CVSS score for CVE-2026-5460?
CVE-2026-5460 has CVSS 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L. EPSS: 0.4%.
Is CVE-2026-5460 actively exploited?
No confirmed active exploitation of CVE-2026-5460 as of 2026-11-12.
How do I remediate CVE-2026-5460?
Priority: HIGH.
What systems are affected by CVE-2026-5460?
CVE-2026-5460 affects Wolfssl Wolfssl.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Wolfssl","product":"Wolfssl","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-11-11.