Vulnerability

CVE-2026-5503

mediumCVSS 4.0 6.9Published 9 Apr 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

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

From the NVD's configuration data (CPE), vendor first.

  • Wolfssl wolfssl

Weakness type

References

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning