CVE-2025-66199
openssl: OpenSSL: Denial of Service due to excessive memory allocation in TLS 1.3 certificate compression
Overview
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.
Source: OX vulnerability database
Severity
5.9 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness: CWE-789
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Julia | OpenSSL_jll | >=3.5.0+0, <3.5.5+0 | 3.5.5+0 |
Open a package to see all its vulnerabilities.
Operating systems · 43 fixes
Azure Linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.0 | openssl | 0:3.3.5-2.azl3 |
Oracle Linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 9 | openssl +3 | 10:3.5.1-7.0.1.el9_7_fips |
| 9 | openssl +3 | 1:3.5.1-7.0.1.el9_7 |
| 9 | openssl +3 | 2:3.5.1-7.0.1.ksplice1.el9_7 |
Photon OS 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 5.0 | openssl +5 | 3.0.18-2.ph5 |
Red Hat 2 releases · 2 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | jbcs-httpd24-openssl | affected | — |
| 9 | jbcs-httpd24-openssl | affected | — |
| 9 | openssl +3 | 1:3.5.1-7.el9_7 | RHSA-2026:1473 |
SUSE Linux Enterprise 2 releases · 3 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 15.7 | nodejs24 +3 | 24.18.1-150700.15.18.1 | SUSE-SU-2026:3835-1 |
| 15.7 | libopenssl-devel +2 | 3.5.0-150700.3.4.1 | SUSE-SU-2026:3835-1 |
| 15.7 | libopenssl-3-devel +5 | 3.5.0-150700.5.45.2 | SUSE-SU-2026:3835-1 |
| 16.0 | libopenssl-3-devel +6 | 3.5.0-160000.5.1 | SUSE-SU-2026:20223-1 |
SUSE Linux Enterprise Micro 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 6.2 | libopenssl-3-devel +3 | 3.5.0-160000.5.1 | SUSE-SU-2026:20211-1 |
alma 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 9 | openssl +3 | 1:3.5.1-7.el9_7 |
alpine 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | openssl | 3.5.5-r0 |
| 3.23 | openssl | 3.5.5-r0 |
| 3.24 | openssl | 3.5.5-r0 |
| edge | openssl | 3.5.5-r0 |
amazon linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 2023 | openssl +10 | 1:3.2.2-1.amzn2023.0.5 |
chainguard 1 release · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| openssl-provider-fips-3-4-0 +1 | not affected | |
| openssl-3-5 | 3.5.5-r0 | |
| libcrypto3-2-34 +1 | 3.6.1-r0 |
debian 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 13 | openssl | 3.5.4-1~deb13u2 |
| 14 | openssl | 3.5.5-1 |
echo 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| openssl-3-5-0 | 3.5.0+e1 | |
| openssl | 3.5.4-1~deb13u2 |
minimos 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| openssl | 3.5.5-r0 |
openSUSE 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | libopenssl-3-devel +9 | 3.5.3-2.1 | openSUSE-SU-2026:10237-1 |
openSUSE Leap 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 16.0 | libopenssl-3-devel +6 | 3.5.0-160000.5.1 | openSUSE-SU-2026:20152-1 |
rocky 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 10 | openssl +1 | 1:3.5.1-7.el10_1 |
| 9 | openssl +1 | 1:3.5.1-7.el9_7 |
root.io alpine 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.23 | rootio-openssl | 3.5.5-r0 |
seal Red Hat 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 7 | openssl +1 | 1:1.0.2k-25.el7_9+sp999 |
| 7 | openssl +1 | 1:1.0.2k-26.el7_9+sp999 |
| 8 | openssl +1 | 1:1.1.1k-14.el8_6+sp999 |
| 8 | openssl +1 | 1:1.1.1k-6.el8_5+sp999 |
| 9 | openssl +1 | 1:3.2.2-6.el9_5+sp999 |
seal alpine 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| openssl +1 | 3.3.2-r45341999 | |
| openssl | 3.3.3-r000 | |
| seal-openssl | 3.3.3-r053412 |
ubuntu 2 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 22.04 | nodejs | affected |
| 26.04 | openssl | 3.5.5-1ubuntu1 |
wolfi 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| openssl | 3.6.1-r0 |
References
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:1472
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:1473
- access.redhat.com https://access.redhat.com/security/cve/CVE-2025-66199
- bugzilla.redhat.com https://bugzilla.redhat.com/2430375
- bugzilla.redhat.com https://bugzilla.redhat.com/2430376
- bugzilla.redhat.com https://bugzilla.redhat.com/2430377
- bugzilla.redhat.com https://bugzilla.redhat.com/2430378
- bugzilla.redhat.com https://bugzilla.redhat.com/2430379
- bugzilla.redhat.com https://bugzilla.redhat.com/2430380
- bugzilla.redhat.com https://bugzilla.redhat.com/2430381
Show all 53 references
- bugzilla.redhat.com https://bugzilla.redhat.com/2430386
- bugzilla.redhat.com https://bugzilla.redhat.com/2430387
- bugzilla.redhat.com https://bugzilla.redhat.com/2430388
- bugzilla.redhat.com https://bugzilla.redhat.com/2430389
- bugzilla.redhat.com https://bugzilla.redhat.com/2430390
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2430375
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2430376
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2430377
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2430378
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2430379
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2430380
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2430381
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2430386
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2430387
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2430388
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2430389
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2430390
- creativecommons.org https://creativecommons.org/licenses/by/4.0/
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-11187
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-15467
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-15468
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-15469
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-66199
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-68160
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-69418
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-69419
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-69420
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-69421
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-22795
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-22796
- errata.almalinux.org https://errata.almalinux.org/9/ALSA-2026-1473.html
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2026:1472
- github.com https://github.com/advisories/GHSA-5888-36j9-c92p
- github.com https://github.com/openssl/openssl/commit/3ed1f75249932b155eef993a8e66a99cb98bfef4
- github.com https://github.com/openssl/openssl/commit/6184a4fb08ee6d7bca570d931a4e8bef40b64451
- github.com https://github.com/openssl/openssl/commit/895150b5e021d16b52fb32b97e1dd12f20448be5
- github.com https://github.com/openssl/openssl/commit/966a2478046c311ed7dae50c457d0db4cafbf7e4
- linux.oracle.com https://linux.oracle.com/cve/CVE-2025-66199.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2026-50081.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2025-66199
- openssl-library.org https://openssl-library.org/news/secadv/20260127.txt
- ubuntu.com https://ubuntu.com/security/notices/USN-7980-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2025-66199
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.