Buffer overflow in Pyca Pyopenssl
CVE-2026-27459
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.008, 57.1th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Pyca Pyopenssl — versions >= 22.0.0, < 26.0.0
- Pyopenssl
Weakness classification (CWE)
References
- https://github.com/pyca/pyopenssl/security/advisories/GHSA-5pwr-322w-8jr4 (Vendor Advisory)
- https://github.com/pyca/pyopenssl/commit/57f09bb4bb051d3bc2a1abd36e9525313d5cd408 (Patch)
- https://github.com/pyca/pyopenssl/blob/358cbf29c4e364c59930e53a270116249581eaa3/CHANGELOG.rst (Release Notes)
- access.redhat.com/errata/RHSA-2026:10754
- access.redhat.com/errata/RHSA-2026:11856
- access.redhat.com/errata/RHSA-2026:11916
- access.redhat.com/errata/RHSA-2026:11996
- access.redhat.com/errata/RHSA-2026:13508
- access.redhat.com/errata/RHSA-2026:13512
- access.redhat.com/errata/RHSA-2026:13545