Infinite loop in OpenSSL - CVE-2026-107496
Published: November 16, 2026
Vulnerability details
The vulnerability allows a remote attacker to cause a denial of service by making CMS encryption loop indefinitely and consume CPU resources.
The vulnerability exists due to an infinite loop in EC ephemeral key generation invoked by OpenSSL CMS_encrypt() and CMS_encrypt_ex() when a recipient certificate specifies an EC group order of 1. A remote attacker can supply such a certificate to an application that chooses to encrypt to it to make scalar generation repeatedly produce zero and retry without limit, preventing the encryption call from returning.
Default builds of OpenSSL 4.0 and later reject the unknown explicit EC groups needed to reach this issue.