CVE-2026-27448

pyOpenSSL allows TLS connection bypass via unhandled callback exception in set_tlsext_servername_callback

State
Published
Severity
1.7 Low
Published
Mar 17, 2026
Updated
Mar 18, 2026
Reserved
Feb 19, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.01.7 LowCVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:UGitHub_M

Weaknesses

  • CWE-636 Not Failing Securely ('Failing Open')

Affected Products

ProductVersions
pyopensslpyca
  • >= 0.14.0, < 26.0.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.