In TLSXEchChangeSNI, the ctx->extensions branch set extensions unconditionally even when TLSXFind returned NULL. This caused TLSXUseSNI to attach the attacker-controlled publicName to the shared WOLFSSLCTX when no inner SNI was configured. TLSXEchRestoreSNI then failed to clean it up because its removal was gated on serverNameX != NULL. The inner ClientHello was sized before the pollution but written after it, causing TLSXSNI_Write to memcpy 255 bytes past the allocation boundary.
{
"sources": [
{
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-5503",
"modified": "2026-06-17T10:59:08.027Z",
"published": "2026-04-09T23:17:01.257Z",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-5503",
"imported": "2026-07-17T22:32:32.085Z",
"id": "CVE-2026-5503",
"database_specific": {
"status": "Analyzed"
}
},
{
"url": "https://api.github.com/advisories/GHSA-65xm-pfx9-g5p3",
"html_url": "https://github.com/advisories/GHSA-65xm-pfx9-g5p3",
"id": "GHSA-65xm-pfx9-g5p3",
"imported": "2026-07-17T22:32:32.246Z",
"published": "2026-04-10T00:30:31Z",
"modified": "2026-04-27T18:32:02Z"
},
{
"url": "https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-21234",
"html_url": "https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-21234",
"imported": "2026-07-17T22:32:42.161Z",
"modified": "2026-04-10T17:58:51Z",
"published": "2026-04-09T22:35:39Z",
"id": "EUVD-2026-21234"
}
],
"license": "CC-BY-4.0"
}