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 TLSXKeyShare_FreeAll(), which attempts to call ForceZero() on the already-freed KyberKey, resulting in writes of zero bytes over freed heap memory.
{
"sources": [
{
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-5460",
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-5460",
"id": "CVE-2026-5460",
"modified": "2026-06-17T10:59:04.097Z",
"imported": "2026-07-17T22:31:20.687Z",
"published": "2026-04-10T00:16:36.033Z",
"database_specific": {
"status": "Analyzed"
}
},
{
"url": "https://api.github.com/advisories/GHSA-w87p-fqgx-cqq8",
"html_url": "https://github.com/advisories/GHSA-w87p-fqgx-cqq8",
"published": "2026-04-10T00:30:31Z",
"imported": "2026-07-17T22:31:20.861Z",
"id": "GHSA-w87p-fqgx-cqq8",
"modified": "2026-04-29T15:30:37Z"
},
{
"url": "https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-21240",
"html_url": "https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-21240",
"id": "EUVD-2026-21240",
"imported": "2026-07-17T22:31:30.739Z",
"published": "2026-04-09T23:29:27Z",
"modified": "2026-04-10T13:51:18Z"
}
],
"license": "CC-BY-4.0"
}