CVEfocus › CVE database › CVE-2026-27459

CVE-2026-27459pyOpenSSL DTLS cookie callback buffer overflow

CVSS 7.2 HighEPSS 1.0% (higher than 63% of CVEs)Published 2026-03-17Updated 2026-09-11Assigner: GitHub_M

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.

CWE-120

What to do

Fixed builds are available from Alpine, Debian, PyPI, Ubuntu: see the table below for the fixed version per release.

Debian has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

7Fixed
1Fix pending
5Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 25.10pyopensslFixed25.0.0-1ubuntu0.1UBUNTU-CVE-2026-27459
Ubuntu 24.04pyopensslFixed23.2.0-1ubuntu0.1UBUNTU-CVE-2026-27459
Ubuntu 22.04pyopensslNot affected
vulnerable_code_not_present
Debian 14pyopensslFixed26.0.0-1DEBIAN-CVE-2026-27459
Debian 13pyopensslFixed25.0.0-1+deb13u1DEBIAN-CVE-2026-27459
Debian 12pyopensslFix pendingDEBIAN-CVE-2026-27459
Red Hat Enterprise Linux 8python3-pyOpenSSLNot affected
Red Hat Enterprise Linux 7pyOpenSSLNot affected
Red Hat Enterprise Linux 7pyOpenSSL-docNot affected
Red Hat Enterprise Linux 6pyOpenSSLNot affected
Alpine Linux 3.24py3-opensslFixed26.1.0-r0ALPINE-CVE-2026-27459
Alpine Linux 3.23py3-opensslFixed26.1.0-r0ALPINE-CVE-2026-27459
PyPI librarypyopensslFixed26.0.0PYSEC-2026-2269

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.