{"id":"CVE-2026-5503","published":"2026-04-09T22:35:39Z","modified":"2026-04-10T17:58:51Z","title":"out-of-bounds write in TLSX_EchChangeSNI via attacker-controlled publicName","vendor":"wolfSSL","product":"wolfSSL","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.9,"severity":"MEDIUM","version":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0053,"percentile":0.45718,"provenance":"source"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"}],"references":[{"url":"https://github.com/wolfSSL/wolfssl/pull/10102","tags":[]}],"priority":{"score":14.0,"factors":[{"name":"EPSS percentile","points":9.14},{"name":"CVSS severity","points":4.83}]},"vendorSlug":"wolfssl","affectedVersions":[{"vendor":"wolfSSL","product":"wolfSSL","versions":["<= 5.9.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-04-10T17:58:43.475862Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-21234","exploited":false,"provenance":"source"}}