CVE-2026-27459: Vulnerability in Pyopenssl

Critical. 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.

PyPI, CWE-120

Exploitation
None confirmed
Severity
9.8 of 10
Attack likelihood
1 % in 30 days
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-5pwr-322w-8jr4
EU ID
EUVD-2026-12677
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-120
Published
16 Mar 2026
Last change
10 Sept 2026
Likelihood rank
Higher than 63 % of all rated vulnerabilities
Analysis status
Modified
Ecosystem
PyPI

Affected products

Affected versions and the first fixed release

  • Pyopenssl From 22.0.0 before 26.0.0. Fixed in 26.0.0

Affected packages

Vulnerable version ranges and fixed releases

  • pyopenssl PyPI, Affected from 22.0.0 before 26.0.0. Fixed in 26.0.0

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes

Related