CVEfocus › CVE database › CVE-2026-27448

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

CVSS 1.7 LowEPSS 0.5% (higher than 31% of CVEs)Published 2026-03-17Updated 2026-03-18Assigner: GitHub_M

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.

CWE-636

What to do

Fixed builds are available from Alpine, Debian, PyPI, Ubuntu: see the table below for the fixed version per release.

Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

8Fixed
5Fix pending
4Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04pyopensslNot affected
vulnerable_code_not_present
Ubuntu 25.10pyopensslFixed25.0.0-1ubuntu0.1UBUNTU-CVE-2026-27448
Ubuntu 24.04pyopensslFixed23.2.0-1ubuntu0.1UBUNTU-CVE-2026-27448
Ubuntu 22.04pyopensslFixed21.0.0-1ubuntu0.1UBUNTU-CVE-2026-27448
Ubuntu 20.04pyopensslFix pending19.0.0-1ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2026-27448
Ubuntu 18.04pyopensslFix pending17.5.0-1ubuntu1+esm1 (Ubuntu Pro)UBUNTU-CVE-2026-27448
Ubuntu 16.04pyopensslFix pending0.15.1-2ubuntu0.2+esm1 (Ubuntu Pro)UBUNTU-CVE-2026-27448
Debian 14pyopensslFixed26.0.0-1DEBIAN-CVE-2026-27448
Debian 13pyopensslFixed25.0.0-1+deb13u1DEBIAN-CVE-2026-27448
Debian 12pyopensslFix pendingDEBIAN-CVE-2026-27448
Red Hat Enterprise Linux 8python3-pyOpenSSLFix pending
Fix deferred
Red Hat Enterprise Linux 7pyOpenSSLNot affected
Red Hat Enterprise Linux 7pyOpenSSL-docNot affected
Red Hat Enterprise Linux 6pyOpenSSLNot affected
Alpine Linux 3.24py3-opensslFixed26.1.0-r0ALPINE-CVE-2026-27448
Alpine Linux 3.23py3-opensslFixed26.1.0-r0ALPINE-CVE-2026-27448
PyPI librarypyopensslFixed26.0.0PYSEC-2026-2268

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.