Skip to content
OpenAdvisories

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.

Affected products

VendorProductAffectedFixed
pyca pyopenssl >= 0.14.0, < 26.0.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 pyopenssl 26.0.0-1 —
Debian 13 pyopenssl 25.0.0-1+deb13u1 —
Debian 12 pyopenssl No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 25.10 pyopenssl 25.0.0-1ubuntu0.1 —
Ubuntu 24.04 LTS pyopenssl 23.2.0-1ubuntu0.1 —
Ubuntu 22.04 LTS pyopenssl 21.0.0-1ubuntu0.1 —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS pyopenssl 19.0.0-1ubuntu0.1~esm1 USN-8335-1
Ubuntu Pro 18.04 LTS pyopenssl 17.5.0-1ubuntu1+esm1 USN-8335-1
Ubuntu Pro 16.04 LTS pyopenssl 0.15.1-2ubuntu0.2+esm1 USN-8335-1
ReleasePackageFixed inAdvisory
Red Hat Hardened Images 1 pyOpenSSL +2 26.0.0-1.1.hum1 RHSA-2026:7224
ReleasePackageFixed inAdvisory
SLES 15 SP7 python3-pyOpenSSL 21.0.0-150400.22.1 SUSE-SU-2026:3424-1
SLES 15 SP6 python-pyOpenSSL 23.2.0-150400.3.13.1 SUSE-SU-2026:1192-1
SLES 15 SP5 python-pyOpenSSL 23.2.0-150400.3.13.1 SUSE-SU-2026:1192-1
SLES 15 SP4 python-pyOpenSSL 23.2.0-150400.3.13.1 SUSE-SU-2026:1192-1
SLES 12 SP5 python-pyOpenSSL 17.1.0-4.32.1 SUSE-SU-2026:1582-1
Show 17 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 3 python-pyOpenSSL 23.2.0-150400.3.13.1 SUSE-SU-2026:1192-1
SLES for SAP 16.0 python-pyOpenSSL 25.0.0-160000.3.1 SUSE-SU-2026:20930-1
SLES for SAP 15 SP6 python-pyOpenSSL 23.2.0-150400.3.13.1 SUSE-SU-2026:1192-1
SLES for SAP 15 SP5 python-pyOpenSSL 23.2.0-150400.3.13.1 SUSE-SU-2026:1192-1
SLES for SAP 15 SP4 python-pyOpenSSL 23.2.0-150400.3.13.1 SUSE-SU-2026:1192-1
SLES 16.0 python-pyOpenSSL 25.0.0-160000.3.1 SUSE-SU-2026:20930-1
SLE Micro 6.1 python-pyOpenSSL 24.0.0-slfo.1.1_2.1 SUSE-SU-2026:20954-1
SLE Micro 6.0 python-pyOpenSSL 24.0.0-2.1 SUSE-SU-2026:20960-1
SLE Micro 5.5 python3-pyOpenSSL 21.0.0-150400.22.1 SUSE-SU-2026:3424-1
SLE Micro 5.4 python3-pyOpenSSL 21.0.0-150400.22.1 SUSE-SU-2026:3424-1
SLE Micro 5.3 python3-pyOpenSSL 21.0.0-150400.22.1 SUSE-SU-2026:3424-1
SLE Micro 5.2 python-pyOpenSSL 19.0.0-150300.3.3.1 SUSE-SU-2026:1416-1
SLE HPC 15 SP5 python-pyOpenSSL 23.2.0-150400.3.13.1 SUSE-SU-2026:1192-1
SLE HPC 15 SP4 python-pyOpenSSL 23.2.0-150400.3.13.1 SUSE-SU-2026:1192-1
SUSE Multi Linux Manager Tools SLE-Micro-5 venv-salt-minion 3006.0-150002.5.19.1 SUSE-RU-2026:2769-1
SUSE Multi Linux Manager Tools SLE-15 venv-salt-minion 3006.0-150002.5.19.1 SUSE-RU-2026:2769-1
SUSE Manager Client Tools for RHEL, Liberty and Clones 9 venv-salt-minion 3006.0-1.76.1 SUSE-EL-9-CLIENT-TOOLS-2026-2255
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python-pyOpenSSL 26.0.0-1.1 openSUSE-SU-2026:10392-1
openSUSE Leap 16.0 python-pyOpenSSL 25.0.0-160000.3.1 openSUSE-SU-2026:20419-1
openSUSE Leap 15.6 python-pyOpenSSL 23.2.0-150400.3.13.1 SUSE-SU-2026:1192-1
ReleasePackageFixed inAdvisory
Alpine v3.24 py3-openssl 26.1.0-r0 —
Alpine v3.23 py3-openssl 26.1.0-r0 —

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 pyOpenSSL 24.2.1-2 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 python3-pyOpenSSL 19.0.0-1.0.3.el9 ELSA-2026-50324
Oracle Linux 9 python39-oci-sdk +1 2.187.0-1.0.5.el9 ELSA-2026-604898

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling airflow-3 3.1.8-r8 —
Wolfi rolling az 2.84.0-r3 —
Wolfi rolling datadog-agent-7.72-core-integrations No fix yet —
Wolfi rolling datadog-agent-7.73-core-integrations 7.73.3-r23 —
Wolfi rolling datadog-agent-7.77-core-integrations 7.77.3-r5 —
Wolfi rolling ggshield 1.51.0-r1 —
Wolfi rolling mitmproxy 12.2.1-r0 —
Wolfi rolling py3-cassandra-medusa 0.27.0-r5 —
Wolfi rolling superset-6.0 6.0.0-r4 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI pyopenssl >= 0.14.0, < 26.0.0 26.0.0 GHSA-vp96-hxj8-p424
PyPI pyopenssl >= 0.14, < 26.0.0 26.0.0 PYSEC-2026-2268

Advisories 16

References