Skip to main content
VulnerabilityPublished Updated

CVE-2026-27459: pyca pyopenssl · Classic Buffer Overflow

Affects pyca pyopensslSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 7.2 High : upgrade to 26.0.0 soon.

Data as of 30 Oct 2026, 11:52 UTC

CVSS 4.0 base score
7.2High
How severe the flaw is on the 0–10 CVSS scale.
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:U

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 17 Mar 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
pycapyopensslAffected
  • >=22.0.0 <26.0.0
Fixed in
  • 26.0.0
PyPIpyopensslpkg:pypi/pyopensslOther threatsAffected
  • <26.0.0 >=22.0.0
Fixed in
  • 26.0.0

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

Community reviews

Loading reviews…