cvedb.io
CVE-2026-5503
CRITICAL · CVSS 9.1
EPSS exploitation probability: 0%
Published 2026-04-09T23:17:01.257 · Last modified 2026-06-17T10:59:08.027

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.

Affected products

wolfssl — wolfssl

Does this affect you?

Add your gear to cvedb and we'll alert you only when wolfssl ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.