If a user provided callback to set_tlsext_servername_callback raised an unhandled exception, this would result in a connection being accepted. If a user was relying on this callback for any security-sensitive behavior, this could allow bypassing it.
Unhandled exceptions now result in rejecting the connection.
Credit to Leury Castillo for reporting this issue.
{
"github_reviewed": true,
"github_reviewed_at": "2026-03-16T15:15:43Z",
"cwe_ids": [
"CWE-636"
],
"nvd_published_at": "2026-03-18T00:16:19Z",
"severity": "LOW"
}