CVE-2026-107496
Awaiting Analysis Awaiting Analysis - Queue

Infinite Loop in OpenSSL CMS Encryption with EC Certificate

Vulnerability report for CVE-2026-107496, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-10

Last updated on: 2026-11-10

Assigner: OpenSSL Software Foundation

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-10
Last Modified
2026-11-10
Generated
2026-11-11
AI Q&A
2026-11-11
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-835 The product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability involves an infinite loop in OpenSSL's CMS_encrypt() function when encrypting to an EC certificate with a group order of 1. The loop occurs during ephemeral key generation because the group order of 1 prevents valid private key generation, causing the function to retry indefinitely. This consumes CPU resources and leads to a Denial of Service.

Detection Guidance

This vulnerability can only be triggered if an application calls CMS_encrypt() or CMS_encrypt_ex() with a recipient certificate whose EC group order is 1. To detect it, inspect applications using OpenSSL for CMS encryption functions and verify recipient certificates do not have EC group order of 1. No direct network detection commands exist as it requires certificate inspection.

Impact Analysis

An attacker could exploit this by providing a specially crafted certificate with an EC group order of 1. If your application uses CMS_encrypt() or CMS_encrypt_ex() with such a certificate, it will hang and consume CPU until interrupted. The impact is limited because the attacker must supply the certificate and the application must choose to encrypt to it.

Mitigation Strategies

Upgrade OpenSSL to patched versions: 4.1.1, 4.0.4, 3.5.10, 3.0.24 (premium support only), 1.1.1zk, or 1.0.2zt. Avoid using EC certificates with group order of 1 in CMS encryption. Ensure enable-ec_explicit_curves is disabled in OpenSSL 4.0+ builds.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-107496. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...