PYSEC-2026-2268

    Dashboard / Vulnerabilities / PYSEC-2026-2268

    PYSEC-2026-2268

    Published: 18 Mar 2026Last Modified: 13 Jul 2026

    Summary:

    Details: 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 packages

    Package

    Name: pyopenssl

    Purl: pkg:pypi/pyopenssl

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0.14
    Fixed -26.0.0

    Affected versions

    0.14

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High