1.7Low

CVE-2026-27448pyOpenSSL allows TLS connection bypass via unhandled callback exception in set_tlsext_servername_callback

pyca pyopenssl Published: (7 months ago)

Description

pyOpenSSL is a Python wrapper around the OpenSSL library. Starting in version 0.14.0 and prior to version 26.0.0, 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. Starting in version 26.0.0, unhandled exceptions now result in rejecting the connection.

Weakness (CWE): CWE-636

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
pyca pyopenssl >= 0.14.0, < 26.0.0
pyopenssl pyopenssl 0.14 – < 26.0.0

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:pyopenssl:pyopenssl:*:*:*:*:*:*:*:* ≥ 0.14 < 26.0.0