CVE-2026-5503: out-of-bounds write in TLSX_EchChangeSNI via attacker-controlled publicName

Published Apr 9, 2026
·
Updated

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 TLSXSNIWrite to memcpy 255 bytes past the allocation boundary.

Affected Software

2 affected components
wolfSSL wolfssl
wolfSSL wolfssl<=5.9.0

Event History

Apr 9, 2026
CVE Published
via MITRE·10:35 PM
Data Sourced
via MITRE·10:35 PM
DescriptionWeakness
Data Sourced
via NVD·11:17 PM
DescriptionSeverityWeaknessAffected Software
Jan 26, 58293
Event
via FIRST·02:58 PM

Frequently Asked Questions

1

What is the severity of CVE-2026-5503?

CVE-2026-5503 is categorized as a high severity vulnerability due to the potential for an attacker to gain control over the shared WOLFSSL_CTX.

2

How do I fix CVE-2026-5503?

To fix CVE-2026-5503, update to the latest version of wolfSSL where the vulnerability has been addressed.

3

What impact does CVE-2026-5503 have on affected software?

CVE-2026-5503 allows an attacker to perform an out-of-bounds write, potentially compromising the integrity of the TLS connection.

4

Which versions of wolfSSL are affected by CVE-2026-5503?

CVE-2026-5503 affects certain versions of wolfSSL that utilize the TLSX_EchChangeSNI function without proper checks.

5

Is CVE-2026-5503 related to TLS security?

Yes, CVE-2026-5503 directly impacts TLS security by exploiting the TLSX_EchChangeSNI function's improper handling of attacker-controlled inputs.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203