ubuntu-cve-2025-66199
Vulnerability from osv_ubuntu
Published
2026-01-27 00:00
Modified
2026-07-08 20:51
Summary
Details

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.

Severity

{
  "affected": [
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "nodejs",
            "binary_version": "4.2.6~dfsg-1ubuntu4.2+esm3"
          },
          {
            "binary_name": "nodejs-legacy",
            "binary_version": "4.2.6~dfsg-1ubuntu4.2+esm3"
          }
        ],
        "priority_reason": "OpenSSL developers have rated this issue to be low severity"
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:16.04:LTS",
        "name": "nodejs",
        "purl": "pkg:deb/ubuntu/nodejs@4.2.6~dfsg-1ubuntu4.2+esm3?arch=source\u0026distro=esm-apps/xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "0.10.25~dfsg2-2ubuntu1",
        "4.2.2~dfsg-1",
        "4.2.3~dfsg-1",
        "4.2.4~dfsg-1ubuntu1",
        "4.2.4~dfsg-2",
        "4.2.6~dfsg-1ubuntu1",
        "4.2.6~dfsg-1ubuntu4",
        "4.2.6~dfsg-1ubuntu4.1",
        "4.2.6~dfsg-1ubuntu4.2",
        "4.2.6~dfsg-1ubuntu4.2+esm1",
        "4.2.6~dfsg-1ubuntu4.2+esm2",
        "4.2.6~dfsg-1ubuntu4.2+esm3"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "nodejs",
            "binary_version": "8.10.0~dfsg-2ubuntu0.4+esm6"
          }
        ],
        "priority_reason": "OpenSSL developers have rated this issue to be low severity"
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:18.04:LTS",
        "name": "nodejs",
        "purl": "pkg:deb/ubuntu/nodejs@8.10.0~dfsg-2ubuntu0.4+esm6?arch=source\u0026distro=esm-apps/bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "6.11.4~dfsg-1ubuntu1",
        "6.11.4~dfsg-1ubuntu2",
        "6.12.0~dfsg-1ubuntu1",
        "6.12.0~dfsg-2ubuntu1",
        "6.12.0~dfsg-2ubuntu2",
        "8.10.0~dfsg-2",
        "8.10.0~dfsg-2ubuntu0.2",
        "8.10.0~dfsg-2ubuntu0.3",
        "8.10.0~dfsg-2ubuntu0.4",
        "8.10.0~dfsg-2ubuntu0.4+esm1",
        "8.10.0~dfsg-2ubuntu0.4+esm2",
        "8.10.0~dfsg-2ubuntu0.4+esm3",
        "8.10.0~dfsg-2ubuntu0.4+esm4",
        "8.10.0~dfsg-2ubuntu0.4+esm5",
        "8.10.0~dfsg-2ubuntu0.4+esm6"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libnode72",
            "binary_version": "12.22.9~dfsg-1ubuntu3.6+esm2"
          },
          {
            "binary_name": "nodejs",
            "binary_version": "12.22.9~dfsg-1ubuntu3.6+esm2"
          }
        ],
        "priority_reason": "OpenSSL developers have rated this issue to be low severity"
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:22.04:LTS",
        "name": "nodejs",
        "purl": "pkg:deb/ubuntu/nodejs@12.22.9~dfsg-1ubuntu3.6+esm2?arch=source\u0026distro=esm-apps/jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "12.22.5~dfsg-5ubuntu1",
        "12.22.7~dfsg-2ubuntu1",
        "12.22.7~dfsg-2ubuntu3",
        "12.22.9~dfsg-1ubuntu2",
        "12.22.9~dfsg-1ubuntu3",
        "12.22.9~dfsg-1ubuntu3.1",
        "12.22.9~dfsg-1ubuntu3.2",
        "12.22.9~dfsg-1ubuntu3.3",
        "12.22.9~dfsg-1ubuntu3.4",
        "12.22.9~dfsg-1ubuntu3.5",
        "12.22.9~dfsg-1ubuntu3.6",
        "12.22.9~dfsg-1ubuntu3.6+esm2"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "efi-shell-aa64",
            "binary_version": "2024.02-2ubuntu0.9"
          },
          {
            "binary_name": "efi-shell-arm",
            "binary_version": "2024.02-2ubuntu0.9"
          },
          {
            "binary_name": "efi-shell-ia32",
            "binary_version": "2024.02-2ubuntu0.9"
          },
          {
            "binary_name": "efi-shell-riscv64",
            "binary_version": "2024.02-2ubuntu0.9"
          },
          {
            "binary_name": "efi-shell-x64",
            "binary_version": "2024.02-2ubuntu0.9"
          },
          {
            "binary_name": "ovmf",
            "binary_version": "2024.02-2ubuntu0.9"
          },
          {
            "binary_name": "ovmf-ia32",
            "binary_version": "2024.02-2ubuntu0.9"
          },
          {
            "binary_name": "ovmf-legacy",
            "binary_version": "2024.02-2ubuntu0.9"
          },
          {
            "binary_name": "qemu-efi-aarch64",
            "binary_version": "2024.02-2ubuntu0.9"
          },
          {
            "binary_name": "qemu-efi-arm",
            "binary_version": "2024.02-2ubuntu0.9"
          },
          {
            "binary_name": "qemu-efi-riscv64",
            "binary_version": "2024.02-2ubuntu0.9"
          }
        ],
        "priority_reason": "OpenSSL developers have rated this issue to be low severity"
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "edk2",
        "purl": "pkg:deb/ubuntu/edk2@2024.02-2ubuntu0.9?arch=source\u0026distro=noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2023.05-2",
        "2023.11-2",
        "2023.11-3",
        "2023.11-4",
        "2023.11-5",
        "2023.11-6",
        "2023.11-8",
        "2024.02-1",
        "2024.02-2",
        "2024.02-2ubuntu0.1",
        "2024.02-2ubuntu0.3",
        "2024.02-2ubuntu0.4",
        "2024.02-2ubuntu0.5",
        "2024.02-2ubuntu0.6",
        "2024.02-2ubuntu0.7",
        "2024.02-2ubuntu0.8",
        "2024.02-2ubuntu0.9"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "efi-shell-aa64",
            "binary_version": "2025.02-8ubuntu3.2"
          },
          {
            "binary_name": "efi-shell-arm",
            "binary_version": "2025.02-8ubuntu3.2"
          },
          {
            "binary_name": "efi-shell-ia32",
            "binary_version": "2025.02-8ubuntu3.2"
          },
          {
            "binary_name": "efi-shell-loongarch64",
            "binary_version": "2025.02-8ubuntu3.2"
          },
          {
            "binary_name": "efi-shell-riscv64",
            "binary_version": "2025.02-8ubuntu3.2"
          },
          {
            "binary_name": "efi-shell-x64",
            "binary_version": "2025.02-8ubuntu3.2"
          },
          {
            "binary_name": "ovmf",
            "binary_version": "2025.02-8ubuntu3.2"
          },
          {
            "binary_name": "ovmf-ia32",
            "binary_version": "2025.02-8ubuntu3.2"
          },
          {
            "binary_name": "ovmf-inteltdx",
            "binary_version": "2025.02-8ubuntu3.2"
          },
          {
            "binary_name": "ovmf-legacy",
            "binary_version": "2025.02-8ubuntu3.2"
          },
          {
            "binary_name": "qemu-efi-aarch64",
            "binary_version": "2025.02-8ubuntu3.2"
          },
          {
            "binary_name": "qemu-efi-arm",
            "binary_version": "2025.02-8ubuntu3.2"
          },
          {
            "binary_name": "qemu-efi-loongarch64",
            "binary_version": "2025.02-8ubuntu3.2"
          },
          {
            "binary_name": "qemu-efi-riscv64",
            "binary_version": "2025.02-8ubuntu3.2"
          }
        ],
        "priority_reason": "OpenSSL developers have rated this issue to be low severity"
      },
      "package": {
        "ecosystem": "Ubuntu:25.10",
        "name": "edk2",
        "purl": "pkg:deb/ubuntu/edk2@2025.02-8ubuntu3.2?arch=source\u0026distro=questing"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2025.02-3ubuntu2",
        "2025.02-8",
        "2025.02-8ubuntu1",
        "2025.02-8ubuntu2",
        "2025.02-8ubuntu3",
        "2025.02-8ubuntu3.1",
        "2025.02-8ubuntu3.2"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "libssl3t64",
            "binary_version": "3.5.3-1ubuntu3"
          },
          {
            "binary_name": "openssl",
            "binary_version": "3.5.3-1ubuntu3"
          },
          {
            "binary_name": "openssl-provider-legacy",
            "binary_version": "3.5.3-1ubuntu3"
          }
        ],
        "priority_reason": "OpenSSL developers have rated this issue to be low severity"
      },
      "package": {
        "ecosystem": "Ubuntu:25.10",
        "name": "openssl",
        "purl": "pkg:deb/ubuntu/openssl@3.5.3-1ubuntu3?arch=source\u0026distro=questing"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.5.3-1ubuntu3"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.4.1-1ubuntu3",
        "3.5.0-2ubuntu1",
        "3.5.2-1ubuntu1",
        "3.5.3-1ubuntu2"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "efi-shell-aa64",
            "binary_version": "2025.11-3ubuntu7"
          },
          {
            "binary_name": "efi-shell-loongarch64",
            "binary_version": "2025.11-3ubuntu7"
          },
          {
            "binary_name": "efi-shell-riscv64",
            "binary_version": "2025.11-3ubuntu7"
          },
          {
            "binary_name": "efi-shell-x64",
            "binary_version": "2025.11-3ubuntu7"
          },
          {
            "binary_name": "ovmf",
            "binary_version": "2025.11-3ubuntu7"
          },
          {
            "binary_name": "ovmf-amdsev",
            "binary_version": "2025.11-3ubuntu7"
          },
          {
            "binary_name": "ovmf-generic",
            "binary_version": "2025.11-3ubuntu7"
          },
          {
            "binary_name": "ovmf-inteltdx",
            "binary_version": "2025.11-3ubuntu7"
          },
          {
            "binary_name": "ovmf-legacy",
            "binary_version": "2025.11-3ubuntu7"
          },
          {
            "binary_name": "qemu-efi-aarch64",
            "binary_version": "2025.11-3ubuntu7"
          },
          {
            "binary_name": "qemu-efi-loongarch64",
            "binary_version": "2025.11-3ubuntu7"
          },
          {
            "binary_name": "qemu-efi-riscv64",
            "binary_version": "2025.11-3ubuntu7"
          }
        ],
        "priority_reason": "OpenSSL developers have rated this issue to be low severity"
      },
      "package": {
        "ecosystem": "Ubuntu:26.04:LTS",
        "name": "edk2",
        "purl": "pkg:deb/ubuntu/edk2@2025.11-3ubuntu7?arch=source\u0026distro=resolute"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2025.02-8ubuntu3",
        "2025.11-3ubuntu6",
        "2025.11-3ubuntu7"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "libssl3t64",
            "binary_version": "3.5.5-1ubuntu1"
          },
          {
            "binary_name": "openssl",
            "binary_version": "3.5.5-1ubuntu1"
          },
          {
            "binary_name": "openssl-provider-legacy",
            "binary_version": "3.5.5-1ubuntu1"
          }
        ],
        "priority_reason": "OpenSSL developers have rated this issue to be low severity"
      },
      "package": {
        "ecosystem": "Ubuntu:26.04:LTS",
        "name": "openssl",
        "purl": "pkg:deb/ubuntu/openssl@3.5.5-1ubuntu1?arch=source\u0026distro=resolute"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.5.5-1ubuntu1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.5.3-1ubuntu2"
      ]
    }
  ],
  "aliases": [],
  "details": "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.",
  "id": "UBUNTU-CVE-2025-66199",
  "modified": "2026-07-08T20:51:48Z",
  "published": "2026-01-27T00:00:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2025-66199"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2025-66199"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-7980-1"
    }
  ],
  "related": [
    "USN-7980-1"
  ],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "low",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2025-66199"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…