CVE-2025-66199TLS 1.3 CompressedCertificate excessive memory allocation
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.
What to do
Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.
Ubuntu 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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | edk2 | Fix pending | UBUNTU-CVE-2025-66199 | |
| Ubuntu 26.10 | edk2-hwe | Fix pending | UBUNTU-CVE-2025-66199 | |
| Ubuntu 26.04 | edk2 | Under investigation | UBUNTU-CVE-2025-66199 | |
| Ubuntu 26.04 | edk2-hwe | Under investigation | UBUNTU-CVE-2025-66199 | |
| Ubuntu 26.04 | nodejs | Not affected vulnerable_code_not_present | ||
| Ubuntu 26.04 | openssl | Fixed | 3.5.5-1ubuntu1 | UBUNTU-CVE-2025-66199 |
| Ubuntu 25.10 | edk2 | Will not fix edk2 in jammy embeds OpenSSL 1.1.1j edk2 in noble embeds OpenSSL 3.0.9 edk2 in plucky embeds OpenSSL 3.4.0 edk2 in questing embeds OpenSSL 3.4.0 3.3.x and… | UBUNTU-CVE-2025-66199 | |
| Ubuntu 25.10 | nodejs | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | openssl | Fixed | 3.5.3-1ubuntu3 | UBUNTU-CVE-2025-66199 |
| Ubuntu 24.04 | edk2 | Under investigation | UBUNTU-CVE-2025-66199 | |
| Ubuntu 24.04 | nodejs | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | openssl | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | edk2 | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | nodejs | Fix pending | UBUNTU-CVE-2025-66199 | |
| Ubuntu 22.04 | openssl | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | nodejs | Fix pending | UBUNTU-CVE-2025-66199 | |
| Ubuntu 16.04 | nodejs | Fix pending | UBUNTU-CVE-2025-66199 | |
| Debian 14 | openssl | Fixed | 3.5.5-1 | DEBIAN-CVE-2025-66199 |
| Debian 13 | openssl | Fixed | 3.5.4-1~deb13u2 | DEBIAN-CVE-2025-66199 |
| Red Hat Enterprise Linux 10 | edk2 | Not affected | ||
| Red Hat Enterprise Linux 10 | edk2-aarch64 | Not affected | ||
| Red Hat Enterprise Linux 10 | edk2-ovmf | Not affected | ||
| Red Hat Enterprise Linux 10 | edk2-tools | Not affected | ||
| Red Hat Enterprise Linux 10 | edk2-tools-doc | Not affected | ||
| Red Hat Enterprise Linux 10 | mokutil | Not affected | ||
| Red Hat Enterprise Linux 10 | openssl | Fixed | 1:3.5.1-7.el10_1 | RHSA-2026:1472 |
| Red Hat Enterprise Linux 10 | openssl-devel | Fixed | 1:3.5.1-7.el10_1 | RHSA-2026:1472 |
| Red Hat Enterprise Linux 10 | openssl-libs | Fixed | 1:3.5.1-7.el10_1 | RHSA-2026:1472 |
| Red Hat Enterprise Linux 10 | openssl-perl | Fixed | 1:3.5.1-7.el10_1 | RHSA-2026:1472 |
| Red Hat Enterprise Linux 10 | shim-aa64 | Not affected | ||
| Red Hat Enterprise Linux 10 | shim-unsigned-aarch64 | Not affected | ||
| Red Hat Enterprise Linux 10 | shim-unsigned-x64 | Not affected | ||
| Red Hat Enterprise Linux 10 | shim-x64 | Not affected | ||
| Red Hat Enterprise Linux 9 | compat-openssl11 | Not affected | ||
| Red Hat Enterprise Linux 9 | edk2 | Not affected | ||
| Red Hat Enterprise Linux 9 | edk2-aarch64 | Not affected | ||
| Red Hat Enterprise Linux 9 | edk2-ovmf | Not affected | ||
| Red Hat Enterprise Linux 9 | edk2-tools | Not affected | ||
| Red Hat Enterprise Linux 9 | edk2-tools-doc | Not affected | ||
| Red Hat Enterprise Linux 9 | openssl | Fixed | 1:3.5.1-7.el9_7 | RHSA-2026:1473 |
| Red Hat Enterprise Linux 9 | openssl-devel | Fixed | 1:3.5.1-7.el9_7 | RHSA-2026:1473 |
| Red Hat Enterprise Linux 9 | openssl-libs | Fixed | 1:3.5.1-7.el9_7 | RHSA-2026:1473 |
| Red Hat Enterprise Linux 9 | openssl-perl | Fixed | 1:3.5.1-7.el9_7 | RHSA-2026:1473 |
| Red Hat Enterprise Linux 9 | shim | Not affected | ||
| Red Hat Enterprise Linux 9 | shim-aa64 | Not affected | ||
| Red Hat Enterprise Linux 9 | shim-unsigned-aarch64 | Not affected | ||
| Red Hat Enterprise Linux 9 | shim-unsigned-x64 | Not affected | ||
| Red Hat Enterprise Linux 9 | shim-x64 | Not affected | ||
| Red Hat Enterprise Linux 8 | compat-openssl10 | Not affected | ||
| Red Hat Enterprise Linux 8 | edk2 | Not affected | ||
| Red Hat Enterprise Linux 8 | edk2-aarch64 | Not affected | ||
| Red Hat Enterprise Linux 8 | edk2-ovmf | Not affected | ||
| Red Hat Enterprise Linux 8 | mingw-openssl | Not affected | ||
| Red Hat Enterprise Linux 8 | mingw32-openssl | Not affected | ||
| Red Hat Enterprise Linux 8 | mingw64-openssl | Not affected | ||
| Red Hat Enterprise Linux 8 | openssl | Not affected | ||
| Red Hat Enterprise Linux 8 | openssl-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | openssl-libs | Not affected | ||
| Red Hat Enterprise Linux 8 | openssl-perl | Not affected | ||
| Red Hat Enterprise Linux 8 | openssl-static | Not affected | ||
| Red Hat Enterprise Linux 8 | shim | Not affected | ||
| Red Hat Enterprise Linux 8 | shim-aa64 | Not affected | ||
| Red Hat Enterprise Linux 8 | shim-ia32 | Not affected | ||
| Red Hat Enterprise Linux 8 | shim-unsigned-x64 | Not affected | ||
| Red Hat Enterprise Linux 8 | shim-x64 | Not affected | ||
| Red Hat Enterprise Linux 7 | AAVMF | Not affected | ||
| Red Hat Enterprise Linux 7 | OVMF | Not affected | ||
| Red Hat Enterprise Linux 7 | openssl | Not affected | ||
| Red Hat Enterprise Linux 7 | openssl-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | openssl-libs | Not affected | ||
| Red Hat Enterprise Linux 7 | openssl-perl | Not affected | ||
| Red Hat Enterprise Linux 7 | openssl-static | Not affected | ||
| Red Hat Enterprise Linux 7 | ovmf | Not affected | ||
| Red Hat Enterprise Linux 6 | openssl | Not affected | ||
| Red Hat Enterprise Linux 6 | openssl-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | openssl-perl | Not affected | ||
| Red Hat Enterprise Linux 6 | openssl-static | Not affected | ||
| AlmaLinux 10 | openssl | Fixed | 1:3.5.1-7.el10_1.alma.1 | ALSA-2026:1472 |
| AlmaLinux 10 | openssl-devel | Fixed | 1:3.5.1-7.el10_1.alma.1 | ALSA-2026:1472 |
| AlmaLinux 10 | openssl-libs | Fixed | 1:3.5.1-7.el10_1.alma.1 | ALSA-2026:1472 |
| AlmaLinux 10 | openssl-perl | Fixed | 1:3.5.1-7.el10_1.alma.1 | ALSA-2026:1472 |
| AlmaLinux 9 | openssl | Fixed | 1:3.5.1-7.el9_7 | ALSA-2026:1473 |
| AlmaLinux 9 | openssl-devel | Fixed | 1:3.5.1-7.el9_7 | ALSA-2026:1473 |
| AlmaLinux 9 | openssl-libs | Fixed | 1:3.5.1-7.el9_7 | ALSA-2026:1473 |
| AlmaLinux 9 | openssl-perl | Fixed | 1:3.5.1-7.el9_7 | ALSA-2026:1473 |
| Rocky Linux 10 | openssl | Fixed | 1:3.5.1-7.el10_1 | RLSA-2026:1472 |
| Rocky Linux 9 | openssl | Fixed | 1:3.5.1-7.el9_7 | RLSA-2026:1473 |
| Alpine Linux 3.24 | openssl | Fixed | 3.5.5-r0 | ALPINE-CVE-2025-66199 |
| Alpine Linux 3.23 | openssl | Fixed | 3.5.5-r0 | ALPINE-CVE-2025-66199 |
| Alpine Linux 3.22 | openssl | Fixed | 3.5.5-r0 | ALPINE-CVE-2025-66199 |
| Alpine Linux 3.21 | openssl | Fixed | 3.3.6-r0 | ALPINE-CVE-2025-66199 |
| Alpine Linux 3.20 | openssl | Fixed | 3.3.6-r0 | ALPINE-CVE-2025-66199 |
What the vendor says
As published in the CVE record by openssl, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- OpenSSL: affected: 3.6.0 to before 3.6.1, 3.5.0 to before 3.5.5, 3.4.0 to before 3.4.4, 3.3.0 to before 3.3.6; fixed in
3.6.1,3.5.5,3.4.4,3.3.6
Vendor advisories:
- https://openssl-library.org/news/secadv/20260127.txt (vendor-advisory)
- https://github.com/openssl/openssl/commit/6184a4fb08ee6d7bca570d931a4e8bef40b64451 (patch)
- https://github.com/openssl/openssl/commit/895150b5e021d16b52fb32b97e1dd12f20448be5 (patch)
- https://github.com/openssl/openssl/commit/966a2478046c311ed7dae50c457d0db4cafbf7e4 (patch)
- https://github.com/openssl/openssl/commit/3ed1f75249932b155eef993a8e66a99cb98bfef4 (patch)
References
- https://openssl-library.org/news/secadv/20260127.txt
- https://github.com/openssl/openssl/commit/6184a4fb08ee6d7bca570d931a4e8bef40b64451
- https://github.com/openssl/openssl/commit/895150b5e021d16b52fb32b97e1dd12f20448be5
- https://github.com/openssl/openssl/commit/966a2478046c311ed7dae50c457d0db4cafbf7e4
- https://github.com/openssl/openssl/commit/3ed1f75249932b155eef993a8e66a99cb98bfef4
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.