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.
References (3)
Core 3
Core References
X_Refsource_Confirm x_refsource_confirm
https://github.com/pyca/pyopenssl/security/advisories/GHSA-5pwr-322w-8jr4
X_Refsource_Misc x_refsource_misc
https://github.com/pyca/pyopenssl/commit/57f09bb4bb051d3bc2a1abd36e9525313d5cd408
X_Refsource_Misc x_refsource_misc
https://github.com/pyca/pyopenssl/blob/358cbf29c4e364c59930e53a270116249581eaa3/CHANGELOG.rst
Scores
CVSS v3
9.8
EPSS
0.0050
EPSS Percentile
38.6%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
total
Details
CWE
CWE-120
Status
published
Products (3)
pyca/pyopenssl
>= 22.0.0, < 26.0.0
pyopenssl/pyopenssl
22.0.0 - 26.0.0
pypi/pyopenssl
22.0.0 - 26.0.0PyPI
Published
Mar 18, 2026
Tracked Since
Mar 18, 2026