CVEfocus › CVE database › CVE-2026-107496

CVE-2026-107496Infinite Loop in CMS_encrypt() With an EC Group Order of 1

CVSS 7.5 HighEPSS 0.4% (higher than 26% of CVEs)Published 2026-11-10Updated 2026-11-16Assigner: openssl

Issue summary: Encrypting a CMS message to an EC certificate whose group order is 1 may cause CMS_encrypt() or CMS_encrypt_ex() to loop indefinitely. Impact summary: An attacker able to supply the recipient certificate to an application performing CMS encryption can cause that application to loop indefinitely, consuming CPU and resulting in Denial of Service. CWE: CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop') Description: CMS_encrypt() and CMS_encrypt_ex() encrypt a message to one or more recipient certificates and, for an EC recipient, generate an ephemeral key in the recipient's group. If the certificate declares a group order of 1, random scalar generation can only produce zero. The key generation routine then retries without limit while waiting for a nonzero private scalar, so the call never returns. The OpenSSL TLS and QUIC implementations do not use this path. An application is exposed only if it calls CMS_encrypt() or CMS_encrypt_ex() with a recipient certificate whose EC parameters are attacker-controlled. Certificates with normal EC group orders do not trigger the loop. OpenSSL 4.0 and later reject unknown explicit EC groups in default builds. These versions are affected only when configured with the enable-ec_explicit_curves option. The result is a hang that consumes a CPU core until the process is interrupted, a Denial of Service. The severity is Low because the attacker must supply the recipient certificate and the application must choose to encrypt to it; ordinary CMS encryption to trusted recipients is unaffected. The fix makes EC key generation fail when the group has no valid nonzero private scalar, instead of retrying indefinitely. FIPS impact: no The FIPS modules in 4.1, 4.0, 3.5 and 3.0 are not affected. The FIPS provider does not support arbitrary explicit EC domain parameters, so an order-1 group is rejected during key import before the vulnerable key generation path is reached.

CWE-835

What to do

Fixed builds are available from Alpine: see the table below for the fixed version per release.

Debian, Red Hat, Ubuntu have 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

3Fixed
44Fix pending
7Under investigation
39Not affected

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10edk2Fix pendingUBUNTU-CVE-2026-107496
Ubuntu 26.10edk2-hweFix pendingUBUNTU-CVE-2026-107496
Ubuntu 26.10opensslFix pendingUBUNTU-CVE-2026-107496
Ubuntu 26.04edk2Under investigationUBUNTU-CVE-2026-107496
Ubuntu 26.04edk2-hweUnder investigationUBUNTU-CVE-2026-107496
Ubuntu 26.04nodejsNot affected
vulnerable_code_not_present
Ubuntu 26.04opensslUnder investigationUBUNTU-CVE-2026-107496
Ubuntu 24.04edk2Under investigationUBUNTU-CVE-2026-107496
Ubuntu 24.04nodejsNot affected
vulnerable_code_not_present
Ubuntu 24.04opensslUnder investigationUBUNTU-CVE-2026-107496
Ubuntu 22.04edk2Under investigationUBUNTU-CVE-2026-107496
Ubuntu 22.04nodejsFix pendingUBUNTU-CVE-2026-107496
Ubuntu 22.04opensslUnder investigationUBUNTU-CVE-2026-107496
Ubuntu 20.04edk2Fix pendingUBUNTU-CVE-2026-107496
Ubuntu 20.04opensslFix pendingUBUNTU-CVE-2026-107496
Ubuntu 18.04edk2Fix pendingUBUNTU-CVE-2026-107496
Ubuntu 18.04nodejsFix pendingUBUNTU-CVE-2026-107496
Ubuntu 18.04opensslFix pendingUBUNTU-CVE-2026-107496
Ubuntu 18.04openssl1.0Fix pendingUBUNTU-CVE-2026-107496
Ubuntu 16.04edk2Fix pendingUBUNTU-CVE-2026-107496
Ubuntu 16.04nodejsFix pendingUBUNTU-CVE-2026-107496
Ubuntu 16.04opensslFix pendingUBUNTU-CVE-2026-107496
Ubuntu 14.04opensslFix pendingUBUNTU-CVE-2026-107496
Debian 14opensslFix pendingDEBIAN-CVE-2026-107496
Debian 13opensslFix pendingDEBIAN-CVE-2026-107496
Debian 12opensslFix pendingDEBIAN-CVE-2026-107496
Red Hat Enterprise Linux 10edk2Not affected
Red Hat Enterprise Linux 10edk2-aarch64Not affected
Red Hat Enterprise Linux 10edk2-ovmfNot affected
Red Hat Enterprise Linux 10edk2-toolsNot affected
Red Hat Enterprise Linux 10edk2-tools-docNot affected
Red Hat Enterprise Linux 10mokutilNot affected
Red Hat Enterprise Linux 10opensslFix pending
Affected
Red Hat Enterprise Linux 10openssl-develFix pending
Affected
Red Hat Enterprise Linux 10openssl-libsFix pending
Affected
Red Hat Enterprise Linux 10openssl-perlFix pending
Affected
Red Hat Enterprise Linux 10shim-aa64Not affected
Red Hat Enterprise Linux 10shim-unsigned-aarch64Not affected
Red Hat Enterprise Linux 10shim-unsigned-x64Not affected
Red Hat Enterprise Linux 10shim-x64Not affected
Red Hat Enterprise Linux 9compat-openssl11Fix pending
Affected
Red Hat Enterprise Linux 9edk2Not affected
Red Hat Enterprise Linux 9edk2-aarch64Not affected
Red Hat Enterprise Linux 9edk2-ovmfNot affected
Red Hat Enterprise Linux 9edk2-toolsNot affected
Red Hat Enterprise Linux 9edk2-tools-docNot affected
Red Hat Enterprise Linux 9opensslFix pending
Affected
Red Hat Enterprise Linux 9openssl-develFix pending
Affected
Red Hat Enterprise Linux 9openssl-libsFix pending
Affected
Red Hat Enterprise Linux 9openssl-perlFix pending
Affected
Red Hat Enterprise Linux 9shimNot affected
Red Hat Enterprise Linux 9shim-aa64Not affected
Red Hat Enterprise Linux 9shim-unsigned-aarch64Not affected
Red Hat Enterprise Linux 9shim-unsigned-x64Not affected
Red Hat Enterprise Linux 9shim-x64Not affected
Red Hat Enterprise Linux 8compat-openssl10Fix pending
Affected
Red Hat Enterprise Linux 8edk2Not affected
Red Hat Enterprise Linux 8edk2-aarch64Not affected
Red Hat Enterprise Linux 8edk2-ovmfNot affected
Red Hat Enterprise Linux 8mingw-opensslFix pending
Affected
Red Hat Enterprise Linux 8mingw32-opensslFix pending
Affected
Red Hat Enterprise Linux 8mingw64-opensslFix pending
Affected
Red Hat Enterprise Linux 8opensslFix pending
Affected
Red Hat Enterprise Linux 8openssl-develFix pending
Affected
Red Hat Enterprise Linux 8openssl-libsFix pending
Affected
Red Hat Enterprise Linux 8openssl-perlFix pending
Affected
Red Hat Enterprise Linux 8openssl-staticFix pending
Affected
Red Hat Enterprise Linux 8shimNot affected
Red Hat Enterprise Linux 8shim-aa64Not affected
Red Hat Enterprise Linux 8shim-ia32Not affected
Red Hat Enterprise Linux 8shim-unsigned-aarch64Not affected
Red Hat Enterprise Linux 8shim-unsigned-x64Not affected
Red Hat Enterprise Linux 8shim-x64Not affected
Red Hat Enterprise Linux 7AAVMFNot affected
Red Hat Enterprise Linux 7OVMFNot affected
Red Hat Enterprise Linux 7mokutilNot affected
Red Hat Enterprise Linux 7opensslFix pending
Affected
Red Hat Enterprise Linux 7openssl-develFix pending
Affected
Red Hat Enterprise Linux 7openssl-libsFix pending
Affected
Red Hat Enterprise Linux 7openssl-perlFix pending
Affected
Red Hat Enterprise Linux 7openssl-staticFix pending
Affected
Red Hat Enterprise Linux 7ovmfNot affected
Red Hat Enterprise Linux 7shimNot affected
Red Hat Enterprise Linux 7shim-ia32Not affected
Red Hat Enterprise Linux 7shim-signedNot affected
Red Hat Enterprise Linux 7shim-x64Not affected
Red Hat Enterprise Linux 6opensslFix pending
Affected
Red Hat Enterprise Linux 6openssl-develFix pending
Affected
Red Hat Enterprise Linux 6openssl-perlFix pending
Affected
Red Hat Enterprise Linux 6openssl-staticFix pending
Affected
Alpine Linux 3.24opensslFixed3.5.9-r1ALPINE-CVE-2026-107496
Alpine Linux 3.23opensslFixed3.5.9-r1ALPINE-CVE-2026-107496
Alpine Linux 3.22opensslFixed3.5.9-r1ALPINE-CVE-2026-107496

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.

Vendor advisories:

References

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.