Vulnerability · Published Jan 27, 2026 · Assigned by openssl

CVE-2025-66199TLS 1.3 CompressedCertificate excessive memory allocation

Medium 5.9

In plain English

A medium-severity security flaw in OpenSSL from OpenSSL. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 40% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.9Medium
Exploit odds (30 days)0.5%top 59.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:10openssl1:3.5.1-7.el10_1.alma.1ALSA-2026:1472
AlmaLinux:9openssl1:3.5.1-7.el9_7ALSA-2026:1473
AlmaLinux:10openssl-devel1:3.5.1-7.el10_1.alma.1ALSA-2026:1472
AlmaLinux:9openssl-devel1:3.5.1-7.el9_7ALSA-2026:1473
AlmaLinux:10openssl-libs1:3.5.1-7.el10_1.alma.1ALSA-2026:1472
AlmaLinux:9openssl-libs1:3.5.1-7.el9_7ALSA-2026:1473
AlmaLinux:10openssl-perl1:3.5.1-7.el10_1.alma.1ALSA-2026:1472
AlmaLinux:9openssl-perl1:3.5.1-7.el9_7ALSA-2026:1473
Alpine:v3.20openssl3.3.6-r0ALPINE-CVE-2025-66199
Alpine:v3.21openssl3.3.6-r0ALPINE-CVE-2025-66199
Alpine:v3.22openssl3.5.5-r0ALPINE-CVE-2025-66199
Alpine:v3.23openssl3.5.5-r0ALPINE-CVE-2025-66199
Alpine:v3.24openssl3.5.5-r0ALPINE-CVE-2025-66199
Debian:13openssl3.5.4-1~deb13u2DEBIAN-CVE-2025-66199
Debian:14openssl3.5.5-1DEBIAN-CVE-2025-66199
Rocky Linux:10openssl1:3.5.1-7.el10_1RLSA-2026:1472
Rocky Linux:9openssl1:3.5.1-7.el9_7RLSA-2026:1473
Ubuntu:24.04:LTSedk2no fix listedUBUNTU-CVE-2025-66199
Ubuntu:25.10edk2no fix listedUBUNTU-CVE-2025-66199
Ubuntu:26.04:LTSedk2no fix listedUBUNTU-CVE-2025-66199
Ubuntu:26.10edk2no fix listedUBUNTU-CVE-2025-66199
Ubuntu:26.04:LTSedk2-hweno fix listedUBUNTU-CVE-2025-66199
Ubuntu:26.10edk2-hweno fix listedUBUNTU-CVE-2025-66199
Ubuntu:22.04:LTSopenssl3.0.2-0ubuntu1.21USN-7980-1
Ubuntu:24.04:LTSopenssl3.0.13-0ubuntu3.7USN-7980-1
Ubuntu:25.10openssl3.5.3-1ubuntu3UBUNTU-CVE-2025-66199
Ubuntu:25.10openssl3.5.3-1ubuntu3USN-7980-1
Ubuntu:26.04:LTSopenssl3.5.5-1ubuntu1UBUNTU-CVE-2025-66199

Affected products (as reported)

VendorProductVersions
OpenSSL OpenSSL 3.6.0 – before 3.6.13.5.0 – before 3.5.53.4.0 – before 3.4.43.3.0 – before 3.3.6

Weakness: CWE-789 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

References