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.

Project Subscriptions

Vendors Products
Pyopenssl Subscribe
Pyopenssl Subscribe
Pyopenssl Subscribe
Advisories
Source ID Title
Github GHSA Github GHSA GHSA-5pwr-322w-8jr4 pyOpenSSL DTLS cookie callback buffer overflow
Ubuntu USN Ubuntu USN USN-8115-1 pyOpenSSL vulnerabilities
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

References
Link Providers
https://access.redhat.com/errata/RHSA-2026:10754 cve-icon
https://access.redhat.com/errata/RHSA-2026:11856 cve-icon
https://access.redhat.com/errata/RHSA-2026:11916 cve-icon
https://access.redhat.com/errata/RHSA-2026:11996 cve-icon
https://access.redhat.com/errata/RHSA-2026:13508 cve-icon
https://access.redhat.com/errata/RHSA-2026:13512 cve-icon
https://access.redhat.com/errata/RHSA-2026:13545 cve-icon
https://access.redhat.com/errata/RHSA-2026:13553 cve-icon
https://access.redhat.com/errata/RHSA-2026:14835 cve-icon
https://access.redhat.com/errata/RHSA-2026:14873 cve-icon
https://access.redhat.com/errata/RHSA-2026:14874 cve-icon
https://access.redhat.com/errata/RHSA-2026:19375 cve-icon
https://access.redhat.com/errata/RHSA-2026:21017 cve-icon
https://access.redhat.com/errata/RHSA-2026:22465 cve-icon
https://access.redhat.com/errata/RHSA-2026:24853 cve-icon
https://access.redhat.com/errata/RHSA-2026:48085 cve-icon
https://access.redhat.com/errata/RHSA-2026:48758 cve-icon
https://access.redhat.com/errata/RHSA-2026:59153 cve-icon
https://access.redhat.com/errata/RHSA-2026:7224 cve-icon
https://access.redhat.com/errata/RHSA-2026:8437 cve-icon
https://access.redhat.com/security/cve/CVE-2026-27459 cve-icon
https://bugzilla.redhat.com/show_bug.cgi?id=2448503 cve-icon
https://github.com/pyca/pyopenssl/blob/358cbf29c4e364c59930e53a270116249581eaa3/CHANGELOG.rst cve-icon cve-icon cve-icon
https://github.com/pyca/pyopenssl/commit/57f09bb4bb051d3bc2a1abd36e9525313d5cd408 cve-icon cve-icon cve-icon
https://github.com/pyca/pyopenssl/security/advisories/GHSA-5pwr-322w-8jr4 cve-icon cve-icon cve-icon
https://nvd.nist.gov/vuln/detail/CVE-2026-27459 cve-icon
https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-27459.json cve-icon
https://www.cve.org/CVERecord?id=CVE-2026-27459 cve-icon
History

Tue, 25 Aug 2026 13:30:00 +0000

Type Values Removed Values Added
References

Mon, 17 Aug 2026 12:30:00 +0000

Type Values Removed Values Added
References

Mon, 23 Mar 2026 18:15:00 +0000

Type Values Removed Values Added
First Time appeared Pyopenssl
Pyopenssl pyopenssl
CPEs cpe:2.3:a:pyopenssl:pyopenssl:*:*:*:*:*:*:*:*
Vendors & Products Pyopenssl
Pyopenssl pyopenssl
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H'}

cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}


Thu, 19 Mar 2026 00:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H'}

threat_severity

Important


Wed, 18 Mar 2026 20:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 18 Mar 2026 12:15:00 +0000

Type Values Removed Values Added
First Time appeared Pyca
Pyca pyopenssl
Vendors & Products Pyca
Pyca pyopenssl

Tue, 17 Mar 2026 23:45:00 +0000

Type Values Removed Values Added
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.
Title pyOpenSSL DTLS cookie callback buffer overflow
Weaknesses CWE-120
References
Metrics cvssV4_0

{'score': 7.2, 'vector': 'CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-31T12:04:21.760Z

Reserved: 2026-02-19T17:25:31.100Z

Link: CVE-2026-27459

cve-icon Vulnrichment

Updated: 2026-08-31T12:04:21.760Z

cve-icon NVD

Status : Modified

Published: 2026-03-18T00:16:19.273

Modified: 2026-08-31T13:17:33.347

Link: CVE-2026-27459

cve-icon Redhat

Severity : Important

Publid Date: 2026-03-17T23:34:28Z

Links: CVE-2026-27459 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-03-24T10:54:19Z

Weaknesses