{"id":"CVE-2026-5503","aliases":["CVE-2026-5503"],"related":[],"kind":"vulnerability","state":"published","title":"out-of-bounds write in TLSX_EchChangeSNI via attacker-controlled publicName","summary":"In TLSX_EchChangeSNI, the ctx->extensions branch set extensions unconditionally even when TLSX_Find returned NULL. This caused TLSX_UseSNI to attach the attacker-controlled publicName to the shared WOLFSSL_CTX when no inner SNI was configured. TLSX_EchRestoreSNI 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 TLSX_SNI_Write to memcpy 255 bytes past the allocation boundary.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In TLSX_EchChangeSNI, the ctx->extensions branch set extensions unconditionally even when TLSX_Find returned NULL. This caused TLSX_UseSNI to attach the attacker-controlled publicName to the shared WOLFSSL_CTX when no inner SNI was configured. TLSX_EchRestoreSNI 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 TLSX_SNI_Write to memcpy 255 bytes past the allocation boundary.","source":"cvelist"}],"published":"2026-04-09T22:35:39.437Z","modified":"2026-06-17T10:59:08.027Z","severity":{"scorer":"wolfSSL","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N","score":6.9,"rating":"MEDIUM"},"severities":[{"scorer":"wolfSSL","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N","score":6.9,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","score":9.1,"rating":"CRITICAL"}],"cwes":["CWE-787"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"5.9.0","status":"affected"}],"vendor":"wolfSSL","product":"wolfSSL","source":"cvelist"},{"ranges":[{"status":"affected","lastAffected":"5.9.0"}],"vendor":"wolfssl","product":"wolfssl","cpe":"cpe:2.3:a:wolfssl:wolfssl:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/wolfSSL/wolfssl/pull/10102","tags":["issue-tracking"],"sources":["cvelist","nvd"]}],"credits":["Calif.io in collaboration with Claude and Anthropic Research"],"assigner":"wolfSSL","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-04-10T17:58:43.475Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-5503","url":"https://www.cve.org/CVERecord?id=CVE-2026-5503","licence":"CVE Terms of Use","modified":"2026-04-10T17:58:51.312Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-5503","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-5503","licence":"Public domain","modified":"2026-06-17T10:59:08.027Z"}],"updatedAt":"2026-11-25T22:59:18.465Z","epss":{"score":0.00541,"percentile":0.4696,"date":"2026-12-02T12:00:21.000Z"}}