Skip to content

CVE-2025-66199 TLS 1.3 CompressedCertificate excessive memory allocation

MediumCVSS 5.9 EPSS 0.46%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
OpenSSLUbuntuDebianRed Hat

Description

Issue summary: A TLS 1.3 connection using certificate compression can be
forced to allocate a large buffer before decompression without checking
against the configured certificate size limit.

Impact summary: An attacker can cause per-connection memory allocations of
up to approximately 22 MiB and extra CPU work, potentially leading to
service degradation or resource exhaustion (Denial of Service).

In affected configurations, the peer-supplied uncompressed certificate
length from a CompressedCertificate message is used to grow a heap buffer
prior to decompression. This length is not bounded by the max_cert_list
setting, which otherwise constrains certificate message sizes. An attacker
can exploit this to cause large per-connection allocations followed by
handshake failure. No memory corruption or information disclosure occurs.

This issue only affects builds where TLS 1.3 certificate compression is
compiled in (i.e., not OPENSSL_NO_COMP_ALG) and at least one compression
algorithm (brotli, zlib, or zstd) is available, and where the compression
extension is negotiated. Both clients receiving a server CompressedCertificate
and servers in mutual TLS scenarios receiving a client CompressedCertificate
are affected. Servers that do not request client certificates are not
vulnerable to client-initiated attacks.

Users can mitigate this issue by setting SSL_OP_NO_RX_CERTIFICATE_COMPRESSION
to disable receiving compressed certificates.

The FIPS modules in 3.6, 3.5, 3.4 and 3.3 are not affected by this issue,
as the TLS implementation is outside the OpenSSL FIPS module boundary.

OpenSSL 3.6, 3.5, 3.4 and 3.3 are vulnerable to this issue.

OpenSSL 3.0, 1.1.1 and 1.0.2 are not affected by this issue.

Upgrade path

33 packages: 12 fixed, 21 with no fix yet.

PackageAffectedFixed inStatus
azure linux openvmm(Azure Linux 3.0) All versions No fix listed No fix yet
redhat openssl(Red Hat jboss_core_services 1) All versions No fix listed No fix yet
redhat/cert-manager/cert-manager-istio-csr-rhel9:1791459759(Red Hat cert_manager 1.18 el9) All versions No fix listed No fix yet
redhat/cert-manager/cert-manager-operator-bundle:1791966259(Red Hat cert_manager 1.18 el9) All versions No fix listed No fix yet
redhat/cert-manager/cert-manager-operator-rhel9:1789029076(Red Hat cert_manager 1.18 el9) All versions No fix listed No fix yet
redhat/cert-manager/jetstack-cert-manager-acmesolver-rhel9:1791459707(Red Hat cert_manager 1.18 el9) All versions No fix listed No fix yet
redhat/cert-manager/jetstack-cert-manager-rhel9:1791459711(Red Hat cert_manager 1.18 el9) All versions No fix listed No fix yet
redhat/costmanagement/costmanagement-metrics-rhel9-operator:1770836349(Red Hat cost_management 4 el9) All versions No fix listed No fix yet
redhat/discovery/discovery-server-rhel9:1769104765(Red Hat discovery 2 el9) All versions No fix listed No fix yet
redhat/discovery/discovery-ui-rhel9:1769111774(Red Hat discovery 2 el9) All versions No fix listed No fix yet
redhat/insights-proxy/insights-proxy-container-rhel9:1770740405(Red Hat insights_proxy 1.5 el9) All versions No fix listed No fix yet
redhat/rhui5/cds-rhel9:1773670073(Red Hat rhui 5 el9) All versions No fix listed No fix yet
redhat/rhui5/haproxy-rhel9:1773672059(Red Hat rhui 5 el9) All versions No fix listed No fix yet
redhat/rhui5/installer-rhel9:1770646925(Red Hat rhui 5 el9) All versions No fix listed No fix yet
redhat/rhui5/rhua-rhel9:1773670137(Red Hat rhui 5 el9) All versions No fix listed No fix yet
ubuntu/edk2(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/edk2(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/edk2(Ubuntu 26.10) All versions No fix listed No fix yet
ubuntu/edk2-hwe(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/edk2-hwe(Ubuntu 26.10) All versions No fix listed No fix yet
ubuntu/nodejs(Ubuntu 22.04) All versions No fix listed No fix yet
alpine/openssl(Alpine v3.20) >= 3.3.0, < 3.3.6-r0 3.3.6-r0 Fixed
alpine/openssl(Alpine v3.21) >= 3.3.0, < 3.3.6-r0 3.3.6-r0 Fixed
alpine/openssl(Alpine v3.22) >= 3.5.0, < 3.5.5-r0 3.5.5-r0 Fixed
alpine/openssl(Alpine v3.23) >= 3.5.0, < 3.5.5-r0 3.5.5-r0 Fixed
alpine/openssl(Alpine v3.24) >= 3.5.0, < 3.5.5-r0 3.5.5-r0 Fixed
debian/openssl(Debian 13) < 3.5.4-1~deb13u2; = 3.5.1-1; = 3.5.1-1+deb13u1; = 3.5.2-1 +2 more 3.5.4-1~deb13u2 Fixed
debian/openssl(Debian 14) < 3.5.5-1; = 3.5.1-1; = 3.5.2-1; = 3.5.3-1 +5 more 3.5.5-1 Fixed
OpenSSL >= 3.3.0, < 3.3.6; >= 3.4.0, < 3.4.4; >= 3.5.0, < 3.5.5; >= 3.6.0, < 3.6.1 3.3.6, 3.4.4, 3.5.5, 3.6.1 Fixed
redhat openssl(Red Hat enterprise_linux 10.1) < 1:3.5.1-7.el10_1 1:3.5.1-7.el10_1 Fixed

… and 3 more packages.

Affected products

ProductAffected versionsFixed in
azure linux openvmm(Azure Linux:3.0) All versions No fix listed
debian/openssl(Debian:13) < 3.5.4-1~deb13u2 3.5.4-1~deb13u2
debian/openssl(Debian:13) = 3.5.1-1 No fix listed
debian/openssl(Debian:13) = 3.5.1-1+deb13u1 No fix listed
debian/openssl(Debian:13) = 3.5.2-1 No fix listed
debian/openssl(Debian:13) = 3.5.3-1 No fix listed
debian/openssl(Debian:13) = 3.5.4-1~deb13u1 No fix listed
debian/openssl(Debian:14) < 3.5.5-1 3.5.5-1
debian/openssl(Debian:14) = 3.5.1-1 No fix listed
debian/openssl(Debian:14) = 3.5.2-1 No fix listed
debian/openssl(Debian:14) = 3.5.3-1 No fix listed
debian/openssl(Debian:14) = 3.5.4-1 No fix listed
debian/openssl(Debian:14) = 3.5.4-1~deb13u1 No fix listed
debian/openssl(Debian:14) = 3.5.4-1~deb13u2 No fix listed
debian/openssl(Debian:14) = 3.5.5-1~deb13u1 No fix listed
debian/openssl(Debian:14) = 3.5.5-1~deb13u2 No fix listed
OpenSSL >= 3.6.0, < 3.6.1 3.6.1
OpenSSL >= 3.5.0, < 3.5.5 3.5.5
OpenSSL >= 3.4.0, < 3.4.4 3.4.4
OpenSSL >= 3.3.0, < 3.3.6 3.3.6
ubuntu/nodejs(Ubuntu:22.04) All versions No fix listed
redhat openssl(Red Hat:enterprise_linux:10.1) < 1:3.5.1-7.el10_1 1:3.5.1-7.el10_1
redhat openssl(Red Hat:enterprise_linux:9) < 1:3.5.1-7.el9_7 1:3.5.1-7.el9_7
redhat/cert-manager/jetstack-cert-manager-acmesolver-rhel9:1791459707(Red Hat:cert_manager:1.18::el9) All versions No fix listed
redhat/cert-manager/jetstack-cert-manager-rhel9:1791459711(Red Hat:cert_manager:1.18::el9) All versions No fix listed
Show 24 more
ProductAffected versionsFixed in
redhat/cert-manager/cert-manager-istio-csr-rhel9:1791459759(Red Hat:cert_manager:1.18::el9) All versions No fix listed
redhat/cert-manager/cert-manager-operator-rhel9:1789029076(Red Hat:cert_manager:1.18::el9) All versions No fix listed
redhat/cert-manager/cert-manager-operator-bundle:1791966259(Red Hat:cert_manager:1.18::el9) All versions No fix listed
redhat/costmanagement/costmanagement-metrics-rhel9-operator:1770836349(Red Hat:cost_management:4::el9) All versions No fix listed
redhat/discovery/discovery-server-rhel9:1769104765(Red Hat:discovery:2::el9) All versions No fix listed
redhat/discovery/discovery-ui-rhel9:1769111774(Red Hat:discovery:2::el9) All versions No fix listed
redhat/openssl-main(Red Hat:hummingbird:1) < 3.5.6-0.1.hum1 3.5.6-0.1.hum1
redhat/insights-proxy/insights-proxy-container-rhel9:1770740405(Red Hat:insights_proxy:1.5::el9) All versions No fix listed
redhat/rhui5/installer-rhel9:1770646925(Red Hat:rhui:5::el9) All versions No fix listed
redhat/rhui5/cds-rhel9:1773670073(Red Hat:rhui:5::el9) All versions No fix listed
redhat/rhui5/haproxy-rhel9:1773672059(Red Hat:rhui:5::el9) All versions No fix listed
redhat/rhui5/rhua-rhel9:1773670137(Red Hat:rhui:5::el9) All versions No fix listed
redhat openssl(Red Hat:jboss_core_services:1) All versions No fix listed
ubuntu/edk2(Ubuntu:24.04) All versions No fix listed
ubuntu/edk2(Ubuntu:26.04) All versions No fix listed
ubuntu/edk2-hwe(Ubuntu:26.04) All versions No fix listed
ubuntu/openssl(Ubuntu:26.04) < 3.5.5-1ubuntu1 3.5.5-1ubuntu1
ubuntu/edk2(Ubuntu:26.10) All versions No fix listed
ubuntu/edk2-hwe(Ubuntu:26.10) All versions No fix listed
alpine/openssl(Alpine:v3.20) >= 3.3.0, < 3.3.6-r0 3.3.6-r0
alpine/openssl(Alpine:v3.21) >= 3.3.0, < 3.3.6-r0 3.3.6-r0
alpine/openssl(Alpine:v3.22) >= 3.5.0, < 3.5.5-r0 3.5.5-r0
alpine/openssl(Alpine:v3.23) >= 3.5.0, < 3.5.5-r0 3.5.5-r0
alpine/openssl(Alpine:v3.24) >= 3.5.0, < 3.5.5-r0 3.5.5-r0

References