What’s Vulnerable › Vulnerabilities

CVE-2026-27459: pyOpenSSL DTLS cookie callback buffer overflow

Description

pyOpenSSL is a Python wrapper around the OpenSSL library. Starting in version 22.0.0 and prior to version 26.0.0, if a user provided callback to `set_cookie_generate_callback` returned a cookie value greater than 256 bytes, pyOpenSSL would overflow an OpenSSL provided buffer. Starting in version 26.0.0, cookie values that are too long are now rejected.

Affected products

How to fix

Upgrade to a fixed version: pyca pyopenssl 26.0.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-27459 or the next vulnerability affects your stack