CVE-2026-27459
pyOpenSSL: DTLS cookie callback buffer overflow
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, Photon OS. Rated lower by GHSA (high), Red Hat (high), Azure Linux (high), Ubuntu (medium).
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.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| Photon OS 4.0 | python3-pyOpenSSL | 23.2.0-3.ph4 |
| Photon OS 5.0 | python3-pyOpenSSL | 23.3.0-2.2.ph5 |
| alpine 3.23 | py3-openssl | 26.1.0-r0 |
| alpine 3.24 | py3-openssl | 26.1.0-r0 |
| alpine edge | py3-openssl | 26.1.0-r0 |
| Azure Linux 3.0 | pyOpenSSL | 0:24.2.1-2.azl3 |
| chainguard | airflow-2, airflow-3, authentik and 30 more | 2.11.2-r2 and 28 more |
| debian 12 | pyopenssl | no fix listed |
| debian 13 | pyopenssl | 25.0.0-1+deb13u1 |
| debian 14 | pyopenssl | 26.0.0-1 |
| echo | pyopenssl | 25.0.0-1+e2 |
| echo pip::Echo OSV | pyopenssl | 25.1.0+echo.1, 26.0.0 |
Show all 96 entries from 22 sources
| Source | Package | Fixed in |
|---|---|---|
| Photon OS 4.0 | python3-pyOpenSSL | 23.2.0-3.ph4 |
| Photon OS 5.0 | python3-pyOpenSSL | 23.3.0-2.2.ph5 |
| alpine 3.23 | py3-openssl | 26.1.0-r0 |
| alpine 3.24 | py3-openssl | 26.1.0-r0 |
| alpine edge | py3-openssl | 26.1.0-r0 |
| Azure Linux 3.0 | pyOpenSSL | 0:24.2.1-2.azl3 |
| chainguard | airflow-2 | 2.11.2-r2 |
| chainguard | airflow-3 | 3.1.8-r8 |
| chainguard | authentik | 2026.2.1-r4 |
| chainguard | authentik-fips | 2026.2.1-r3 |
| chainguard | awx | 24.6.1-r31 |
| chainguard | az | 2.84.0-r3 |
| chainguard | datadog-agent-7.73 | 7.73.3-r23 |
| chainguard | datadog-agent-7.74 | 7.74.1-r24 |
| chainguard | datadog-agent-7.76 | 7.76.3-r41 |
| chainguard | datadog-agent-7.77 | 7.77.3-r5 |
| chainguard | datadog-agent-fips-7.71 | 7.71.2-r20 |
| chainguard | datadog-agent-fips-7.73 | 7.73.3-r26 |
| chainguard | datadog-agent-fips-7.74 | 7.74.1-r26 |
| chainguard | datadog-agent-fips-7.76 | 7.76.3-r32 |
| chainguard | datadog-agent-fips-7.77 | 7.77.3-r5 |
| chainguard | datahub-ingestion | 1.5.0.1-r0 |
| chainguard | dbt-snowflake | 1.12.1-r0 |
| chainguard | ggshield | 1.51.0-r1 |
| chainguard | gitlab-cng-18.7 | 18.7.5-r1 |
| chainguard | gitlab-cng-18.8 | 18.8.5-r2 |
| chainguard | gitlab-cng-18.9 | 18.9.2-r1 |
| chainguard | gitlab-cng-fips-18.7 | 18.7.5-r1 |
| chainguard | gitlab-cng-fips-18.8 | 18.8.5-r1 |
| chainguard | gitlab-cng-fips-18.9 | 18.9.2-r1 |
| chainguard | gitlab-cng-fips-19.0 | 19.0.2-r1 |
| chainguard | keep | 0.51.0-r0 |
| chainguard | keep-fips | 0.51.0-r0 |
| chainguard | localstack | 4.14.0-r4 |
| chainguard | mitmproxy | 12.2.3-r0 |
| chainguard | py3-cassandra-medusa | 0.27.0-r5 |
| chainguard | request-1276 | 0.27.0-r6 |
| chainguard | superset-5.0 | 5.0.0-r20 |
| chainguard | superset-6.0 | 6.0.0-r4 |
| debian 12 | pyopenssl | no fix listed |
| debian 13 | pyopenssl | 25.0.0-1+deb13u1 |
| debian 14 | pyopenssl | 26.0.0-1 |
| echo | pyopenssl | 25.0.0-1+e2 |
| echo pip::Echo OSV | pyopenssl | 25.1.0+echo.1, 26.0.0 |
| minimos | airflow-2 | 2.11.2-r0 |
| minimos | airflow-3 | 3.2.0-r0 |
| minimos | datadog-agent-7 | 7.78.0-r0 |
| minimos | datadog-agent-fips-7 | 7.78.0-r0 |
| minimos | py3-pyopenssl | 26.0.0-r0 |
| pip::GitHub Security Advisory pip | pyopenssl | 26.0.0 |
| rapidfort debian 12 | pyopenssl | 0:25.0.0-1+deb13u1, 0:26.0.0-1 |
| rapidfort debian 13 | pyopenssl | 0:25.0.0-1+deb13u1, 0:26.0.0-1 |
| rapidfort fedora 43 | kryoptic | 1.5.0-2.fc43 |
| rapidfort fedora 43 | kryoptic-tools | 1.5.0-2.fc43 |
| rapidfort fedora 43 | pyOpenSSL | 0:26.0.0-1.fc43 |
| rapidfort fedora 43 | pyOpenSSL-doc | 26.0.0-1.fc43 |
| rapidfort fedora 43 | python-cryptography | 0:46.0.5-1.fc43 |
| rapidfort fedora 43 | python3-cryptography | 0:46.0.5-1.fc43 |
| rapidfort fedora 43 | python3-pyOpenSSL | 0:26.0.0-1.fc43 |
| rapidfort fedora 43 | rust-asn1 | 0.22.0-1.fc43 |
| rapidfort fedora 43 | rust-asn1+default-devel | 0.22.0-1.fc43 |
| rapidfort fedora 43 | rust-asn1+std-devel | 0.22.0-1.fc43 |
| rapidfort fedora 43 | rust-asn1-devel | 0.22.0-1.fc43 |
| rapidfort fedora 43 | rust-asn1_derive | 0.22.0-1.fc43 |
| rapidfort fedora 43 | rust-asn1_derive+default-devel | 0.22.0-1.fc43 |
| rapidfort fedora 43 | rust-asn1_derive-devel | 0.22.0-1.fc43 |
| rapidfort fedora 43 | rust-cryptoki | 0.12.0-2.fc43 |
| rapidfort fedora 43 | rust-cryptoki+default-devel | 0.12.0-2.fc43 |
| rapidfort fedora 43 | rust-cryptoki+generate-bindings-devel | 0.12.0-2.fc43 |
| rapidfort fedora 43 | rust-cryptoki+serde-devel | 0.12.0-2.fc43 |
| rapidfort fedora 43 | rust-cryptoki-devel | 0.12.0-2.fc43 |
| rapidfort fedora 43 | rust-cryptoki-sys | 0.5.0-2.fc43 |
| rapidfort fedora 43 | rust-cryptoki-sys+bindgen-devel | 0.5.0-2.fc43 |
| rapidfort fedora 43 | rust-cryptoki-sys+default-devel | 0.5.0-2.fc43 |
| rapidfort fedora 43 | rust-cryptoki-sys+generate-bindings-devel | 0.5.0-2.fc43 |
| rapidfort fedora 43 | rust-cryptoki-sys-devel | 0.5.0-2.fc43 |
| rapidfort Oracle Linux 10 | pyOpenSSL | 26.2.0-2.el10_3 |
| rapidfort Oracle Linux 10 | pyOpenSSL-doc | 26.2.0-2.el10_3 |
| rapidfort Oracle Linux 10 | python3-pyOpenSSL | 26.2.0-2.el10_3 |
| Red Hat | python-pyOpenSSL | no fix listed |
| Red Hat | python3-pyOpenSSL | no fix listed |
| Red Hat | rhceph/rhceph-7-rhel9 | no fix listed |
| Red Hat | rhceph/rhceph-8-rhel9 | no fix listed |
| Red Hat | rhceph/rhceph-9-rhel9 | no fix listed |
| ubuntu 24.04 | pyopenssl | 23.2.0-1ubuntu0.1 |
| ubuntu 25.10 | pyopenssl | 25.0.0-1ubuntu0.1 |
| wolfi | airflow-3 | 3.1.8-r8 |
| wolfi | az | 2.84.0-r3 |
| wolfi | datadog-agent-7.73 | 7.73.3-r23 |
| wolfi | datadog-agent-7.74 | 7.74.1-r24 |
| wolfi | datadog-agent-7.76 | 7.76.3-r41 |
| wolfi | datadog-agent-7.77 | 7.77.3-r5 |
| wolfi | ggshield | 1.51.0-r1 |
| wolfi | mitmproxy | 12.2.3-r0 |
| wolfi | py3-cassandra-medusa | 0.27.0-r5 |
| wolfi | superset-6.0 | 6.0.0-r4 |
References
- https://access.redhat.com/errata/RHSA-2026:10754
- https://access.redhat.com/errata/RHSA-2026:11856
- https://access.redhat.com/errata/RHSA-2026:11916
- https://access.redhat.com/errata/RHSA-2026:11996
- https://access.redhat.com/errata/RHSA-2026:13508
- https://access.redhat.com/errata/RHSA-2026:13512
- https://access.redhat.com/errata/RHSA-2026:13545
- https://access.redhat.com/errata/RHSA-2026:13553
All 31 references
- https://access.redhat.com/errata/RHSA-2026:14835
- https://access.redhat.com/errata/RHSA-2026:14873
- https://access.redhat.com/errata/RHSA-2026:14874
- https://access.redhat.com/errata/RHSA-2026:19375
- https://access.redhat.com/errata/RHSA-2026:21017
- https://access.redhat.com/errata/RHSA-2026:22465
- https://access.redhat.com/errata/RHSA-2026:24853
- https://access.redhat.com/errata/RHSA-2026:48085
- https://access.redhat.com/errata/RHSA-2026:48758
- https://access.redhat.com/errata/RHSA-2026:59153
- https://access.redhat.com/errata/RHSA-2026:7224
- https://access.redhat.com/errata/RHSA-2026:8437
- https://access.redhat.com/security/cve/CVE-2026-27459
- https://advisory.echohq.com/cve/CVE-2026-27459
- https://bugzilla.redhat.com/show_bug.cgi?id=2448503
- https://github.com/pyca/pyopenssl
- https://github.com/pyca/pyopenssl/blob/358cbf29c4e364c59930e53a270116249581eaa3/CHANGELOG.rst
- https://github.com/pyca/pyopenssl/commit/57f09bb4bb051d3bc2a1abd36e9525313d5cd408
- https://github.com/pyca/pyopenssl/security/advisories/GHSA-5pwr-322w-8jr4
- https://nvd.nist.gov/vuln/detail/CVE-2026-27459
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-27459.json
- https://ubuntu.com/security/notices/USN-8115-1
- https://www.cve.org/CVERecord?id=CVE-2026-27459