CVE-2026-27459: pyca pyopenssl · Classic Buffer Overflow
Affects pyca pyopensslSource CVE Database V5
Not known to be exploited · CVSS 7.2 High : upgrade to 26.0.0 soon.
Data as of 30 Oct 2026, 11:52 UTC
- EPSS
- 0.7% chance of exploitation in 30 days – higher than 54% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 26.0.0
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:UExploitation evidence
Disclosed: evidence found.
CVE published 17 Mar 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.
What to do
Upgrade pyca pyopenssl to 26.0.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| pycapyopenssl | Affected
| Fixed in
|
PyPIpyopensslpkg:pypi/pyopensslOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available starting with pyOpenSSL version 26.0.0, which rejects cookie values longer than 256 bytes. Users should upgrade to version 26.0.0 or later. If upgrading is not immediately possible, ensure that any callback provided to set_cookie_generate_callback strictly limits cookie length to under 256 bytes to mitigate the vulnerability.
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
- github.com/pyca/pyopenssl/security/advisories/GHSA-5pwr-322w-8jr4 (opens in a new tab)
- github.com/pyca/pyopenssl/commit/57f09bb4bb051d3bc2a1abd36e9525313d5cd408 (opens in a new tab)
- github.com/pyca/pyopenssl/blob/358cbf29c4e364c59930e53a270116249581eaa3/CHANGELOG.rst (opens in a new tab)
- access.redhat.com/security/cve/CVE-2026-27459 (opens in a new tab)
- bugzilla.redhat.com/show_bug.cgi?id=2448503 (opens in a new tab)
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-27459.json (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:13512 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:10754 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:14874 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:13508 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:14873 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:14835 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:13553 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:13545 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:7224 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:11856 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:21017 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:24853 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:19375 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:22465 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:48085 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:11916 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:11996 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:8437 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:48758 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:59153 (opens in a new tab)