Skip to content
High 7.5

OpenSSLのCMS_encrypt()に無限ループの脆弱性、DoSのおそれ

CVE-2026-107496 First seen on SecPulse

Summary

OpenSSLでは、CMS_encrypt()などでグループ位数が1のEC証明書を暗号化の宛先に指定すると、処理が終わらなくなるおそれがあります。影響するのは4.1.1より前のOpenSSL 4.1系、4.0.4より前の4.0系、3.5.10より前の3.5系、3.0.24より前の3.0系、1.1.1zk未満、1.0.2zt未満で、修正版が公開されています。攻撃者が宛先の証明書を用意できる環境では、修正版への更新を優先してください。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

OpenSSLでは、CMS_encrypt()などでグループ位数が1のEC証明書を暗号化の宛先に指定すると、処理が終わらなくなるおそれがあります。影響するのは4.1.1より前のOpenSSL 4.1系、4.0.4より前の4.0系、3.5.10より前の3.5系、3.0.24より前の3.0系、1.1.1zk未満、1.0.2zt未満で、修正版が公開されています。攻撃者が宛先の証明書を用意できる環境では、修正版への更新を優先してください。

Affected packages

PackageAffected → Fixed
OpenSSLOpenSSL
≥ 4.1.0, < 4.1.1→ 4.1.1
≥ 4.0.0, < 4.0.4→ 4.0.4
≥ 3.5.0, < 3.5.10→ 3.5.10
≥ 3.0.0, < 3.0.24→ 3.0.24
≥ 1.1.1, < 1.1.1zk→ 1.1.1zk
≥ 1.0.2, < 1.0.2zt→ 1.0.2zt

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

Original description The description as published by the source.

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 t…

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details