GHSA-vp96-hxj8-p424Low

pyOpenSSL allows TLS connection bypass via unhandled callback exception in set_tlsext_servername_callback

Published
March 16, 2026
Last Modified
March 19, 2026

🔗 CVE IDs covered (1)

📋 Description

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.

🎯 Affected products1

  • pip/pyopenssl:>= 0.14.0, < 26.0.0

🔗 References (5)